How do prevent units from being upgrading via XML modding?

Immortal Ace

Prince
Joined
Mar 25, 2006
Messages
366
Location
Kissimmee, Florida
I want to prevent the following upgrades:

Rifleman/Redcoat -> Infantry
Grenadier -> Infantry/Machine Gun
Cannon -> Artillery
Cavalry/Cossack -> Gunship

Carrack/Caravel -> Destroyer/Attack Submarine
East Indiaman/Galleon -> Transport
Privateer -> Destroyer
Frigate -> Destroyer
Ship of the Line -> Destroyer

So basically, I want to edit the XML so the above units cannot be upgraded as shown. Apparently, if you delete the who upgrade part in a unit's XML, the entire game glitches and you can't make ANY units.
 
You can delete any upgrade path, you just have to do it right... look at units that don't have upgrades (Explorer, Carrier, etc)... you just open and close the upgrade in the same XML line.

<UnitClassUpgrades/>

It's no tribble at all.

tribbles.jpg
 
You can delete any upgrade path, you just have to do it right... look at units that don't have upgrades (Explorer, Carrier, etc)... you just open and close the upgrade in the same XML line.

<UnitClassUpgrades/>

It's no tribble at all.

tribbles.jpg

Thanks for the advice. What does the picture mean? I know it's an attempt at something witty but I don't understand. :confused:
 
Thanks for the advice. What does the picture mean? I know it's an attempt at something witty but I don't understand. :confused:
It wasn't an attempt at wit, it was wit! Already had three people respond specifically about that comment.

Simply put, it's a play on words... I said "no tribble at all", as-in "no trouble at all" (though we all know tribbles are plenty of trouble, but that's besides the point).

If I only answered your question and nothing more, this thread would have been a lot more boring.

thumbs%20up.jpg
 
I found Wolf's tribble comment quite amusing. :D It's what Scotty told Kirk after they'd gotten rid of the small furry creatures.

Preventing upgrades is easy; the hard part would be preventing an upgrade AND making the unit un-buildable. Let's say you didn't want to make riflemen upgrade to infantry, but you wanted to obsolete riflemen when infantry come so they cannot be built anymore. To my knowledge, that is not possible in the current setup, although Dom Pedro II wrote a modcomp that enables it. (But it had not been updated to BtS 3.13 yet.)

P.S., what's with the weird girly picture, Wolfshanze? :dubious:
 
Back
Top Bottom