User Tools

Site Tools


dcx:trooptype_library_editor

This is an old revision of the document!


Trooptype Library Editor

Usage: create trooptype libraries Now: basic functionality to create new trooptypes (sftypes) quickly. Also supporting CSV import and export Future: -

Basics

You make new trooptypes by specifying a very limited number of variables and a “Based On” setting. The trooptype editor then creates your new trooptypes based on your input that modifies the settings the “Based On” trooptype is using.

You can also create reinforcement types here that allow you to group some of your trooptypes together for any replacement troop events.

You can also create people's here. Like for example: Romanian, SS, Militia, Polish, etc.. And associate them with a trooptype.

Technical Details

The masterfile has names set in tempString(600-699). Every slot with a name corresponds with SFTypeVar 0-99. Which is used by the event specified in rulevar(946) to create a trooptype.

Upon start up

It uses the latest masterfile.

Loading a trooptype library here

Only loads the sftypes on top of the masterfile. (note: masterfile can even be updated with more sftypes without breaking backwards compat.)

Saving a trooptype lib here

Everything is saved, but masterfile reference is removed.

Update master

You can manually update them with a new master if you want too. The .CopyFromSFType refers to a slot so the order of the masterfile should not be changed

dcx/trooptype_library_editor.1430926889.txt.gz · Last modified: 2026/06/22 12:14 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki