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 Product Chat / Can i split a large level?

Author
Message
RyanR
15
Years of Service
User Offline
Joined: 4th May 2011
Location:
Posted: 4th May 2011 12:30
Hello ive had fps for about 4 days and cant stop making my game . I have made a large lvl and its starting to run way to slow so i would like to split it and make a lvl 1 and 2 is this possible or do i need to delete what i cant put in my lvl? Oh and another question when i go to creat my game is each saved game suppose to be a level? can they be revisited to pick up missed items? Thanks in advance guys
Ched80
15
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 4th May 2011 15:38
A warm welcome to the FPSC forum!

You can split large levels up into smaller levels to improve frame rate. You can create up to 50 levels in FPSC.

You will need to create both parts of your game as separate maps (two separate map files) and then follow the guide in the user manual and community guide in order to combine the maps into one game.

When you building your maps, you will only be able to test 1 map at a time using FPSC, to test the complete game, you will need to compile it and run it out side of the editor.

FPSC does allow you to travel back to a previous level. There is a script command "nextlevel=x" that will allow you to do this, but you will need to create a custom script to make this work. Travelling back to previous levels, however, will reset the previous level to its original form 9i.e. enemies originally killed will be alive and the player will start at the green arrow), FPSC does not automatically remember how the level was left.
I believe RPGmod offers the ability to travel back to levels where the state of the previous level is maintained. since you are new to FPSC I would recommend learning all you can from stock FPSC before attempting to use a mod.

Good luck with your project!

[url="http://raptr.com/No_Turn_Right?src=em_forum"][/url]
Metal Devil123
17
Years of Service
User Offline
Joined: 13th Jul 2008
Location: Suomi, Finland
Posted: 4th May 2011 16:16
Each level you create in the builder is a seperate level, that you can put together in the "build game" process into a game with multiple levels. And if you have already made the level and want to split it afterwards, then I don't think that's possible at the moment. You just have to delete what you think you want into the next level and then do it by pressing "New game" button (after you saved ofcourse)
Here is a link to a very good tutorial. You can see the rest of the tutorials in the recommended videos. Hope I helped and I hope you have a fun time making games with FPS Creator!

RyanR
15
Years of Service
User Offline
Joined: 4th May 2011
Location:
Posted: 5th May 2011 02:09
Cool thank you guys for the fast responses. Im going to go work on cutting my lvl down now. I think I can work with having to start at the beginning each time I reenter into the level. I was gonna try to make it so when im in the city I can find tools that would help me survive when in the woods. An example would be I finda axe in my shed or hammer in construction zone so I can take it to the woods to cut a tree into logs, once I have logs use the hammer and logs to make a log cabin. Is that possible to do? Or clump of dry grass and knife and flint to make a fire. I have a feeling im going to need to learn to script pretty good. Thanks again
Ched80
15
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 5th May 2011 11:29
The game mechanics you speak off (chopping trees into logs, building cabins from logs) are possible, but it depends exactly on what you're expecting.

It is very likely you will need to script, but there are one or two script request threads within the FPSC Scripts board that may help you get started. The community guides are great for learning.

Going back to your ideas; it would be possible to create a script that will spawn some logs when a tree is destroyed and then spawn a cabin when the hammer is used on the logs.

However, there is no chopping animation in stock FPSC and I don't believe there are any tree falling animations or cabin building animations, which you may want for this to look good.

The idea of manipulating the game environment as you describe is very interesting and I'm sure others would be interested in seeing what you achieve!

[url="http://raptr.com/No_Turn_Right?src=em_forum"][/url]
RyanR
15
Years of Service
User Offline
Joined: 4th May 2011
Location:
Posted: 5th May 2011 14:03
Thank you for the advice im relieved to know what im trying to do is somewhat possible mostly depending on the effort im willing to put into it.
uman
Retired Moderator
21
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: UK
Posted: 5th May 2011 19:10
If you have a large level you want to split the best way to do it is probably to :

Make a backup of your original work and level first and keep it somewhere safe so that you can always go back to it if need be. In fact you can also keep a a copy of the original existing level inside FPSC and just keep it safe.

Now you can save the level out twice more with different names as new exact copies so you now have 3 copies with diffrent names. Yes.

Now take two of them as : level 1 and level 2 and remove (delete) from each of them the opposite half or parts you wish to remove so you now have two levels each with approximately half of your original level. Job done.

If you have any problems you still have the original.

Its either that or rebuild the original as two separate levels.

Hope that helps.




250 seamless textures : http://www.umedia.co.uk
Daniel wright 2311
User Banned
Posted: 5th May 2011 21:08
Quote: "Can i split a large level?"


1.GO BACK TO THE MAIN SITE
2.CLICK ON GAME DEVELOPMENT
3.CLICK ON DARK BASIC PRO
4.DOWNLOAD DARK BASIC PRO
5.LEARN TO USE DARK BASIC PRO.

But with all seriousness You should use dark basic pro if you want fast fram rates, bigger levals and the options to go back to latter levels,Also you can set up easy code for timed movment so everything moves at the frame of that pc.When you learn how to code then there is no limit to what you can do,none.

my signature keeps being erased by a mod So this is my new signature.
underthegun
15
Years of Service
User Offline
Joined: 5th May 2011
Location: Atlanta, GA
Posted: 7th May 2011 03:21
@Chad couldn't you create the same map twice one with enemies and one without. then when you leave a level and want to go back call on the one with no enemies? As if you've beaten it.
Ched80
15
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 7th May 2011 10:21 Edited at: 7th May 2011 10:22
Chad?

Yes - creating two levels and coding the level to return to the unpopulated version is possible, but if you make any future changes to the original level you'll have to do te same in the unpopulated version.

Another way would be to spawn the entities based on a variable.
At the start of your game you could create a variable called "Level01Complete" and set this to zero. Then when you complete that level you can set the variable to 1.
You could then make a generic level1appear.fpi script that destroys the entity if Level01Complete>0:
Quote: ":varequal=Level01Complete 1:destroy"


If you can only navigate you levels sequentially (i.e. you can only go up and down the levels), you could even make the appear script generic using two additional variables "HighestLevel" & "CurrentLevel". You would need to set the "HighestLevel" variable to the highest level reached by the player at the end of each level, i.e.
Level 3 example:
Quote: ":varless=HighestLevel 3:setvar=HighestLevel 3"
The "CurrentLevel" would need to be set at the start of each level:
Quote: ":levelequal=1:setvar=CurrentLevel 1
:levelequal=2:setvar=CurrentLevel 2
etc."

then your appear script modification would be:
Quote: ":varless=CurrentLevel %HighestLevel:destroy"


[url="http://raptr.com/No_Turn_Right?src=em_forum"][/url]

Login to post a reply

Server time is: 2026-06-17 11:08:00
Your offset time is: 2026-06-17 11:08:00