Page 1 of 1

Designing new unit types

Posted: Mon Jul 18, 2022 4:57 pm
by mdsmall
Can anyone advise on how to introduce new units with new symbols or sprites into the existing WW1 game using the Game Editor? I am talking about unit types which do not appear in the current menu of available units.

Thanks,

Michael

Re: Designing new unit types

Posted: Tue Jul 19, 2022 10:21 am
by BillRunacre
Hi Michael

Is it help on how to change the graphics from the default to something else that you need?

Re: Designing new unit types

Posted: Tue Jul 19, 2022 8:17 pm
by mdsmall
Hi Bill,

Up until now all the mod work I have done is using the Game Editor to change scripts and map settings. I have not tried to create new units, with new graphics and new properties. If you or someone else with mod experience can advise on how to do that it would be much appreciated.

For example, I would love to be able to introduce mine-sweeper units that can clear naval mines without taking losses. This would be a very helpful addition to the game. So too would be stationary balloon units that can spot over trenches. But I have no idea how to design such units, much less introduce them into the unit build limits and production menu to give powers the capacity to buy them and use them.

Cheers,

Michael

Re: Designing new unit types

Posted: Wed Jul 20, 2022 1:27 am
by Elessar2
You can only replace a unit whose general role is similar to the new one, note (so can't replace an air unit with a ship say).

1. The Localization file in the root scenario directory will allow you to rename the unit. [Assuming you will use slot 44 which is the MTB in the WW2 games at least]

#UNIT_ID_44= Minesweeper

2. Then start modding the unit in the editor. Edit Country Data, then for say the UK the 4 left submenus will let you change almost everything. You can make the stats unique to each country, note; if you want the unit to be the same for everybody, hit Apply Data after modding the unit in again the UK's Country Data, select all countries then the unit whose new stats you want copied.

3. Other unit menus:

a. Strength/Reinforce/Reformation, for Max Strength, costs when repairing and repurchasing.
b. Edit Research for tech, Advanced will allow you to assign up to 3 techs per unit and their levels and level costs, then Upgrades for stats.

Exit back to the main editor page, and

c. Check Movement Costs (per terrain as well as ZoC penalties).
d. Combat Data for experience gains and a bunch of other stuff
e. Naval Damage is only for Storm effects at sea for naval units

That's pretty much it.