Linking Maps

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
PsychoE
Captain
Posts: 243
Joined: Mon Oct 21, 2002 7:40 pm

Linking Maps

Post by PsychoE »

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?

Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

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
User avatar
PsychoE
Captain
Posts: 243
Joined: Mon Oct 21, 2002 7:40 pm

Post by PsychoE »

Seems too easy - thanks for the assistance.
PSYCHO - Who you callin a PSYCHO?

Image
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

Easier:

levelend:
exec global/missioncomplete.scr test_xxx
end
Live to map, not map to live.
-mohaa_rox, .map
moderator
User avatar
PsychoE
Captain
Posts: 243
Joined: Mon Oct 21, 2002 7:40 pm

Post by PsychoE »

Thanks rox - I couldn't get that other one to work anyway. I will try yours.
PSYCHO - Who you callin a PSYCHO?

Image
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 »

that won't carry player stats
hope this helps, prob not cos it's all foreign 2 me :-/
User avatar
PsychoE
Captain
Posts: 243
Joined: Mon Oct 21, 2002 7:40 pm

Post by PsychoE »

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?

Image
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

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
Post Reply