STAR WARS™ Empire at War: Gold Pack

STAR WARS™ Empire at War: Gold Pack

Question about editing XML-files (Instant Build)
I already know that you can change the build time for units and structures through editing the XML-files , but this can be quite time consuming as it requires us to change every single unit/building. My question is now; is there any way to change the general build time (maybe by adding some line in Difficultyadjustments.xml ?).
If you know how to achieve this please let me know. Thank you in advance!
Originally posted by Grand Admiral Uehara:
There is another easy way to make this work. You can give a hero a passive ability that reduces build time to near instant. You can also give a hero a passive ability that reduces costs to almost nothing. I'll give an example.

<Abilities SubObjectList="Yes">

<Reduce_Production_Price_Ability Name="Emperor_Reduce_Production_Price">
<Unit_Strength_Category />
<Applicable_Unit_Categories>All</Applicable_Unit_Categories>
<Applicable_Unit_Types />
<Price_Reduction_Percentage>0.999</Price_Reduction_Percentage>
<Stacking_Category>0</Stacking_Category>
<Galaxy_Wide> No </Galaxy_Wide>
</Reduce_Production_Price_Ability>

<Reduce_Production_Time_Ability Name="Emperor_Reduce_Production_Time">
<Unit_Strength_Category />
<Applicable_Unit_Categories> All </Applicable_Unit_Categories>
<Applicable_Unit_Types />
<Excluded_Unit_Types></Excluded_Unit_Types>
<Time_Reduction_Percentage>0.999</Time_Reduction_Percentage>
<Stacking_Category>9</Stacking_Category>
<Galaxy_Wide> No </Galaxy_Wide>
</Reduce_Production_Time_Ability>

</Abilities>

The two abilities above essentially make everything at the planet the hero is at cost around 1 credit and take around 1 second to build. It's very useful when you need to test stuff out in a mod and don't want to wait for unit build times and costs.
< >
Showing 1-9 of 9 comments
Nikomer Mar 28, 2018 @ 1:28pm 
I believe DifficultyAdjustments.xml only affects AI. Your best bet is to do a find all & replace using a powerful editor like Notepad++ to find all:
<Build_Time_Seconds>75</Build_Time_Seconds>
and replace with:
<Build_Time_Seconds>1</Build_Time_Seconds>
I'm not sure if 0 seconds will work but you're welcome to try.
Thanks for the quick reply Nikomer!
Yeah I already knew this method but I hoped there was a way to avoid this method.
Too sad we cannot add a line in DifficultyAdjustments.xml which affects the player and the AI.
Thanks anyways!
Nikomer Mar 28, 2018 @ 2:53pm 
Like I said, if you do a find all & replace in Notepad++, it should probably take all of 30 seconds to do.
Galyana Mar 28, 2018 @ 9:54pm 
You can try adjusting the value of this tag in GameConstants.xml

<!--This entry can be used to artificially make build times faster in tactical mode when debugging.--> <Tactical_Build_Time_Multiplier>1.0</Tactical_Build_Time_Multiplier>

Setting it to say 0.001 may get you the result you want but I've personally never used it.
The author of this thread has indicated that this post answers the original topic.
There is another easy way to make this work. You can give a hero a passive ability that reduces build time to near instant. You can also give a hero a passive ability that reduces costs to almost nothing. I'll give an example.

<Abilities SubObjectList="Yes">

<Reduce_Production_Price_Ability Name="Emperor_Reduce_Production_Price">
<Unit_Strength_Category />
<Applicable_Unit_Categories>All</Applicable_Unit_Categories>
<Applicable_Unit_Types />
<Price_Reduction_Percentage>0.999</Price_Reduction_Percentage>
<Stacking_Category>0</Stacking_Category>
<Galaxy_Wide> No </Galaxy_Wide>
</Reduce_Production_Price_Ability>

<Reduce_Production_Time_Ability Name="Emperor_Reduce_Production_Time">
<Unit_Strength_Category />
<Applicable_Unit_Categories> All </Applicable_Unit_Categories>
<Applicable_Unit_Types />
<Excluded_Unit_Types></Excluded_Unit_Types>
<Time_Reduction_Percentage>0.999</Time_Reduction_Percentage>
<Stacking_Category>9</Stacking_Category>
<Galaxy_Wide> No </Galaxy_Wide>
</Reduce_Production_Time_Ability>

