-
Notifications
You must be signed in to change notification settings - Fork 3
/
CfgParams.cpp
155 lines (150 loc) · 4.97 KB
/
CfgParams.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
#define SPACERT(c,t) class __spacer_##c {title=t;texts[]={" "};values[]={0};};
#define SPACER(c) SPACERT(c,"")
class Params {
//SPACER(equipment);
class WeaponPool {
title = "Select which mod the weapon pool will be created from";
texts[] = {
/* 0 */ "Auto-Detect (By map)",
/* 1 */ "Vanilla",
/* 2 */ "Vanilla (DLC)",
/* 10 */ "3CB BAF",
/* 40 */ "CUP",
/* 20 */ "IFA3",
/* 50 */ "OPTRE",
/* 30 */ "RHS (AFRF, USAF, SAF & GREF)",
/* 70 */ "S.O.G. Prairie Fire (MAVC, PAVN, ARVN)",
/* 60 */ "Unsung"
};
values[] = {0,1,2,10,40,20,50,30,70,60};
default = 0;
};
class WeaponType {
title = "Select which weapon type the pool will be comprised of";
texts[] = {"All","SMG/Shotguns","Rifles","Snipers","Machine Guns","Pistols"};
values[] = {0,1,2,3,4,5};
default = 0;
};
class Loadout {
title = "Select which mod the player loadout will be created from";
texts[] = {
/* 0 */ "Auto-Detect (By map)",
/* 1 */ "Vanilla",
/* 2 */ "Vanilla (DLC)",
/* 10 */ "3CB BAF (Desert)",
/* 11 */ "3CB BAF (Temperate)",
/* 12 */ "3CB BAF (Woodland)",
/* 40 */ "CUP (ACU)",
/* 41 */ "CUP (Desert)",
/* 42 */ "CUP (MTP)",
/* 43 */ "CUP (Winter)",
/* 44 */ "CUP (Woodland)",
/* 20 */ "IFA3",
/* 22 */ "IFA3 (Desert)",
/* 21 */ "IFA3 (Winter)",
/* 50 */ "OPTRE (Spartan)",
/* 51 */ "OPTRE (Urban)",
/* 30 */ "RHS (OCP)",
/* 31 */ "RHS (UCP)",
/* 32 */ "RHS (ERDL/MD2)",
/* 70 */ "S.O.G. Prairie Fire (MACV)",
/* 71 */ "S.O.G. Prairie Fire (PAVN)",
/* 72 */ "S.O.G. Prairie Fire (ARVN)",
/* 60 */ "Unsung (AUS)",
/* 61 */ "Unsung (NZ)",
/* 62 */ "Unsung (R.O.K.)",
/* 63 */ "Unsung (U.S.)"
};
values[] = {0,1,2,10,11,12,40,41,42,43,44,20,22,21,50,51,30,31,32,70,71,72,60,61,62,63};
default = 0;
};
SPACER(game);
class DamageModifier {
title = "Damage modifier";
texts[] = {"0.25x","0.5x","1x","1.5x","2x","2.5x","5x","10x"};
values[] = {25,50,100,150,200,250,500,1000};
default = 100;
};
class KillStreak {
title = "Kill streak required to advance to next weapon";
texts[] = {"Auto-Detect (By weapon pool)","1","2","3","4","5","6","7","8","9","10"};
values[] = {0,1,2,3,4,5,6,7,8,9,10};
default = 0;
};
class EnemyMapBlips {
title = "Enemy blips on the radar";
texts[] = {"Enabled","Disabled"};
values[] = {1,0};
default = 1;
};
class MaxRounds {
title = "Maximum rounds played before the mission ends";
texts[] = {"Infinite","1","2","3","4","5","6","7","8","9","10"};
values[] = {0,1,2,3,4,5,6,7,8,9,10};
default = 0;
};
SPACER(ai);
class AIUnits {
title = "Number of AI enemys";
texts[] = {"None","1","2","3","4","5","10","15","20"};
values[] = {0,1,2,3,4,5,10,15,20};
default = 0;
};
class AIDifficulty {
title = "AI difficulty";
texts[] = {"Storm Trooper","Rookie","Recruit","Veteran","Wall Hacks & Aim Bot"};
values[] = {0,25,50,75,100};
default = 25;
};
class AIDifficultyRandom {
title = "Randomize individual AI difficulty, up to the difficulty specified above";
texts[] = {"Enabled","Disabled"};
values[] = {1,0};
default = 1;
};
SPACER(environment);
class TimeOfDay {
title = "Time of day";
texts[] = {"Random","6 AM","9 AM","12 PM","3 PM","6 PM"};
values[] = {0,6,9,12,15,18};
default = 0;
};
class WeatherFog {
title = "Fog density";
texts[] = {"Random","No Fog","Light Fog","Heavy Fog"};
values[] = {0,1,2,3};
default = 1;
};
class WeatherRain {
title = "Rain levels";
texts[] = {"Random","No Rain","Light Rain","Heavy Rain","Thunder Storm"};
values[] = {0,1,2,3,4};
default = 1;
};
/*
SERVER.CFG PARAMETERS
These parameters are for use in the server.cfg to define default custom presets to use on server start.
The same functionality can be achieved in game by loading a preset on the admin menu.
To use a custom preset, first save the preset to the server profile from the in game admin menu.
Then load the preset list and look for the number in front of the preset name.
Set the parameter in the server.cfg as that number and start the server.
If you set a number for a preset that doesn't exist, it will revert to disabled.
https://community.bistudio.com/wiki/Mission_Parameters#Secondary_Params
*/
SPACER(server_cfg);
SPACERT(server_cfg_title,"SERVER.CFG PARAMETERS:");
class CombatZoneCustom {
title = "Use a combat zone preset from the server profile";
texts[] = {"Disabled"};
values[] = {0};
default = 0;
};
class WeaponPoolCustom {
title = "Use a weapon pool preset from the server profile";
texts[] = {"Disabled"};
values[] = {0};
default = 0;
};
};
#undef SPACER
#undef SPACERT