Page 1 of 1

Trouble with bomb damage and radius

Posted: Thu Jul 11, 2002 5:20 am
by Unspecified
Has anyone successfully been able to alter the bomb damage and radius settings in their maps?

I have set up exploders and objectives based on the tutorials here at MOH Design and everything is working just dandy....except I can't seem to change the damage and radius settings.

I'm referring to these script entries:


level.bomb_damage = 200
level.bomb_explosion_radius = 640

I can change the number values in the script, but it seems to have no effect in the game.

Any help would be appreciated....

Posted: Thu Jul 11, 2002 5:37 pm
by Wombat
If you are using the obj_dm.scr then those values are in that script as well, and that is why you cannot change them. Because they override your settings. Include the obj_dm.scr in your script file, and you will be able to change them .

instead of

$bomb thread global/obj_dm.scr::bomb_thinker

use

$bomb thread bomb_thinker

etc..... after you include it.....

if you are using the exploder.scr

then after you call the exploder.scr:: #set

run a Radiusdamage command

format
radiusdamage $bomb.origin radius(quake units) damage
ie
radiusdamage $bomb.origin 640 200