alpha 75 192 400\r
color 0x000000 0x408000\r
originjitter 25 25 25\r
+\r
+// dirt ground effect\r
+// used in: cl_physics.qc: pointparticles(particleeffectnum("ground_dirt"), self.origin, '0 0 0', 1);\r
+effect ground_dirt\r
+countabsolute 5\r
+type alphastatic\r
+tex 0 8\r
+size 2 5\r
+sizeincrease 15\r
+alpha 50 128 75\r
+gravity -0.01\r
+color 0x000000 0xcc9966\r
+originjitter 20 20 5\r
+// debris\r
+effect ground_dirt\r
+notunderwater\r
+count 5\r
+type alphastatic\r
+tex 66 68\r
+color 0x000000 0x886644\r
+size 1 2\r
+alpha 450 750 300\r
+gravity 1.3\r
+airfriction 0.5\r
+bounce 1.6\r
+velocityjitter 124 124 324\r
+rotate -180 180 -1000 1000\r
+\r
+// metal ground effect\r
+// used in: cl_physics.qc: pointparticles(particleeffectnum("ground_metal"), self.origin, '0 0 0', 1);\r
+effect ground_metal\r
+countabsolute 5\r
+type alphastatic\r
+tex 0 8\r
+size 3 6\r
+sizeincrease 10\r
+alpha 25 64 50\r
+gravity -0.01\r
+color 0x000000 0x886666\r
+originjitter 20 20 5\r
+// sparls\r
+effect ground_metal\r
+count 10\r
+type spark\r
+tex 41 41\r
+color 0xFFCC22 0xFF4422\r
+size 2 2\r
+alpha 255 255 112\r
+bounce 1.4\r
+stretchfactor 0.5\r
+velocityjitter 200 200 400\r
+velocitymultiplier 2\r
+airfriction 2\r
+gravity 1\r
if not(trace_dphitq3surfaceflags & Q3SURFACEFLAG_NOSTEPS)\r
{\r
if(trace_dphitq3surfaceflags & Q3SURFACEFLAG_METALSTEPS)\r
+ {\r
GlobalSound(globalsound_metalfall, CHAN_PLAYER, VOICETYPE_PLAYERSOUND);\r
+ pointparticles(particleeffectnum("ground_metal"), self.origin, '0 0 0', 1);\r
+ }\r
else\r
+ {\r
GlobalSound(globalsound_fall, CHAN_PLAYER, VOICETYPE_PLAYERSOUND);\r
+ pointparticles(particleeffectnum("ground_dirt"), self.origin, '0 0 0', 1);\r
+ }\r
}\r
}\r
}\r