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 / How many enemies can I typically expect to place per level?

Author
Message
wallacemarino
15
Years of Service
User Offline
Joined: 21st Nov 2010
Location:
Posted: 21st Nov 2010 09:59
Hi there, I'm a noob here and have just started getting my hands dirty with FPSC. The PC I'm using is XP sp3, Intel 4 2.8g dual core, 2gb ram but only has the crappy 128mb Intel(R) 82915G/GV/910GL Express Chipset Family onboard graphics card.

I'm building a relatively small (15*16 blocks) level that consists of several small rooms, mostly using the stock ww2 items and only stock scripts. I am only halfway complete and I already have 8 enemy AI's in place, the trouble is my test game runs at a shocking 5fps and a test exe I built at a not much better 14fps. It seems I can make levels as big as I want and add all the scenery I want but as soon as I get over 4 enemies I start to lose speed. Am I doing something wrong? or is it just my tired old PC?

Also so I had something to compare it to I downloaded and played the VBOTB winner Red Shift. That played perfectly well on my PC running at a pretty consistent 28-30fps even though some of those levels had up to six AI's.

...and before you ask I did shutdown all non-essential programs before I ran my exe.

Any advice you can give would be great.
bruce3371
15
Years of Service
User Offline
Joined: 4th Aug 2010
Location: Englishland
Posted: 21st Nov 2010 17:11
Try spawning your enemies 1 at a time instead of all at once. Enemies can be spawned using a trigger zone. In the enemies' properties, set it to NOT spawn at start, set 'max at any time' to 1 and 'maximum spawn' to 1.

Place your trigger zones so that as you play through the level, each enemy is spawned individually, but be carefull where you place the trigger zones, so that you can't see the enemy being spawned. E.G. place a trigger zone before you reach a corner, with the enemy appearing around the corner where you can't see it spawning.

Hope this helps.

The Storyteller 01
17
Years of Service
User Offline
Joined: 11th May 2009
Location: On a silent hill in dead space
Posted: 21st Nov 2010 17:59
In addition to the above you have to make sure, that everything you spawn also vanishes to avoid lag.

So either set the scene, so that the PC has to kill the mob to proceed, or if the PC can avoid/escape the mob after the spawn - edit the lifespan of the mob in its properties so it's vanishing after 60 - 180 secs (depending on the map layout).

In case you find my grammar and spelling weird ---> native German speaker ^^
The Zoq2
16
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 21st Nov 2010 22:18
Do you need a script for the triggerzone

Srry about my english im from sweeden
Bootlicker
17
Years of Service
User Offline
Joined: 29th Mar 2009
Location: Germany
Posted: 21st Nov 2010 22:40
If you havent yet, you would be hugely beneficial to download the latest update for FPSC just run the installer and you should have a much more pleasant experience with everything including fps.

Link: http://www.thegamecreators.com/?m=view_product&id=2001&page=Files


bruce3371
15
Years of Service
User Offline
Joined: 4th Aug 2010
Location: Englishland
Posted: 21st Nov 2010 23:34
For the trigger zone, you just point it to the entity/character you want to spawn in the 'if used' section and for the trigger's main ai script you need to use 'plrinzoneactivateused.fpi'.

raymondlee306
16
Years of Service
User Offline
Joined: 24th Oct 2009
Location: Ohio
Posted: 22nd Nov 2010 00:27
The offical fpsc community guide and the manual also explains this fairly well. I also wrote a tutorial here that might help get you started.

http://forum.thegamecreators.com/?m=forum_view&t=177710&b=21
wallacemarino
15
Years of Service
User Offline
Joined: 21st Nov 2010
Location:
Posted: 22nd Nov 2010 05:53
Cheers for the advice guys, whilst I've been away from the board I kinda figured out for myself about triggering enemies spawning. I've set my level up so that I'm never running more than 2 enemy AI's at any time, I also removed a lot of unnecessary dynamic objects I had lying around and reduced the textures in the test game to minimum, however I'm still only managing to get a test speed of 10fps. Is there anything else I can do to up the speed?
da2020
16
Years of Service
User Offline
Joined: 26th Dec 2009
Location: C:\\Program Files\\
Posted: 23rd Nov 2010 05:19
@wallacemarino what version of FPSC are u using? the new update won't lag that bad. 1.18 seems kinda laggy try the complete update of 1.17 if you don't have it.

Login to post a reply

Server time is: 2026-07-03 14:40:34
Your offset time is: 2026-07-03 14:40:34