Unlimited towers , what code to change ?

Here you can post about your scenario's, mods, custom maps and YouTube channels!
User avatar
Wales CelticCrusader
Dragoon
Posts: 314
Joined: Dec 3, 2015
ESO: CelticCrusader
Location: Sheep Land

Unlimited towers , what code to change ?

Post by CelticCrusader »

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?
User avatar
No Flag yohomes
Musketeer
Posts: 85
Joined: Apr 4, 2015

Re: Unlimited towers , what code to change ?

Post by yohomes »

<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>
User avatar
Wales CelticCrusader
Dragoon
Posts: 314
Joined: Dec 3, 2015
ESO: CelticCrusader
Location: Sheep Land

Re: Unlimited towers , what code to change ?

Post by CelticCrusader »

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 7 guests

Which top 10 players do you wish to see listed?

All-time

Active last two weeks

Active last month

Supremacy

Treaty

Official

ESOC Patch

Treaty Patch

1v1 Elo

2v2 Elo

3v3 Elo

Power Rating

Which streams do you wish to see listed?

Twitch

Age of Empires III

Age of Empires IV