Jump to content

Wandering Gaia soldiers


Perzival12
 Share

Recommended Posts

Add something like this to the unit template:


 

  <UnitAI>
    <DefaultStance>violent</DefaultStance>
    <RoamDistance>8.0</RoamDistance>
    <RoamTimeMin>2000</RoamTimeMin>
    <RoamTimeMax>8000</RoamTimeMax>
    <FeedTimeMin>15000</FeedTimeMin>
    <FeedTimeMax>60000</FeedTimeMax>
    <Formations disable=""/>
  </UnitAI>

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Okay, so I figured it out (kinda) my current way is:

First, copy the file that you want to wander into templates/gaia. Otherwise, your trainable units will wander and be uncontrollable. Then, edit the file like this:

1: Change the template at the top of the file to templates_units_fauna_wild_aggressive.

2: Add the movement speeds, armor, damage, generic names, health, vision, and all the other stats of the unit that the original template was defining.

3: Add to the Classes: Human and Organic. Add to the VisibleClasses: Melee.

4: Add what wowgetoffyourcellphone posted above, right above your Promotion data. Add Loot and ResourceGatherer disable=“”.

If you want the unit to be nonviolent, make the template be templates_units_fauna_wild_passive. Also, make sure you say wild and not hunt, or food can be gathered from downed AI soldiers.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...