Page 1 of 1

Unit parameters mod for transport

Posted: Sat Nov 12, 2011 5:23 am
by El_Condoro
I got sick of the need to click transport onto units and then losing them later so I modified the editor_unitparams.htm file in the UI folder. I haven't included all the transport types of the minor countries but Germany, Allies and Russia are included. You'll see how easy it is to do when you edit the file (I used Notepad++) so you can modify it to your own needs. Remember to back it up somewhere because it gets overwritten with each update. Or use the GME?

Make a backup of the original first

Link to file (Right-click, Save). Replace the editor_unitparams.htm file in the Panzer Corps\UI folder

Edit: added more air and naval transports and trains, too.

Posted: Sat Nov 12, 2011 10:19 am
by naturesheva
Thanks, El_Condoro. That's quite helpful for all our modders~!! :D :D

Re: Unit parameters mod for transport

Posted: Tue Feb 21, 2012 5:50 am
by AugustinMalar
Hello :)

I added a Slovak Train and a Slovak Ju 52 by editing the editor_unitparams.htm file file with notepad as you said. But what am I supposed to do next ?
I want those units to be used as my default tranports for Slovakia.

Those units are in my PZEQP file as number 219 and 223 and have their own Slovak icon. Right now my rail transport type is Axis Train and my air transport type is Ju 52 (German Ju 52 in the game). They are the only options in the scenario params of the game editor. How can I add new options to the game editor ?

Re: Unit parameters mod for transport

Posted: Tue Feb 21, 2012 7:00 am
by bebro
Edit them also into the file "editor_scnparams", look for the transport labels to edit, example:
  • <td><select id="AxisAirTransportType">
    <option value="-1">None</option>
    <option value="161">Ju 52</option>
    </select></td>
Add another line there with your TP plane and the correct number for it. Smilar for other sea or rail transport, they have their own labels. If this is done and activated in GME you should be able select those new types.

edit: hm, looks like the "list" tag has a day off...

Re: Unit parameters mod for transport

Posted: Tue Feb 21, 2012 7:35 am
by El_Condoro
You had
  • instead of just
    • . Fixed. :)

Re: Unit parameters mod for transport

Posted: Tue Feb 21, 2012 3:47 pm
by AugustinMalar
Thx
It worked. :D

Re: Unit parameters mod for transport

Posted: Mon Jul 09, 2012 4:43 am
by blindsey
The link at top of thread appears to be broken or file has been removed?

Re: Unit parameters mod for transport

Posted: Mon Jul 09, 2012 7:38 am
by El_Condoro
Must have deleted it. I replaced it so should work now.