-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathGameData.lua
274 lines (233 loc) · 5.44 KB
/
GameData.lua
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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
--Configuration Data for Armors: Mech Empire II
--Version 2014/08/16
--By MangoSister and ShrekShao
--Weapon Data
--Name of Each Weapon
name_Weapon={};
name_Weapon[1]="Cannon";
name_Weapon[2]="Shotgun";
name_Weapon[3]="R.P.G.";
name_Weapon[4]="Machine gun";
name_Weapon[5]="Prism";
name_Weapon[6]="Tesla";
name_Weapon[7]="Plasma torch";
name_Weapon[8]="Missile launcher";
name_Weapon[9]="Electric saw";
name_Weapon[10]="Grenade Thrower";
name_Weapon[11]="Mine Layer";
name_Weapon[12]="Apollo Cannon";
--Damage of Each Weapon
--already abandoned
--damage is a value of Bullet
--Magazine Capacity of Each Weapon
Ammo_Weapon={};
Ammo_Weapon[1]=10;
Ammo_Weapon[2]=8;
Ammo_Weapon[3]=5;
Ammo_Weapon[4]=30;
Ammo_Weapon[5]=7;
Ammo_Weapon[6]=11;
Ammo_Weapon[7]=12;
Ammo_Weapon[8]=10;
Ammo_Weapon[9]=50;
Ammo_Weapon[10]=15;
Ammo_Weapon[11]=40; --num of mines
Ammo_Weapon[12]=8;
--Cooling Time of Each Weapon
coolingTime_Weapon={};
coolingTime_Weapon[1]=30;
coolingTime_Weapon[2]=80;
coolingTime_Weapon[3]=100;
coolingTime_Weapon[4]=5;
coolingTime_Weapon[5]=70;
coolingTime_Weapon[6]=40;
coolingTime_Weapon[7]=25;
coolingTime_Weapon[8]=100;
coolingTime_Weapon[9]=1;
coolingTime_Weapon[10]=40;
coolingTime_Weapon[11]=50; --cooling time of laying mine
coolingTime_Weapon[12]=50;
--Deviation of Each Weapon when Attacking
inaccuracy_Weapon={};
inaccuracy_Weapon[1]=5;
inaccuracy_Weapon[2]=5;
inaccuracy_Weapon[3]=3;
inaccuracy_Weapon[4]=7;
inaccuracy_Weapon[5]=5;
inaccuracy_Weapon[6]=25;
inaccuracy_Weapon[7]=5;
inaccuracy_Weapon[8]=5;
inaccuracy_Weapon[9]=5;
inaccuracy_Weapon[10]=20;
inaccuracy_Weapon[11]=5;
inaccuracy_Weapon[12]=3;
--Rotation Speed of Each Weapon when Turning
rotationSpeed_Weapon={};
rotationSpeed_Weapon[1]=5;
rotationSpeed_Weapon[2]=2;
rotationSpeed_Weapon[3]=5;
rotationSpeed_Weapon[4]=4;
rotationSpeed_Weapon[5]=1;
rotationSpeed_Weapon[6]=3;
rotationSpeed_Weapon[7]=1.5;
rotationSpeed_Weapon[8]=2;
rotationSpeed_Weapon[9]=2;
rotationSpeed_Weapon[10]=5;
rotationSpeed_Weapon[11]=3;
rotationSpeed_Weapon[12]=5;
--Radium of Weapon
radium_Weapon={};
radium_Weapon[1]=95;
radium_Weapon[2]=65;
radium_Weapon[3]=85;
radium_Weapon[4]=69;
radium_Weapon[5]=76;
radium_Weapon[6]=45;
radium_Weapon[7]=75;
radium_Weapon[8]=50;
radium_Weapon[9]=95;
radium_Weapon[10]=50;
radium_Weapon[11]=50;
radium_Weapon[12]=95;
--Cooling Speed for all Weapons
coolingSpeed_AllWeapon=1;
--Specific Properties of Shotgun
burst_Shotgun=5;
gapRotation_Shotgun=3;
--for Mine Layer
coolingTime_Tiny_MineLayer=20;
ammoConsumption_Mine_MineLayer=5;
--Bullets Info
name_Bullet={};
name_Bullet[1]="加农炮弹";
name_Bullet[2]="霰弹砂";
name_Bullet[3]="火箭弹";
name_Bullet[4]="银色子弹";
name_Bullet[5]="光棱";
name_Bullet[6]="磁暴";
name_Bullet[7]="等离子";
name_Bullet[8]="跟踪导弹";
name_Bullet[9]="电锯";
name_Bullet[10]="手雷";
name_Bullet[11]="Vulture地雷";
name_Bullet[12]="钛合金穿甲弹";
name_Bullet[13]="微型10mm辅助子弹";
speed_Bullet={};
speed_Bullet[1]=11;
speed_Bullet[2]=10;
speed_Bullet[3]=8;
speed_Bullet[4]=12;
speed_Bullet[5]=5;
speed_Bullet[6]=5;
speed_Bullet[7]=5;
speed_Bullet[8]=4;
speed_Bullet[9]=5;
speed_Bullet[10]=6;
speed_Bullet[11]=0;
speed_Bullet[12]=14;
speed_Bullet[13]=5;
--Damage of Each Bullet
damage_Bullet={};
damage_Bullet[1]=25;
damage_Bullet[2]=10;
damage_Bullet[3]=35;
damage_Bullet[4]=7;
damage_Bullet[5]=20;
damage_Bullet[6]=22;
damage_Bullet[7]=18;
damage_Bullet[8]=15;
damage_Bullet[9]=5;
damage_Bullet[10]=25;
damage_Bullet[11]=45;
damage_Bullet[12]=25;
damage_Bullet[13]=4;
--flyTime of Each Bullet
flyTime_Bullet={};
flyTime_Bullet[1]=9999;
flyTime_Bullet[2]=9999;
flyTime_Bullet[3]=9999;
flyTime_Bullet[4]=9999;
flyTime_Bullet[5]=1;
flyTime_Bullet[6]=1;
flyTime_Bullet[7]=9999;
flyTime_Bullet[8]=9999;
flyTime_Bullet[9]=1;
flyTime_Bullet[10]=100;
flyTime_Bullet[11]=9999; --??
flyTime_Bullet[12]=9999;
flyTime_Bullet[13]=9999;
--RPGBall
explodeR_RPGBall=100;
acceleration_RPGBall=1.05;
--Grenade
explodeR_Grenade=70;
--Mine
explodeR_Mine=100;
--PlasmaBall
bounce_time=2;
--TrackingMissile
spinSpeed_TrackingMissile=1.5;
--Engine Data
--Name of Each Engine
name_Engine={};
name_Engine[1]="Spider V3";
name_Engine[2]="Destroyer";
name_Engine[3]="Warhammer Tank"
name_Engine[4]="UFO"
name_Engine[5]="Quadcopter"
name_Engine[6]="GhostTank"
name_Engine[7]="X-Craft"
name_Engine[8]="Shuttle"
--maxSpeed
maxSpeed_Engine={};
maxSpeed_Engine[1]=4;
maxSpeed_Engine[2]=5;
maxSpeed_Engine[3]=6;
maxSpeed_Engine[4]=6;
maxSpeed_Engine[5]=4;
maxSpeed_Engine[6]=6;
maxSpeed_Engine[7]=6;
maxSpeed_Engine[8]=1;
--Hp
maxHp_Engine={};
maxHp_Engine[1]=85;
maxHp_Engine[2]=90;
maxHp_Engine[3]=95;
maxHp_Engine[4]=100;
maxHp_Engine[5]=85;
maxHp_Engine[6]=95;
maxHp_Engine[7]=100;
maxHp_Engine[8]=180;
--RotationSpeed
rotationSpeed_Engine={};
rotationSpeed_Engine[1]=0;
rotationSpeed_Engine[2]=3;
rotationSpeed_Engine[3]=3.5;
rotationSpeed_Engine[4]=4.5;
rotationSpeed_Engine[5]=0;
rotationSpeed_Engine[6]=3.5;
rotationSpeed_Engine[7]=4.5;
rotationSpeed_Engine[8]=2;
--Acceleration
acceleration_Engine={};
acceleration_Engine[1]=0;
acceleration_Engine[2]=0;
acceleration_Engine[3]=0.15;
acceleration_Engine[4]=0.2;
acceleration_Engine[5]=0;
acceleration_Engine[6]=0.15;
acceleration_Engine[7]=0.2;
acceleration_Engine[8]=0;
--Radium of engine
radium_Engine={};
radium_Engine[1]=45;
radium_Engine[2]=48;
radium_Engine[3]=50;
radium_Engine[4]=46;
radium_Engine[5]=45;
radium_Engine[6]=50;
radium_Engine[7]=46;
radium_Engine[8]=70;
--Arsenal
radium_Arsenal=5;
respawningTime_Arsenal=1000;