Post your scripting questions / solutions here
Moderator: Moderators
PsychoE
Captain
Posts: 243 Joined: Mon Oct 21, 2002 7:40 pm
Post
by PsychoE » Sun Apr 06, 2003 8:38 pm
I think this would be the proper place for this Q.
If i made 2 or 3 sp maps, is there a way to link them so that u have a continuous flow?
Plus - I don't know how to put multiple obj's in a sp map. Haven't seen any tuts or info on it.
Anyone know where i can learn about the above q's?
PSYCHO - Who you callin a PSYCHO?
bdbodger
Moderator
Posts: 2596 Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:
Post
by bdbodger » Sun Apr 06, 2003 11:24 pm
bsptransition( String next_map )
Transitions to the next BSP. Keeps player data, and game data.
make a trigger and thread and use this will load next map
PsychoE
Captain
Posts: 243 Joined: Mon Oct 21, 2002 7:40 pm
Post
by PsychoE » Sun Apr 06, 2003 11:34 pm
Seems too easy - thanks for the assistance.
PSYCHO - Who you callin a PSYCHO?
mohaa_rox
Field Marshal
Posts: 2760 Joined: Mon Nov 11, 2002 7:05 am
Contact:
Post
by mohaa_rox » Mon Apr 07, 2003 3:25 am
Easier:
levelend:
exec global/missioncomplete.scr test_xxx
end
Live to map, not map to live.
-mohaa_rox, .map
moderator
PsychoE
Captain
Posts: 243 Joined: Mon Oct 21, 2002 7:40 pm
Post
by PsychoE » Mon Apr 07, 2003 1:21 pm
Thanks rox - I couldn't get that other one to work anyway. I will try yours.
PSYCHO - Who you callin a PSYCHO?
nuggets
General
Posts: 1006 Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:
Post
by nuggets » Mon Apr 07, 2003 7:59 pm
that won't carry player stats
hope this helps, prob not cos it's all foreign 2 me :-/
PsychoE
Captain
Posts: 243 Joined: Mon Oct 21, 2002 7:40 pm
Post
by PsychoE » Mon Apr 07, 2003 9:09 pm
I can't get either to work anyways. I was just running some test tutorial maps and thought i would try it out. Oh well. I am not so good at the scripting thing anyways. If I make a serious sp map(s), I will come and ask for help.
PSYCHO - Who you callin a PSYCHO?
mohaa_rox
Field Marshal
Posts: 2760 Joined: Mon Nov 11, 2002 7:05 am
Contact:
Post
by mohaa_rox » Tue Apr 08, 2003 2:53 am
You have to put ur SP maps into main\maps folder first. Then
exec global/missioncompete.scr test_2 //loads second map
Trust me, this works.
Or i think there's something in the worldspawn that loads the second map after that map, try to check for the keys in the worldspawn entity.
Live to map, not map to live.
-mohaa_rox, .map
moderator