Is there another way to give everyone a scout and disable warrior starts?

hitom

Chieftain
Joined
Aug 12, 2016
Messages
4
I am trying to create my own mod, however i came across an interesting problem.

I have no other mods activated only this.

Code:
<Eras>		
  <Update>
   <Where Type="ERA_ANCIENT"/>
   <Set>
    <StartingDefenseUnits>0</StartingDefenseUnits>
    <StartingExploreUnits>1</StartingExploreUnits>
   </Set>
  </Update>
</Eras>	
    	
<Units>	
  <Update>
   <Where Type="UNIT_SCOUT"/>
   <Set>
    <Moves>4</Moves>			
   </Set>
  </Update>
</Units>
For some reason, with this code, i and everyone else spawn with a single Warrior, instead of a Scout.

But if i comment the part out where i edit the scout's movement, it works fine and i spawn without warriors with one scout, exactly how i wanted. What can i do about this?

Is there another way to give everyone a scout and disable warrior starts?
 
You really need to post the mod itself (as it is, broken and all) taken directly from the game's MODS folder, as instructed in this tutorial: whoward69's zip your mods and attach tutorial.

If you have not done so you should also enable error logging and look particularly in the Database.log for the error that is most likely in the actual code of your actual xml-file. Here is the tutorial on how to enable error logging: whoward69's enable error logging tutorial
 
Top Bottom