Page 1 of 1

bomb damage

Posted: Mon Feb 07, 2005 2:23 pm
by sg.Pepper
hi, i have qustion: how can i set bomb damage to 0?

Posted: Mon Feb 07, 2005 2:35 pm
by Bjarne BZR
If you are talking about a bomb objective:

Code: Select all

level.bomb_damage = 200

Posted: Mon Feb 07, 2005 3:37 pm
by sg.Pepper
thanks, but i will try level.bomb_damage = 0, and damage around bomb is still the same :-(
in map are 5 bombs,
may be in radiant set for every bomb something like
key/value
damage/0
???

Posted: Mon Feb 07, 2005 6:28 pm
by Bjarne BZR
level.bomb_damage should work, but you must set it after you execute the bomb_thinker threads, because they set level.bomb_damage to 200.

Posted: Mon Feb 07, 2005 8:24 pm
by Green Beret
whats the targetname of the bomb,example if its
$bomb1
then you would do this

Code: Select all

radiusdamage $bomb1 0 0

Posted: Mon Feb 07, 2005 9:54 pm
by Bjarne BZR
Green Beret wrote:whats the targetname of the bomb,example if its
$bomb1
then you would do this

Code: Select all

radiusdamage $bomb1 0 0
Well, yes: if you are exploding the bombs yourself manually, you could do that. But if you are using the standard bomb script, it will do this when a bomb explodes:

Code: Select all

radiusdamage self.origin level.bomb_damage level.bomb_explosion_radius
...so you can set both level.bomb_damage and level.bomb_explosion_radius to 0 after executing:

Code: Select all

$name_of_your_bomb thread global/obj_dm.scr::bomb_thinker
...and you should have a few pretty harmless bombs :)