Squads.csv problem

Download scenarios and talk about scenario design.

Moderators: Slitherine Core, BA Moderators

Post Reply
Brummbar44
2nd Lieutenant - Panzer IVF/2
2nd Lieutenant - Panzer IVF/2
Posts: 689
Joined: Sun Oct 16, 2011 3:53 pm
Location: Canada
Contact:

Squads.csv problem

Post 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?
pipfromslitherine
Site Admin
Site Admin
Posts: 9929
Joined: Wed Mar 23, 2005 10:35 pm

Re: Squads.csv problem

Post 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
Brummbar44
2nd Lieutenant - Panzer IVF/2
2nd Lieutenant - Panzer IVF/2
Posts: 689
Joined: Sun Oct 16, 2011 3:53 pm
Location: Canada
Contact:

Re: Squads.csv problem

Post 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).
pipfromslitherine
Site Admin
Site Admin
Posts: 9929
Joined: Wed Mar 23, 2005 10:35 pm

Re: Squads.csv problem

Post 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
Brummbar44
2nd Lieutenant - Panzer IVF/2
2nd Lieutenant - Panzer IVF/2
Posts: 689
Joined: Sun Oct 16, 2011 3:53 pm
Location: Canada
Contact:

Re: Squads.csv problem

Post by Brummbar44 »

Ahhh....perfect, that did the trick...thanks Pip!
pipfromslitherine
Site Admin
Site Admin
Posts: 9929
Joined: Wed Mar 23, 2005 10:35 pm

Re: Squads.csv problem

Post 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
Post Reply

Return to “Battle Academy : Scenario Design”