...adding fire damage to an existing map?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Bruno =Fs=
Lance Corporal
Posts: 12
Joined: Fri Mar 07, 2003 6:47 pm
Contact:

...adding fire damage to an existing map?

Post 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
"chance favors the prepared mind"
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post 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
Post Reply