Skip to content

Commit

Permalink
update grad-loadout
Browse files Browse the repository at this point in the history
  • Loading branch information
McDiod committed Jan 12, 2020
1 parent b9c4702 commit 310d43d
Show file tree
Hide file tree
Showing 64 changed files with 1,418 additions and 485 deletions.
45 changes: 45 additions & 0 deletions USER/customGear.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/*
* Legt fest welche Teile des Loadouts wann angepasst werden können.
* Siehe auch:
* https://gruppe-adler.github.io/grad-loadout/#/configuration
* und
* https://gruppe-adler.github.io/grad-loadout/#/customGear
*/


randomizationMode = 1; // einige Loadouts unterstützen zufällige Ausrüstungsvergabe. randomizationMode legt fest, wie mit diesen Loadouts umgegangen wird.
// 0 - disabled, 1 - enabled, 2 - enabled for players only, 3 - enabled for AI only

customGear = 300; // Legt fest wann Spieler ihr Loadout anpassen dürfen.
// -1 um zu deaktivieren
// Zahl - Zeit in Sekunden nach Spielstart, in der Anpassung erlaubt ist.

customGearAllowedCategories[] = { // Legt fest, welche Ausrüstungs-Kategorien von den Spielern angepasst werden dürfen.
"uniform",
"vest",
"backpack",
"primaryWeapon",
"primaryWeaponMuzzle",
"primaryWeaponOptics",
"primaryWeaponPointer",
"primaryWeaponUnderbarrel",
"secondaryWeapon",
"secondaryWeaponMuzzle",
"secondaryWeaponOptics",
"secondaryWeaponPointer",
"secondaryWeaponUnderbarrel",
"handgunWeapon",
"handgunWeaponMuzzle",
"handgunWeaponOptics",
"handgunWeaponPointer",
"handgunWeaponUnderbarrel",
"headgear",
"goggles",
"nvgoggles",
"binoculars",
"map",
"gps",
"compass",
"watch",
"radio"
};
4 changes: 3 additions & 1 deletion description.ext
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class GRAD_Replay {
sendingChunkSize = 10; // higher number means replay loading is faster, but might cause instability / lags during loading
trackShots = 1; // defines if shots will be tracked (0/1)
upload = 1; // defines if replay data will be uploaded to replay.gruppe-adler.de (0/1)

};


Expand Down Expand Up @@ -126,6 +126,8 @@ class Loadouts {
handleRadios = 1;
resetLoadout = 0;

#include "USER\customGear.hpp"

class Faction {
#include "node_modules\grad-factions-tvt\loadouts.hpp"
#include "USER\userLoadouts.hpp"
Expand Down
Loading

0 comments on commit 310d43d

Please sign in to comment.