Page 1 of 1

Auto-Loading Maps

Posted: Mon Dec 01, 2003 10:25 pm
by m4rine
How do you get auto-loading maps like in the original? Like where you load one map like the 'a' part of the campaign and when you reach a certain point it loads the 'b' map. But it doesn't go to the main screen - just straight to a loading screen.

Would this be done by creating a trigger and when it is activated (in my case someone opening a door) run something in the script like the statement

Code: Select all

exec maps/mapname.bsp
???

Would that be the right method?

Posted: Mon Dec 01, 2003 11:56 pm
by nuggets
in radiant with a non model/entity selected press N
then you'll see all different options you can enter

there's one for i think transition, just use that as it states :D

Posted: Tue Dec 02, 2003 4:17 am
by bdbodger
Have a look at the global/missioncomplete.scr two types of transition bsp transition and leveltranision

Posted: Tue Dec 02, 2003 4:30 am
by Gold
ok heres a good question,,kina pertaining to same line maybe,,lets say i was running a multiplayer server,,and i wanted to load dm/MP_Bahnhof_DM ,,ok run like 4 other maps and then come back and reload same map dm/MP_Bahnhof_DM except this time with different script,,,would there be anyway at the end of the script to say maybe set a time limit for each map ,,example 10 minutes,,and then have script call for next script to load and load same bsp file with different script that may have different spawn points or mods?
<TWZ>Gold <<mohha freak

Posted: Thu Dec 04, 2003 3:15 am
by omniscient
yes you could. all you would have to do is renaim the map to something similar. like map_1 and map_2. make it all appear the same in game, just technicaly its different. that make any sense?

Posted: Thu Dec 04, 2003 4:45 am
by Gold
yeah makes sense but if i renamed the map wouldnt ppl have to download the newly renamed map be4 they could connect to it,,,this is what im trying to avoid??
<TWZ>Gold<<mohha freak

Posted: Thu Dec 04, 2003 1:19 pm
by bdbodger
yes that would require a download . On thing you could do is have it all in one script and maybe have the script choose actions randomly maybe . I don't know but is it possible to set a cvar in the script that keeps it's value so the next time you play the map the script will choose other actions ? I mean does the server keep a cvar value map to map ?

Posted: Thu Dec 04, 2003 11:47 pm
by omniscient
well, if u put the map in the same pk3 people wouldnt know they were getting two maps :D i know it doesnt solve your problem, i just said it so if there wasnt a solution, you could do that. to bad u cant leave cookie type thing to see if they played the map already.