Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
tmf:assigngear [2017/02/15 12:06] bear |
tmf:assigngear [2020/07/04 19:25] snippers [Creating/Modifying your own faction config] |
||
---|---|---|---|
Line 13: | Line 13: | ||
==== Switching faction configs ==== | ==== Switching faction configs ==== | ||
- | **<font inherit/inherit;;inherit;;#FFFFE0>Tip!</font> We provide a variety of finished presets through our mod pack, all of which can be found retrieved as .hpp files [[https://github.com/Sniperhid/1tac_misc/tree/master/addons/tm_tmf_loadouts|here]].** | + | **Tip! We provide a variety of finished presets through our mod pack, all of which can be found retrieved as .hpp files [[https://github.com/Sniperhid/1tac_misc/tree/master/addons/tm_tmf_loadouts|here]].** |
To add to or tweak the factions available in a mission, open the file description.ext in the mission folder. There is a section called 'class CfgLoadouts' | To add to or tweak the factions available in a mission, open the file description.ext in the mission folder. There is a section called 'class CfgLoadouts' | ||
Line 49: | Line 49: | ||
</code> | </code> | ||
- | For example: | + | For example: |
<code cpp> | <code cpp> | ||
Line 67: | Line 67: | ||
</code> | </code> | ||
- | Class g is still the same as r except the displayName has now been changed. This is useful for making variations of a given loadout; for example, often the only difference between a Grenadier and a Rifleman (g and r, respectively) is the primaryWeapon and the addition of launcher grenades: | + | Class g is still the same as r except the displayName has now been changed. This is useful for making variations of a given loadout; for example, often the only difference between a Grenadier and a Rifleman (g and r, respectively) is the primaryWeapon and the addition of launcher grenades: |
<code cpp> | <code cpp> | ||
Line 142: | Line 142: | ||
</code> | </code> | ||
- | It's recommended to paste the Virtual Arsenal export into an empty text file besides the config; From there, you can find the classnames of the items you wish to use and paste them into the appropriate arrays in the faction config. | + | It's recommended to paste the Virtual Arsenal export into an empty text file besides the config; From there, you can find the classnames of the items you wish to use and paste them into the appropriate arrays in the faction config. |