Page 1 of 1

Player can not activate the bombs in obj_DogWhite0.9

Posted: Wed Aug 24, 2005 10:02 pm
by proximo
Player can not activate the bombs in obj_DogWhite0.9.

Is this maps not finish? Or scripting problem?

I want add bot to it, and bots can activate bombs with targetname $t21

and $t23 ( I found this in dogwhite.bsp). And i change the script to:


$t21 thread global/jv_obj_dm.scr::bomb_thinker
$t23 thread global/jv_obj_dm.scr::bomb_thinker

waitthread global/jv_bots/jv_mp_ai.scr::enable

$t21 thread axis_win_timer
thread allies_win_bomb

thread bomb1_exploded $t21
thread bomb2_exploded $t23

thread random_explosions_setup

It still not work to activate by players.

Can you help me
:?:

Posted: Thu Aug 25, 2005 7:10 am
by jv_map
Check entire console for error messages (can make a log 'qconsole.log' with logfile 2 prior to starting map).

Do you get any messages in the console when you try to plant the bomb?

Make sure the trigger is set up correctly (must be a trigger_use, and check if the $trigger_name key of the bomb is correct.

Posted: Fri Aug 26, 2005 7:40 pm
by proximo
jv_map wrote:Check entire console for error messages (can make a log 'qconsole.log' with logfile 2 prior to starting map).

Do you get any messages in the console when you try to plant the bomb?

Make sure the trigger is set up correctly (must be a trigger_use, and check if the $trigger_name key of the bomb is correct.

I commend out "//level waittill roundstart " the orginal file to test it multiplayer, but i can not activate the bombs, in the console I see an error script here below.


^~^~^ Script Error: Field 'exploded' applied to NULL listener

while (local.bomb1.exploded != 1) (maps/obj/dogwhite.scr, 79)
while (local.bomb1^

^~^~^ Script Error: Field 'exploded' applied to NULL listener

while (local.bomb2.exploded != 1) (maps/obj/dogwhite.scr, 97)
while (local.bomb2^