Multiplayer scripting

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Multiplayer scripting

Post by Alcoholic »

I'm thinking of starting scripting/mapping for multiplayer, and I need to know a few things first...

1. Does the WHOLE script start over each round?
2. Are there any bugs with rounds reseting and the script not reseting?

What exactly does each line of the g_allietext etc mean?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

1. No only the first round the section above level waittill spawn is executed. All other rounds the script starts at level waittill spawn.

2. Uh well see 1 :)

3. These are the objective texts you see in the scoreboard when the round has ended or when you press TAB.
Image
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

yea i figured out no.3 yesterday night, just noticed it was that text stuff.

so each round it goes thru level waittill spawn, and then waittill roundstart?

i noticed something in the stock obj maps. they gave custom values for bombthinker, such as level.bomb_damage, and they put it after waittill spawn. then after waittill roundstart, they initialized bombthinker. however, i looked in the bombthinker script, and it gives level.bomb_damage a default value. so wouldnt their custom value be overwritten?
w0lv3
Lance Corporal
Posts: 23
Joined: Fri Jun 27, 2003 12:53 pm
Location: Australia

Post by w0lv3 »

All other rounds the script starts at level waittill spawn.
i presume the script in waittill spawn start after waittill roundstart have finished...

just a thought :?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Alcoholic wrote:however, i looked in the bombthinker script, and it gives level.bomb_damage a default value. so wouldnt their custom value be overwritten?
Yeah. 2015's scripts are litterally scattered with bugs (call in mohaa_rox ;)).
Last edited by jv_map on Sun Jun 29, 2003 8:56 am, edited 1 time in total.
Image
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

and there making cod??? :shock:
Post Reply