Can you change a bombs arm/disarm and countdown times?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
cRazY H0rs3

Can you change a bombs arm/disarm and countdown times?

Post by cRazY H0rs3 »

I am using this to set the bombs:

$some_bomb thread global/obj_dm.scr::bomb_thinker
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Copy this stuff into your script and remove the line you had before.

Code: Select all

   level.bomb_set = 0
   level.bomb_defuse_time = 60 //tenths of a second
   level.bomb_set_time = 50  //tenths of a second
   level.bomb_tick_time = 45  //seconds (was 60 seconds, then 30 seconds)
   level.bomb_explosion_radius = 1054  //quake units
   level.bomb_use_distance = 128 //quake units
   level.bomb_damage = 200
   level.bombusefov = 30

   level.subtitleX = 100
   level.subtitleY = 50

   self.target.collisionent = self.target.target
   self.target notsolid
   $some_bomb thread global/obj_dm.scr::bomb_waittill_set

Set level.bomb_defuse_time and level.bomb_set_time to anything you want.
Guest

Post by Guest »

Thanks for the fast reply and useful tip!
Post Reply