Page 1 of 1

Squads.csv problem

Posted: Fri Mar 08, 2013 8:21 pm
by Brummbar44
I've run into an odd issue that I just can't figure out.

I've created a multiplayer campaign and want to create a new unit for the campaign. So I've added the unit to the squads.csv as panzer_meyer

gave it the id of 105 but when I go to use the unit in the editor it comes out as British Para Piat (which happens to be the id in the Arnhem expansion)?

When I give it it's own id (tried 200) it just comes up as an error without a name.

Oddly, in the single player it works just fine?

Not sure what I am doing wrong or how I can correct it...suggestions?

Re: Squads.csv problem

Posted: Fri Mar 08, 2013 8:54 pm
by pipfromslitherine
Do you mean that the game crashes when you set the ID too high, or that you get an error that the name is missing?

Cheers

Pip

Re: Squads.csv problem

Posted: Fri Mar 08, 2013 9:09 pm
by Brummbar44
I get an error that the name is missing...it gives me a string error: missing id name and shows the new custom unit in the list as missing_ids_unitname

In the squads.csv I have panzer_meyer in the Name column (with a few exceptions, it acts otherwise like a panther for all intents and purposes).

Re: Squads.csv problem

Posted: Fri Mar 08, 2013 9:43 pm
by pipfromslitherine
if you set the ID to (say) 200 then you need to create a string in the campaign strings file for the new unit. e.g.

IDS_UNITNAME200, "Panzer Meyer",

Cheers

Pip

Re: Squads.csv problem

Posted: Fri Mar 08, 2013 10:09 pm
by Brummbar44
Ahhh....perfect, that did the trick...thanks Pip!

Re: Squads.csv problem

Posted: Fri Mar 08, 2013 10:44 pm
by pipfromslitherine
Glad you are up and running. Just as a note, the ID doesn't have to be different, you just wouldn't be able to tell that it was in fact a different unit :)

Cheers

Pip