Units with same name

Share scenarios and mods with other players here.
Post Reply
User avatar
Uxbridge
Posts: 1514
Joined: Sun Feb 08, 2004 6:16 pm
Location: Uppsala, Sweden

Units with same name

Post by Uxbridge »

I'm going to change the names of the units to something shorter. A historical OOB makes no sense to me on this scale and the long, often incomprehensible unit-ID:s clutter the map.

This may then be a stupid question, but is there a risk that two units with the same name will somewhere overwrite each other and disappear? Or maybe crash the game?

My hope is that I can instruct the automatic naming of units, based upon the unit_names.csv, to call all infantry for "Inf" regardless of them being divisions or corps. Is this dangerous?

The reason I don't want to make a distinction between div and corps is that an upgraded div will still bear the name of div after the upgrade. And if I rename it "corps" there's always the risk of a corps with the same number already in existence. The only way to be sure its not would be to click around the entire front. I therefore prefer if all inf units were just inf, told apart by their numbers.
User avatar
doomtrader
Posts: 5319
Joined: Tue Jul 22, 2008 5:21 am
Location: Poland
Contact:

RE: Units with same name

Post by doomtrader »

Even if you will have two units with the same name, nothing bad should happend.
User avatar
Uxbridge
Posts: 1514
Joined: Sun Feb 08, 2004 6:16 pm
Location: Uppsala, Sweden

RE: Units with same name

Post by Uxbridge »

Thanks. [;)]
User avatar
cpdeyoung
Posts: 5389
Joined: Tue Jul 17, 2007 3:26 pm
Location: South Carolina, USA

RE: Units with same name

Post by cpdeyoung »

I am a stickler for naming and I often find that the Unit Creation function and I will choose the same name for a unit. Other than aggravation this causes no problems. I have come close to writing a program to take a save game and "normalize" the names. Too much changes just no to code this.

Chuck
Post Reply

Return to “Scenarios and Mods”