bomb damage

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
sg.Pepper
Second Lieutenant
Posts: 152
Joined: Tue Jan 13, 2004 2:47 pm
Location: Czrch Republic
Contact:

bomb damage

Post by sg.Pepper »

hi, i have qustion: how can i set bomb damage to 0?
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

If you are talking about a bomb objective:

Code: Select all

level.bomb_damage = 200
Admin .MAP Forums
Image
Head above heels.
sg.Pepper
Second Lieutenant
Posts: 152
Joined: Tue Jan 13, 2004 2:47 pm
Location: Czrch Republic
Contact:

Post 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
???
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post 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.
Admin .MAP Forums
Image
Head above heels.
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post 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
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post 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 :)
Admin .MAP Forums
Image
Head above heels.
Post Reply