Page 1 of 1

Adding new units with shared graphics

Posted: Fri Jul 27, 2012 3:59 pm
by Granfali
What I need to create a new unit using graphics already in the game? For example, I want to simulate a Wehrmacht Ost squad with the same graphics that volksgrenadier.

1. Add a new row in squads.csv copied from volksgrenadier and modify it as I want (firepower, movement...)
2. ????

Re: Adding new units with shared graphics

Posted: Fri Jul 27, 2012 4:00 pm
by pipfromslitherine
That should be all you need to do if you are happy to use the same graphics. You will of course need to create name and description strings for the new unit and set the string ID to point to them.

Cheers

Pip

Re: Adding new units with shared graphics

Posted: Sun Jul 29, 2012 10:03 am
by Granfali
pipfromslitherine wrote:That should be all you need to do if you are happy to use the same graphics. You will of course need to create name and description strings for the new unit and set the string ID to point to them.
Hmmm, quite lost with this, I'm trying with no results... can anybody be more especific? An example?

Re: Adding new units with shared graphics

Posted: Sun Jul 29, 2012 10:23 am
by GottaLove88s
Pip, Could Granfali just change the name data for the Volksgrenadier row of squads.csv, and any other performance data he wants to modify? He'd lose the Volksgrenadier but keep the icons, animations, etc, for his new Wehrmacht Ost... As long as he only touches squads.csv in his own user-gen scenario this shouldn't affect anything else... I believe? Adds question mark for lack of certainty :?

Re: Adding new units with shared graphics

Posted: Sun Jul 29, 2012 5:12 pm
by pipfromslitherine
That would definitely be a way to do it. Then you would just check the ID value of the unit you replace, and create replacement IDS_UNITNAME and IDS_UNITINFO strings in your local text1.txt

Cheers

Pip