forked from CafeFPS/scripts_r5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
propdata.txt
606 lines (522 loc) · 13.7 KB
/
propdata.txt
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
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
// "prop data name"
// {
// "property" "value"
// ...
// }
//
//
// "base" : Specify a base propdata class to derive from (base types can be found in propdata.txt)
//
// "blockLOS" : Override whether this prop should block NPC's Line-Of-Sight.
// "AIWalkable" : Override whether AI should consider this prop as walkable on.
// "dmg.bullets" : Mod damage done by bullets to this prop.
// "dmg.club" : Mod damage done by clubs to this prop.
// "dmg.explosive" : Mod damage done by explosives to this prop.
// NOTE: Use damage modifiers to reflect differences between the amount of
// damage that an object takes from different damage types. Don't
// use them to reflect overall damage strength. i.e. Stone is resilient
// to everything. To reflect this, increase the health of all stone
// objects, don't set the damage modifiers lower.
//
// "damage_table" : Specify a custom physics impact damage table for this prop.
// "health" : Amount of damage this prop should take before breaking.
//
// "explosive_damage" : Explosive damage done by this prop.
// "explosive_radius" : Radius of the explosion caused by this prop when it breaks.
// NOTE: If these two fields are specified for a prop, then the prop will automatically
// create an explosion with the specified values when the prop is broken.
//
// "breakable_model" : The type of breakable gibs this prop should break into. This list is at the bottom of this file.
// "breakable_count" : The number of breakable gibs to break into.
// "allowstatic" : Allow this prop to be static as well as physically simulated.
//
//
"PropData.txt"
{
//=================================================================================
// PAPER
//=================================================================================
// Base damage modifiers for paper objects
// DON'T USE THIS FOR A PROP. USE THE NON.BASE ONES.
"Cardboard.Base"
{
"dmg.bullets" "0.5"
"dmg.club" "1.25"
"dmg.explosive" "1.5"
}
// Cardboard / Paper blocks, less than 1 foot cubed.
// i.e. small cardboard boxes, notepads, newspapers, thin books.
"Cardboard.Small"
{
"base" "Cardboard.Base"
"health" "10"
}
// Cardboard / Paper blocks, less than 3 foot cubed.
// i.e. cardboard boxes. thick books
"Cardboard.Medium"
{
"base" "Cardboard.Base"
"health" "20"
}
// Large Cardboard / Paper blocks
// i.e. solid cardboard boxes
"Cardboard.Large"
{
"base" "Cardboard.Base"
"health" "40"
}
//=================================================================================
// CLOTH
//=================================================================================
// Base damage modifiers for cloth objects
// DON'T USE THIS FOR A PROP. USE THE NON.BASE ONES.
"Cloth.Base"
{
"dmg.bullets" "0.5"
"dmg.club" "0.75"
"dmg.explosive" "1.5"
}
// Small / thin cloth objects
// i.e. shorts, shirts, pants.
"Cloth.Small"
{
"base" "Cloth.Base"
"health" "30"
}
// Heavier cloth / leather objects
// i.e. briefcases
"Cloth.Medium"
{
"base" "Cloth.Base"
"health" "50"
}
// Large / thick cloth objects
// i.e. armchairs, mattresses
"Cloth.Large"
{
"base" "Cloth.Base"
"health" "100"
}
//=================================================================================
// WOOD
//=================================================================================
// Base damage modifiers for wooden objects
// DON'T USE THIS FOR A PROP. USE THE NON.BASE ONES.
"Wooden.Base"
{
"dmg.bullets" "0.75"
"dmg.club" "2.0"
"dmg.explosive" "1.5"
"breakable_model" "WoodChunks"
"breakable_skin" "0"
}
// Tiny Wooden pieces that should die in one hit
// i.e splinters
"Wooden.Tiny"
{
"base" "Wooden.Base"
"health" "6"
"breakable_count" "0"
}
// Wooden blocks, less than 1 foot cubed.
// i.e pieces of board, branches.
"Wooden.Small"
{
"base" "Wooden.Base"
"health" "20"
"breakable_count" "0"
}
// Wooden blocks, less than 3 foot cubed.
// i.e boards, small crates, pallettes, ladders, chairs.
"Wooden.Medium"
{
"base" "Wooden.Base"
"health" "30"
"breakable_count" "0"
}
// Large wooden blocks, less than 5 foot cubed.
// i.e Crates, benches.
"Wooden.Large"
{
"base" "Wooden.Base"
"health" "50"
"breakable_count" "0"
}
// Extra large wooden objects
// i.e posts
"Wooden.ExtraLarge"
{
"base" "Wooden.Base"
"health" "100"
"breakable_count" "0"
}
// Huge wooden objects.
// i.e Big Wardrobes, bookcases
"Wooden.Huge"
{
"base" "Wooden.Base"
"health" "130"
"breakable_count" "0"
}
//=================================================================================
// STONE
//=================================================================================
// Base damage modifiers for stone objects
// DON'T USE THIS FOR A PROP. USE THE NON.BASE ONES.
"Stone.Base"
{
"dmg.bullets" "1.0"
"dmg.club" "1.0"
"dmg.explosive" "1.0"
}
// Stone blocks, less than 1 foot cubed
// i.e. cinderblocks, small rocks.
"Stone.Small"
{
"base" "Stone.Base"
"health" "50"
}
// Medium stone blocks, less than 3 foot cubed
// i.e. rubble chunks
"Stone.Medium"
{
"base" "Stone.Base"
"health" "100"
}
// Large stone blocks, less than 5 foot cubed
// i.e. big rubble chunks
"Stone.Large"
{
"base" "Stone.Base"
"health" "200"
}
// Huge stone blocks, less than 5 foot cubed
// i.e. enormous rubble chunks
"Stone.Huge"
{
"base" "Stone.Base"
"health" "400"
}
//=================================================================================
// GLASS
//=================================================================================
// Base damage modifiers for glass objects
// DON'T USE THIS FOR A PROP. USE THE NON.BASE ONES.
"Glass.Base"
{
"dmg.bullets" "1.0"
"dmg.club" "1.0"
"dmg.explosive" "0.1" // Trial: Get knocked around more than destroyed?
}
// Glass blocks, less than 1 foot cubed
// i.e. bottles, jugs, glasses.
"Glass.Small"
{
"base" "Glass.Base"
"health" "5"
"damage_table" "glass"
}
// Glass blocks, less than 1 foot cubed that will shatter
// i.e. bottles, jugs, glasses.
"GlassSmall.break"
{
"base" "Glass.Base"
"health" "5"
"damage_table" "glass"
"breakable_model" "WoodChunks"
"breakable_count" "0"
}
"Glass.Window"
{
"base" "Glass.Base"
"dmg.explosive" "1.0" // Override base glass explosive behavior
"dmg.bullets" "0.5"
"health" "15"
"damage_table" "glass"
}
//=================================================================================
// METAL
//=================================================================================
// Base damage modifiers for metal objects
// DON'T USE THIS FOR A PROP. USE THE NON.BASE ONES.
"Metal.Base"
{
"dmg.bullets" "1.0"
"dmg.club" "1.0"
"dmg.explosive" "1.0"
"health" "0" // By default, metal objects aren't breakable
}
// Small metal blocks, less than 1 foot cubed
// i.e. tin cans, paint tins, metal buckets.
"Metal.Small"
{
"base" "Metal.Base"
}
// Medium metal objects.
// i.e. wheelbarrows, metal boxes, bicycles, barrels, ladders, filing cabinets.
"Metal.Medium"
{
"base" "Metal.Base"
}
// Large metal objects.
// i.e. ibeams, dumpsters, car bodies, refridgerators
"Metal.Large"
{
"base" "Metal.Base"
}
// Destructible barrels that light on fire at halfhealth and explode
// i.e. C:\Depot\r1dev\content\r1\models\containers\barrel_explosive.qc
"barrel.explode"
{
"base" "Metal.Base"
"dmg.bullets" "1.0"
"dmg.club" "1.0"
"dmg.explosive" "1.0"
"health" "500"
"explosive_damage" "120"
"explosive_radius" "256"
"breakable_model" "MetalChunks"
"breakable_count" "0"
//"multiplayer_break" "server"
"fire_interactions"
{
"flammable" "yes"
//"explosive_resist" "yes"
"ignite" "halfhealth"
}
}
// Regular sized Destructible Cars
// i.e. 4 door sedan, that should explode
"VehicleMedium.break"
{
"base" "Metal.Base"
"health" "2000"
//"explosive_damage" "100"
"explosive_radius" "200"
"breakable_model" "MetalChunks"
"breakable_count" "0"
}
// Dropship pieces
"Destructible.break"
{
"base" "Metal.Base"
"health" "1000"
"breakable_model" "MetalChunks"
"breakable_count" "0"
"damage_table" "glass"
}
//=================================================================================
// PLASTIC
//=================================================================================
// Base damage modifiers for plastic objects
// DON'T USE THIS FOR A PROP. USE THE NON.BASE ONES.
"Plastic.Base"
{
"dmg.bullets" "1.0"
"dmg.club" "1.0"
"dmg.explosive" "1.0"
"health" "0"
}
// Plastic blocks, less than 2 foot cubed
// i.e. plastic cups, plastic milk crates, phones
"Plastic.Small"
{
"base" "Plastic.Base"
}
"Plastic.SmallClient"
{
"base" "Plastic.Base"
//"physicsmode" "3"
}
// Breakable small plastic objects
// Dont use until bug has been fixed
"PlasticSmall.break"
{
"base" "Plastic.Base"
//"physicsmode" "3"
"health" "10"
}
// Plastic blocks, less than 4 foot cubed
// i.e. plastic chairs, tables, barrels
"Plastic.Medium"
{
"base" "Plastic.Base"
}
// Large Plastic objects, or medium objects with mixes of plastic & metal that you still want destructable
// i.e. computer equipment
"Plastic.Large"
{
"base" "Plastic.Base"
}
//=================================================================================
// RUBBER
//=================================================================================
// Base damage modifiers for rubber objects
// DON'T USE THIS FOR A PROP. USE THE NON.BASE ONES.
"rubber.Base"
{
"dmg.bullets" "1.0"
"dmg.club" "1.0"
"dmg.explosive" "1.0"
"health" "0"
}
// rubber blocks, less than 2 foot cubed
// i.e. rubber cups, rubber milk crates, phones
"rubber.Small"
{
"base" "rubber.Base"
}
"rubber.SmallClient"
{
"base" "rubber.Base"
//"physicsmode" "3"
}
// rubber blocks, less than 4 foot cubed
// i.e. rubber chairs, tables, barrels
"rubber.Medium"
{
"base" "rubber.Base"
}
// Large rubber objects, or medium objects with mixes of rubber & metal that you still want destructable
// i.e. computer equipment
"rubber.Large"
{
"base" "rubber.Base"
}
//=================================================================================
// ITEMS
//=================================================================================
// Base damage modifiers for items
// DON'T USE THIS FOR A PROP. USE THE NON.BASE ONES.
"Item.Base"
{
"dmg.bullets" "1.0"
"dmg.club" "1.0"
"dmg.explosive" "1.0"
"health" "0" // By default, metal objects aren't breakable
}
// Plastic blocks, less than 2 foot cubed
// i.e. plastic cups, plastic milk crates, phones
"Item.Small"
{
"base" "Item.Base"
}
// Plastic blocks, less than 4 foot cubed
// i.e. plastic chairs, tables, barrels
"Item.Medium"
{
"base" "Item.Base"
}
// Large Plastic objects, or medium objects with mixes of plastic & metal that you still want destructable
// i.e. computer equipment
"Item.Large"
{
"base" "Item.Base"
}
//=================================================================================
// POTTERY
//=================================================================================
// Base damage modifiers for pottery objects
// DON'T USE THIS FOR A PROP. USE THE NON.BASE ONES.
"Pottery.Base"
{
"dmg.bullets" "1.0"
"dmg.club" "1.25"
"dmg.explosive" "1.5"
}
// Pottery blocks, less than 2 foot cubed
// i.e. flowerpots.
"Pottery.Small"
{
"base" "Pottery.Base"
"health" "5"
"damage_table" "glass"
}
// Medium pottery objects
// i.e. large flowerpots.
"Pottery.Medium"
{
"base" "Pottery.Base"
"health" "40"
}
// Large pottery objects
// i.e. big chunks of wall plaster
"Pottery.Large"
{
"base" "Pottery.Base"
"health" "70"
}
// Huge pottery objects.
// i.e. big ornate pottery vessels.
"Pottery.Huge"
{
"base" "Pottery.Base"
"health" "100"
}
//=================================================================================
// FLESH
//=================================================================================
// Base damage modifiers for flesh objects
// DON'T USE THIS FOR A PROP. USE THE NON.BASE ONES.
"Flesh.Base"
{
"dmg.bullets" "1.25"
"dmg.club" "1.0"
"dmg.explosive" "1.5"
}
// Flesh blocks that should die in a single hit
// i.e. fruit, food items, gibs.
"Flesh.Tiny"
{
"base" "Flesh.Base"
"health" "3"
}
// Flesh blocks, less than 1 foot cubed
// i.e. fruit, food items, gibs.
"Flesh.Small"
{
"base" "Flesh.Base"
"health" "10"
}
//=================================================================================
// BREAKABLE DATA. NOT PROPDATA TYPES.
//=================================================================================
"BreakableModels"
{
// Sorted in order of smallest to largest
"WoodChunks"
{
"mdl\Gibs\wood_gib01e.rmdl" "1"
"mdl\Gibs\wood_gib01d.rmdl" "1"
"mdl\Gibs\wood_gib01c.rmdl" "1"
"mdl\Gibs\wood_gib01b.rmdl" "1"
"mdl\Gibs\wood_gib01a.rmdl" "1"
}
"GlassChunks"
{
"mdl\Gibs\Glass_shard01.rmdl" "1"
"mdl\Gibs\Glass_shard02.rmdl" "1"
"mdl\Gibs\Glass_shard03.rmdl" "1"
"mdl\Gibs\Glass_shard04.rmdl" "1"
"mdl\Gibs\Glass_shard05.rmdl" "1"
"mdl\Gibs\Glass_shard06.rmdl" "1"
}
"ConcreteChunks"
{
"mdl\props_debris\concrete_chunk08a.rmdl" "1"
"mdl\props_debris\concrete_chunk09a.rmdl" "1"
"mdl\props_debris\concrete_chunk03a.rmdl" "1"
"mdl\props_debris\concrete_chunk07a.rmdl" "1"
"mdl\props_debris\concrete_chunk09a.rmdl" "1"
"mdl\props_debris\concrete_chunk02a.rmdl" "1"
}
"MetalChunks"
{
"mdl\Gibs\metal_gib1.rmdl" "1"
"mdl\Gibs\metal_gib2.rmdl" "1"
"mdl\Gibs\metal_gib3.rmdl" "1"
"mdl\Gibs\metal_gib4.rmdl" "1"
"mdl\Gibs\metal_gib5.rmdl" "1"
}
}
}