Page 1 of 1

Editor is changing the unit type???

Posted: Sun Nov 25, 2012 5:27 pm
by GottaLove88s
Guys,

This is a strange one.

I've duplicated several rows of units in squads.csv, copying all of the data, but with lower morale (to simulate an "out of supply" penalty).
For example, my squads.csv has a normal Volksgrenadier, with morale 75, and an "out of supply" *Volksgrenadier (with a star in the name) with morale 50.
All of the new ID numbers run from 200-250.
The new *Volksgrenadier shares the same Icon ID and Asset Filename as the normal Volksgrenadier.

The thing is, the Editor will let me place these new *Volksgrenadiers on the map, no problem.
But, if I save and reload the map, they've all magically become normal Volksgrenadiers (no star).

Huh??!! What's going on?

Any ideas appreciated. It's driving me nuts...

:shock: :?

Re: Editor is changing the unit type???

Posted: Sun Nov 25, 2012 7:29 pm
by GottaLove88s
Haha! Solved it... The rumours are true... GL88 is, in fact, a moron... I forgot that I had to change the unit "name" as well as give it a unique unit ID... Otherwise the Editor just transposes it for the first thing that occurs in squads.csv with the same unit name, regardless of ID... Obvious when one figures it out... Well at least it rained all day over here, lol... DOH!! :-)

Re: Editor is changing the unit type???

Posted: Sun Nov 25, 2012 7:58 pm
by Richcat
Hi GL88 Glad you got it sorted
Don't kick yourself to much :roll: - I couldn't understand when I made my test tank why I kept getting a sherman, again and again. I had copied and pasted as you, but I hadn't spotted that AssetfileName column, buried deep in the squads file. :wink:
It been raining here all day as well, but got very wet when had to some quick pointing repairs to my parapet wall to flat roof to stop it dribbling in.

Re: Editor is changing the unit type???

Posted: Sun Nov 25, 2012 10:19 pm
by GottaLove88s
As always, thanks heaps for your help Richcat.
Uh oh? Sounds nasty? Hope you stopped the water now!! Take care mate.
PS. Thanks for admitting to making goofs too... Makes me feel (marginally) less of a twit... :-)