Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue Apr 23, 2024 6:01 pm
All times are UTC + 0
SlaughterHordeContain problems
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Wed Sep 25, 2013 6:33 pm    Post subject:  SlaughterHordeContain problems
Subject description: Solved!
Reply with quote  Mark this post and the followings unread

I added a 'SlaughterHordeContain' to the Nod crane to mimic the RA3 Soviet crane (I added 'GARRISON' & 'GARRISON_UNTIL_DESTROYED' kindOf's).
Everything works except that you do not get money for the destroyed vehicles.

Is there a something extra that I have to add somewhere?, or does it just not work?

Code:
<SlaughterHordeContain id="ModuleTag_SlaughterHordeContain" CashBackPercent="75" ResetInitialTeamOnCapture="true" ContainMax="999" AllowAlliesInside="true" AllowEnemiesInside="false" AllowNeutralInside="false" AllowOwnPlayerInsideOverride="true" MobileGarrison="false" ImmuneToClearBuildingAttacks="true" ObjectStatusOfContained="UNSELECTABLE ENCLOSED">
        <PassengerFilter Rule="ANY" Relationship="SAME_PLAYER" Include="VEHICLE HUGE_VEHICLE" Exclude="AIRCRAFT" />
        <CanAlwaysEnterObjectFilter Rule="ANY" Relationship="SAME_PLAYER" Include="VEHICLE HUGE_VEHICLE" Exclude="AIRCRAFT"></CanAlwaysEnterObjectFilter>
      </SlaughterHordeContain>


PS: This code was based of aspects of the Kane's Wrath epic units.

Last edited by Madin on Wed Sep 25, 2013 9:39 pm; edited 1 time in total

Back to top
View user's profile Send private message
Bibber
Disk Thrower


Joined: 31 Aug 2007
Location: Germany

PostPosted: Wed Sep 25, 2013 8:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

You need to add a BountyValue to the vehicles. Thats the money you get when you slaughter them.

_________________

Last edited by Bibber on Thu Sep 26, 2013 6:02 pm; edited 1 time in total

Back to top
View user's profile Send private message Visit poster's website
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Wed Sep 25, 2013 9:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

Bibber wrote:
You need te add a BountyValue to the vehicles. Thats the money you get when you slaughter them.

Thanks for the information!

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1379s ][ Queries: 11 (0.0088s) ][ Debug on ]