Page 1 of 1

...adding fire damage to an existing map?

Posted: Sun Jan 18, 2004 10:26 pm
by Bruno =Fs=
Hello, i would like to add fire damage to an existing map. I'll use mohdm2 as an example. I know i should exec the firedeath.scr, at the beginning of the map.scr what would be the exec command at the beginning of the map script and under:

local.fireandsmoke = spawn script_model
local.fireandsmoke model "emitters/fireandsmoke.tik"
local.fireandsmoke.origin = ( -993.57 -2986.05 -73.88)
local.fireandsmoke.angles = (0.00 0.00 0.00)
local.fireandsmoke notsolid


I'd appreciate any help. Thanks in advance.

Image

Posted: Mon Jan 19, 2004 9:56 am
by bdbodger
Maybe spawn a trigger_multiple and give it a key of setthread and value of fire_hurt and have a thread in the level.script such as

fire_hurt:
self volumedamage 10
end