Classname: | obj_ice |
Purpose: | Adding variety. |
H2 Code: | object.hc |
Creates a slippery, destructible brush that can also be translucent.
It's not actually used in the game, but seems to work nonetheless!
Idea that I've tested: ice that can be walked on, but breaks & drops you into
water, which takes off health (via
trigger_hurt), because it's cold. Of course a good winter
ambience would require more graphic support; I believe we'll
see it in the addon ... rtex172 looks pretty good as an ice-texture, transparent or opaque. |
health | Value is a number, damage it takes before breaking. The default is 20, which lets you walk a short distance before the ice breaks. A value of 3 will break almost immediately. |
abslight | Value is a number between 0 and 1; absolute illumination. Doesn't seem to do much unless NOTRANS spawnflag is checked |
friction | Value is a number between 0 and 10; 1 is normal; .2 is default for ice. |
spawnflags | Sum of numbers for these properties:
|