Internal information for Gruppe Adler members here.
Highly recommended: >= npm-3.x
, which comes with NodeJS 6.x. Don't use older versions!
npm install grad-factions-tvt --save
For updating, change the desired version number in your mission's package.json
, and do npm install
Alternatively, you can install grad-factions-tvt
manually. You will then also need grad-loadout
.
- download both
grad-factions-tvt
andgrad-loadout
as zipfiles from github, and put the directories into anode_modules
directories, so that you get:
myMission.altis/node_modules/grad-factions-tvt
myMission.altis/node_modules/grad-loadout
class Loadouts {
baseDelay = 1; // base delay in seconds before applying loadouts on mission start
handleRadios = 1; // radios are handled by grad-loadout
resetLoadout = 0; // start with empty loadouts instead of modifying existing loadout
class Faction {
#include "node_modules\grad-factions-tvt\loadouts.hpp"
};
};
class CfgFunctions {
#include "node_modules\grad-loadout\CfgFunctions.hpp"
};
You're nearly done. One last thing you will have to do: define which loadouts should actually be applied: Somewhere in your init.sqf, for example:
["BLU_F", "ger_heer_w"] call GRAD_Loadout_fnc_FactionSetLoadout;
["OPF_G_F", "rus_msv_w"] call GRAD_Loadout_fnc_FactionSetLoadout;
So the "BLU_F" faction (vanilla NATO units) will use the "ger_heer_w" loadouts.
These factions are available (see also the factions
directory):
- (RUS MSV)
- (US Army)
- (Eastern Nationalists)
- (Middle Eastern Terrorists)
- (PMC Special Forces)
HINT: If you do not know which faction your editor-created units belong to, have a look into the BI Community Wiki
NOTE: Loadouts are not guaranteed to work with units provided by Mods. If you need a specific mod supported, open an issue with grad-loadout.
Von den angegebenen Kategorien haben die folgenden Einheiten ein Standardloadout:
Englisch: | Deutsch: | Funktion: |
---|---|---|
Asst. Autorifleman | Zweiter Automatik Schütze | Munitionsträger für LMG |
Ammo Bearer | Munitionsträger | Munitionsträger für LMG |
Autorifleman | Automatik-Schütze | LMG Schütze |
Combat Life Saver | Sanitäter | Sanitäter |
Rifleman | Schütze | Schütze |
Rifleman (AT) | Schütze (Panzerabwehr) | Schütze mit leichter AT-Waffe |
Squad Leader | Truppführer | Truppführer |
Team Leader | Teamleader | Gruppenführer und Zugführer |