Unlimited towers , what code to change ?
- CelticCrusader
- Dragoon
- Posts: 314
- Joined: Dec 3, 2015
- ESO: CelticCrusader
- Location: Sheep Land
Unlimited towers , what code to change ?
There is someone on the steam forum wanting to know how to do this, I know its possible as I played some mod years ago with unlimited build limits. Also can you make forts buildable ? Can any of you coders help out?
Re: Unlimited towers , what code to change ?
<BuildLimit>7</BuildLimit>
You'd remove this line in the protoy.xml file. It's under outpost (Unit ID 429)
If you wanted to make a fort buildable, you could use the same code as used for the Russian musketeer fort card.
<Tech name ='HCXPNationalRedoubt' type ='Normal'>
<DBID>3461</DBID>
<DisplayNameID>47084</DisplayNameID>
<Cost resourcetype ='Ships'>1.0000</Cost>
<ResearchPoints>40.0000</ResearchPoints>
<Status>UNOBTAINABLE</Status>
<Icon>ui\techs\native\Factory_Blueprints</Icon>
<RolloverTextID>47083</RolloverTextID>
<Flag>HomeCity</Flag>
<Effects>
<Effect type ='Data' action ='Build' amount ='1.00' subtype ='ActionEnable' relativity ='Absolute'>
<Target type ='ProtoUnit'>Musketeer</Target></Effect>
<Effect type ='TextOutput'>47086</Effect>
<Effect type ='Data' amount ='1.00' subtype ='AddTrain' unittype ='FortFrontier' relativity ='Absolute'>
<Target type ='ProtoUnit'>Musketeer</Target></Effect>
<Effect type ='Data' amount ='1.00' subtype ='BuildLimit' relativity ='Absolute'>
<Target type ='ProtoUnit'>FortFrontier</Target></Effect>
</Effects>
</Tech>
You'd remove this line in the protoy.xml file. It's under outpost (Unit ID 429)
If you wanted to make a fort buildable, you could use the same code as used for the Russian musketeer fort card.
<Tech name ='HCXPNationalRedoubt' type ='Normal'>
<DBID>3461</DBID>
<DisplayNameID>47084</DisplayNameID>
<Cost resourcetype ='Ships'>1.0000</Cost>
<ResearchPoints>40.0000</ResearchPoints>
<Status>UNOBTAINABLE</Status>
<Icon>ui\techs\native\Factory_Blueprints</Icon>
<RolloverTextID>47083</RolloverTextID>
<Flag>HomeCity</Flag>
<Effects>
<Effect type ='Data' action ='Build' amount ='1.00' subtype ='ActionEnable' relativity ='Absolute'>
<Target type ='ProtoUnit'>Musketeer</Target></Effect>
<Effect type ='TextOutput'>47086</Effect>
<Effect type ='Data' amount ='1.00' subtype ='AddTrain' unittype ='FortFrontier' relativity ='Absolute'>
<Target type ='ProtoUnit'>Musketeer</Target></Effect>
<Effect type ='Data' amount ='1.00' subtype ='BuildLimit' relativity ='Absolute'>
<Target type ='ProtoUnit'>FortFrontier</Target></Effect>
</Effects>
</Tech>
~StandardOfUr
https://www.moddb.com/mods/age-of-empires-hd-edition
https://www.moddb.com/mods/age-of-empires-hd-edition
- CelticCrusader
- Dragoon
- Posts: 314
- Joined: Dec 3, 2015
- ESO: CelticCrusader
- Location: Sheep Land
Re: Unlimited towers , what code to change ?
yohomes wrote:<BuildLimit>7</BuildLimit>
You'd remove this line in the protoy.xml file. It's under outpost (Unit ID 429)
If you wanted to make a fort buildable, you could use the same code as used for the Russian musketeer fort card.
<Tech name ='HCXPNationalRedoubt' type ='Normal'>
<DBID>3461</DBID>
<DisplayNameID>47084</DisplayNameID>
<Cost resourcetype ='Ships'>1.0000</Cost>
<ResearchPoints>40.0000</ResearchPoints>
<Status>UNOBTAINABLE</Status>
<Icon>ui\techs\native\Factory_Blueprints</Icon>
<RolloverTextID>47083</RolloverTextID>
<Flag>HomeCity</Flag>
<Effects>
<Effect type ='Data' action ='Build' amount ='1.00' subtype ='ActionEnable' relativity ='Absolute'>
<Target type ='ProtoUnit'>Musketeer</Target></Effect>
<Effect type ='TextOutput'>47086</Effect>
<Effect type ='Data' amount ='1.00' subtype ='AddTrain' unittype ='FortFrontier' relativity ='Absolute'>
<Target type ='ProtoUnit'>Musketeer</Target></Effect>
<Effect type ='Data' amount ='1.00' subtype ='BuildLimit' relativity ='Absolute'>
<Target type ='ProtoUnit'>FortFrontier</Target></Effect>
</Effects>
</Tech>
Thanks a lot.
Who is online
Users browsing this forum: No registered users and 3 guests