This repository has been archived by the owner on May 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.cpp
202 lines (200 loc) · 5.52 KB
/
config.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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
////////////////////////////////////////////////////////////////////
//DeRap: Trader\config.bin
//Produced from mikero's Dos Tools Dll version 8.90
//https://mikero.bytex.digital/Downloads
//'now' is Tue Dec 06 10:29:15 2022 : 'file' last modified on Tue Nov 22 16:18:36 2072
////////////////////////////////////////////////////////////////////
#define _ARMA_
class CfgMods
{
class Trader
{
dir = "Trader";
picture = "";
action = "";
hideName = 1;
hidePicture = 1;
name = "";
credits = "";
author = "Dr_J0nes";
authorID = "0";
version = "1.0";
extra = 0;
type = "mod";
dependencies[] = {"Game","World","Mission"};
class defs
{
class gameScriptModule
{
value = "";
files[] = {"TM/Trader/scripts/defines","TM/Trader/scripts/3_Game"};
};
class worldScriptModule
{
value = "";
files[] = {"TM/Trader/scripts/defines","TM/Trader/scripts/4_World"};
};
class missionScriptModule
{
value = "";
files[] = {"TM/Trader/scripts/defines","TM/Trader/scripts/5_Mission"};
};
};
};
};
class CfgPatches
{
class trader
{
units[] = {"MoneyRuble1","MoneyRuble5","MoneyRuble10","MoneyRuble25","MoneyRuble50","MoneyRuble100","Land_RoadCone","Hoodie_GraffitiTiles","Hoodie_DrJ0nes","VehicleKeyBase","VehicleKeyDuplicate","VehicleKeyLost","VehicleKeyRed","VehicleKeyBlack","VehicleKeyGrayCyan","VehicleKeyYellow","VehicleKeyPurple"};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {"DZ_Data"};
};
};
class CfgModels
{
class ruble
{
sections[] = {"WholeObject"};
};
class keyLada
{
sections[] = {"WholeObject"};
};
};
class CfgVehicles
{
class Inventory_Base;
class MoneyRuble1: Inventory_Base
{
scope = 2;
displayName = "$STR_tm_1_ruble_note";
descriptionShort = "$STR_tm_ruble_description";
model = "TM\Trader\ruble.p3d";
canBeSplit = 1;
rotationFlags = 16;
lootCategory = "Materials";
lootTag[] = {"Civilian","Work"};
itemSize[] = {1,2};
weight = 1;
varQuantityInit = 1;
varQuantityMin = 0;
varQuantityMax = 500;
varQuantityDestroyOnMin = 1;
destroyOnEmpty = 1;
absorbency = 1;
hiddenSelections[] = {"WholeObject"};
hiddenSelectionsTextures[] = {"TM\Trader\data\ruble1_co.paa"};
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints = 100;
healthLevels[] = {{1.0,{"TM\Trader\data\ruble.rvmat"}},{0.7,{"TM\Trader\data\ruble.rvmat"}},{0.5,{"TM\Trader\data\ruble_damage.rvmat"}},{0.3,{"TM\Trader\data\ruble_damage.rvmat"}},{0.0,{"TM\Trader\data\ruble_destruct.rvmat"}}};
};
};
};
};
class MoneyRuble5: MoneyRuble1
{
displayName = "$STR_tm_5_ruble_note";
hiddenSelectionsTextures[] = {"TM\Trader\data\ruble5_co.paa"};
};
class MoneyRuble10: MoneyRuble1
{
displayName = "$STR_tm_10_ruble_note";
hiddenSelectionsTextures[] = {"TM\Trader\data\ruble10_co.paa"};
};
class MoneyRuble25: MoneyRuble1
{
displayName = "$STR_tm_25_ruble_note";
hiddenSelectionsTextures[] = {"TM\Trader\data\ruble25_co.paa"};
};
class MoneyRuble50: MoneyRuble1
{
displayName = "$STR_tm_50_ruble_note";
hiddenSelectionsTextures[] = {"TM\Trader\data\ruble50_co.paa"};
};
class MoneyRuble100: MoneyRuble1
{
displayName = "$STR_tm_100_ruble_note";
hiddenSelectionsTextures[] = {"TM\Trader\data\ruble100_co.paa"};
};
class HouseNoDestruct;
class Land_RoadCone: HouseNoDestruct
{
scope = 2;
model = "TM\Trader\Road_Cone.p3d";
};
class Hoodie_ColorBase;
class Hoodie_GraffitiTiles: Hoodie_ColorBase
{
scope = 2;
visibilityModifier = 0.95;
hiddenSelectionsTextures[] = {"","","","","TM\Trader\data\hoodie_graffiti_co.paa","TM\Trader\data\hoodie_graffiti_co.paa","TM\Trader\data\hoodie_graffiti_co.paa"};
};
class Hoodie_DrJ0nes: Hoodie_ColorBase
{
scope = 2;
visibilityModifier = 0.95;
hiddenSelectionsTextures[] = {"","","","","TM\Trader\data\hoodie_drj0nes_co.paa","TM\Trader\data\hoodie_drj0nes_co.paa","TM\Trader\data\hoodie_drj0nes_co.paa"};
};
class VehicleKeyBase: Inventory_Base
{
scope = 2;
displayName = "$STR_tm_vehicle_key";
descriptionShort = "$STR_tm_vehicle_key_description";
model = "TM\Trader\keyLada.p3d";
rotationFlags = 17;
lootCategory = "Materials";
lootTag[] = {"Civilian","Work"};
weight = 4;
itemSize[] = {1,1};
fragility = 0.01;
hiddenSelections[] = {"WholeObject"};
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints = 100;
healthLevels[] = {{1.0,{"TM\Trader\data\keyLada.rvmat"}},{0.7,{"TM\Trader\data\keyLada.rvmat"}},{0.5,{"TM\Trader\data\keyLada_damage.rvmat"}},{0.3,{"TM\Trader\data\keyLada_damage.rvmat"}},{0.0,{"TM\Trader\data\keyLada_destruct.rvmat"}}};
};
};
};
};
class VehicleKeyDuplicate: VehicleKeyBase
{
displayName = "Duplicated Key";
descriptionShort = "Duplicates the Vehicle Key that you are holding in your Hands.";
};
class VehicleKeyLost: VehicleKeyBase
{
displayName = "Lost Key";
descriptionShort = "Creates a Key for a Vehicle in case you lost it. Works also for Vehicles that never had a Key before.";
};
class VehicleKeyRed: VehicleKeyBase
{
hiddenSelectionsTextures[] = {"TM\Trader\data\keyLadaRed_co.paa"};
};
class VehicleKeyBlack: VehicleKeyBase
{
hiddenSelectionsTextures[] = {"TM\Trader\data\keyLadaBlack_co.paa"};
};
class VehicleKeyGrayCyan: VehicleKeyBase
{
hiddenSelectionsTextures[] = {"TM\Trader\data\keyLadaGrayCyan_co.paa"};
};
class VehicleKeyYellow: VehicleKeyBase
{
hiddenSelectionsTextures[] = {"TM\Trader\data\keyLadaYellow_co.paa"};
};
class VehicleKeyPurple: VehicleKeyBase
{
hiddenSelectionsTextures[] = {"TM\Trader\data\keyLadaPurple_co.paa"};
};
};