</Abilities>

The two abilities above essentially make everything at the planet the hero is at cost around 1 credit and take around 1 second to build. It's very useful when you need to test stuff out in a mod and don't want to wait for unit build times and costs.
Wow awesome, thank you very much!
Bob_Semple_Tank Dec 7, 2019 @ 3:16am 
Originally posted by Grand Admiral Uehara:
There is another easy way to make this work. You can give a hero a passive ability that reduces build time to near instant. You can also give a hero a passive ability that reduces costs to almost nothing. I'll give an example.

<Abilities SubObjectList="Yes">

<Reduce_Production_Price_Ability Name="Emperor_Reduce_Production_Price">
<Unit_Strength_Category />
<Applicable_Unit_Categories>All</Applicable_Unit_Categories>
<Applicable_Unit_Types />
<Price_Reduction_Percentage>0.999</Price_Reduction_Percentage>
<Stacking_Category>0</Stacking_Category>
<Galaxy_Wide> No </Galaxy_Wide>
</Reduce_Production_Price_Ability>

<Reduce_Production_Time_Ability Name="Emperor_Reduce_Production_Time">
<Unit_Strength_Category />
<Applicable_Unit_Categories> All </Applicable_Unit_Categories>
<Applicable_Unit_Types />
<Excluded_Unit_Types></Excluded_Unit_Types>
<Time_Reduction_Percentage>0.999</Time_Reduction_Percentage>
<Stacking_Category>9</Stacking_Category>
<Galaxy_Wide> No </Galaxy_Wide>
</Reduce_Production_Time_Ability>

</Abilities>

The two abilities above essentially make everything at the planet the hero is at cost around 1 credit and take around 1 second to build. It's very useful when you need to test stuff out in a mod and don't want to wait for unit build times and costs.

I've added this passive ability and I can say it works! but I've tried the 'Galaxy_Wide' on yes and it doesn't work... is it actually possible to make this ability galaxy wide? if so that would be excellent for RPing in galactic conquest mode.
Lupus Jan 19, 2024 @ 7:01am 
do u know what command use to edit all at same time line build time in seconds for egzample 75 and 30 to turne them at same time into 1
AgentNutella May 3, 2024 @ 12:11am 
Originally posted by Grand Admiral Uehara:
There is another easy way to make this work. You can give a hero a passive ability that reduces build time to near instant. You can also give a hero a passive ability that reduces costs to almost nothing. I'll give an example.

<Abilities SubObjectList="Yes">

<Reduce_Production_Price_Ability Name="Emperor_Reduce_Production_Price">
<Unit_Strength_Category />
<Applicable_Unit_Categories>All</Applicable_Unit_Categories>
<Applicable_Unit_Types />
<Price_Reduction_Percentage>0.999</Price_Reduction_Percentage>
<Stacking_Category>0</Stacking_Category>
<Galaxy_Wide> No </Galaxy_Wide>
</Reduce_Production_Price_Ability>

<Reduce_Production_Time_Ability Name="Emperor_Reduce_Production_Time">
<Unit_Strength_Category />
<Applicable_Unit_Categories> All </Applicable_Unit_Categories>
<Applicable_Unit_Types />
<Excluded_Unit_Types></Excluded_Unit_Types>
<Time_Reduction_Percentage>0.999</Time_Reduction_Percentage>
<Stacking_Category>9</Stacking_Category>
<Galaxy_Wide> No </Galaxy_Wide>
</Reduce_Production_Time_Ability>

</Abilities>

The two abilities above essentially make everything at the planet the hero is at cost around 1 credit and take around 1 second to build. It's very useful when you need to test stuff out in a mod and don't want to wait for unit build times and costs.



I tried to use that on the xml of a modded vader (Empire At War Remake 4.0 - "Units_Hero_Empire_Darth_Vader.xml") but it doesnt work. Could you show me how to do it?
< >
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: Mar 28, 2018 @ 11:04am
Posts: 9