Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Repeating levels in a loop

Author
Message
Lucidx
15
Years of Service
User Offline
Joined: 22nd Jul 2009
Location:
Posted: 25th Aug 2009 07:01
This is probably the dumbest thing I've asked but I cannot for the life of me find a solution.

I am making a horror sandbox style game (thats all im saying for now) and the key to a sandbox game is of course freeroam capability.

Win zones only allow you to advance to the next level, is it possible to make a level with multiple win zones, each leading to a different level, and then back again except all the enemys have respawned?

Lucidx
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 25th Aug 2009 09:05 Edited at: 25th Aug 2009 09:06
This requires 2 things to accomplish.

1) You need a Mod that allows you to set the next level through scripting. Project Blue can do this.

2) You need a lot of setting up.


I made a freeroam test game a while back when I made the "nextlevel" command. What I did was make a unique script for each "portal" that would lead to a certain map. I would have it set which level was to be loaded as well as a variable that determined where the player would spawn (that's an entirely different subject, but involves placing entities in all the different spawn locations and having a script relocate the player to those entities based upon a variable's value) I put those scripts into triggerzones and placed those triggerzones in front of winzones. The triggerzone would set the next level and the winzone would end the current level.


Hope that was informative enough.


[EDIT]
It wasn't a dumb question. This type of thing is actually pretty hard to accomplish.


The one and only,


Lucidx
15
Years of Service
User Offline
Joined: 22nd Jul 2009
Location:
Posted: 25th Aug 2009 18:29
Alright I'll try this out, hopefully it works.

Lucidx

Login to post a reply

Server time is: 2024-11-25 06:51:58
Your offset time is: 2024-11-25 06:51:58