Player can not activate the bombs in obj_DogWhite0.9

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
proximo
Warrant Officer
Posts: 137
Joined: Mon Dec 20, 2004 8:48 pm
Location: Belgium
Contact:

Player can not activate the bombs in obj_DogWhite0.9

Post 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
:?:
www.mohaaclantb.tk
Take a look to our server we add bots to more than 120 maps and we never stop
Server IP 91.194.236.203:12207
Image
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post 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.
Image
User avatar
proximo
Warrant Officer
Posts: 137
Joined: Mon Dec 20, 2004 8:48 pm
Location: Belgium
Contact:

Post 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^
www.mohaaclantb.tk
Take a look to our server we add bots to more than 120 maps and we never stop
Server IP 91.194.236.203:12207
Image
Image
Post Reply