aboutsummaryrefslogtreecommitdiff
path: root/sp/game/mod_episodic/scripts/surfaceproperties_ep2.txt
blob: da4d4088d64f042e592299e0b0ecbfa53a4a2c0f (plain) (blame)
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
// "surface group" 
// { 
// "property" 	"value"
// ...
// }
//
// thickness: If this value is present, the material is not volumetrically solid
// it means that the volume should be computed as the surface area times this
// thickness (for automatic mass).  The inside space beneath the thickness value is air.
//
// physics parameters are:
// density: this is the material density in kg / m^3 (water is 1000)
// elasticity: This is the collision elasticity (0 - 1.0, 0.01 is soft, 1.0 is hard)
// friction: this is the physical friction (0 - 1.0, 0.01 is slick, 1.0 is totally rough)
// dampening: this is the physical drag on an object when in contact with this surface (0 - x, 0 none to x a lot)
//
// !!! Do not edit the physics properties (especially density) without the proper references !!!
//`
// Sounds
// 
// stepleft: footstep sound for left foot
// stepright: footstep sound for right foot
// impactsoft: Physical impact sound when hitting soft surfaces
// impacthard: Physical impact sound when hitting hard surfaces
// scrapesmooth: Looping physics friction sound (when scraping smooth surfaces)
// scraperough: Looping physics friction sound (when scraping rough surfaces)
// bulletimpact: bullet impact sound
// gamematerial: game material index (can be a single letter or a number)
// 

// NOTE: The properties of "default" will get copied into EVERY material who does not
// 	 override them!!!
//
// "base" means to use the parameters from that material as a base.
// "base" must appear as the first key in a material
//

"cavern_rock"
{
	"base"  "rock"
	
	"density" "700"
	"elasticity" "0.1"
	"friction" "0.8"
	"bulletimpact" "CavernRock.ImpactHard"
	"scraperough"	"Rock.ImpactHard"
	"scrapesmooth"	"Rock.ImpactSoft"
	"impacthard" "CavernRock.ImpactHard"
	"impactsoft" "CavernRock.ImpactSoft"
	
	"gamematerial" "O"
}

"advisor_shield"
{
 "base"  "rock"
 
 "density" "700"
 "elasticity" "0.1"
 "friction" "0.8"
 "bulletimpact" "NPC_Advisor.shieldblock"
 "scraperough" "NPC_Advisor.shieldblock"
 "scrapesmooth" "NPC_Advisor.shieldblock"
 "impacthard" "NPC_Advisor.shieldblock"
 "impactsoft" "NPC_Advisor.shieldblock"
 
 "gamematerial" "Z"  // <--- Whatever you make the character index in decals.h
}

"antlion_eggshell"
{
 "base"  "flesh"
"bulletimpact"	"Flesh.ImpactHard"
"impacthard"	"Flesh.ImpactHard"
"impactsoft"	"Flesh.ImpactHard"

 "gamematerial" "E"
}


"hunter"
{
	"base" "flesh"
	"gamematerial" "F"
}

"jalopytire"
{
	"base"			"jeeptire"
	"elasticity"		"0.1"
}

"slidingrubbertire_jalopyfront"
{
	"base"			"jalopytire"
	"friction"		"0.15"
}

"slidingrubbertire_jalopyrear"
{
	"base"			"jalopytire"
	"friction"		"0.15"
}

"water"
{
	"density"	"1000"
	"elasticity"	"0.1"
	"friction"	"0.8"

	"stepleft"	"Water.StepLeft"
	"stepright"	"Water.StepRight"
	"bulletimpact"	"Water.BulletImpact"

	"impacthard" "Water.ImpactHard"
	"impactsoft" "Water.ImpactSoft"

	"audioreflectivity" "0.33"
	"audioroughnessfactor" "0.1"
	"audiohardnessfactor" "0.0"

	"gamematerial"	"S"
}

"jalopy"
{
	"base"			"metal"
	"impacthard"	"ATV_impact_medium"
	"impactsoft"	"ATV_impact_medium"
}