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 / How do I spawn infinite Characters?

Author
Message
MaimedSoldier
14
Years of Service
User Offline
Joined: 2nd Nov 2010
Location: In The Matrix
Posted: 18th Nov 2010 06:12
I'm making a Nazi zombie game and in it I need infinite characters to respwan after they are dead to the place they started. How do I do this. and I have tried one way. I set spawn to 9999, I then set spawn after delay: yes, then time 300. But when testing game I get an error when downloading all those entity instances. Around 900 it stops and says extra debug info 0.0

Is there another way to spawn zombies or a way to fix this problem?

War Doesn't Make boys men, it makes men dead.
Seth Black
FPSC Reloaded TGC Backer
20
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 19th Nov 2010 18:26 Edited at: 19th Nov 2010 18:26
This will help you to optimize gameplay, fps, and perhaps help you to better
accomplish your goal:

http://forum.thegamecreators.com/?m=forum_view&t=73014&b=23

Gencheff
14
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 19th Nov 2010 18:41
I'm going to release a system for a Nazi Zombie-ish game shortly.

Seth Black
FPSC Reloaded TGC Backer
20
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 19th Nov 2010 19:04
...that sounds very interesting, Gencheff!

MaimedSoldier
14
Years of Service
User Offline
Joined: 2nd Nov 2010
Location: In The Matrix
Posted: 19th Nov 2010 23:57
lol thanks again seth black and gencheff cant wait for your mod looks cool

War Doesn't Make boys men, it makes men dead.
MaimedSoldier
14
Years of Service
User Offline
Joined: 2nd Nov 2010
Location: In The Matrix
Posted: 20th Nov 2010 00:09 Edited at: 20th Nov 2010 00:10
Im sorry I read it but I dont understand how to spawn infinite characters.
Im probably the biggest FPS noob their is D:

War Doesn't Make boys men, it makes men dead.
Gencheff
14
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 20th Nov 2010 00:21
As I said,not for beginners.Wait for the demo tomorrow,you might get a better idea then

MaimedSoldier
14
Years of Service
User Offline
Joined: 2nd Nov 2010
Location: In The Matrix
Posted: 20th Nov 2010 09:47
thanks

War Doesn't Make boys men, it makes men dead.
Plystire
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 21st Nov 2010 02:15
For your spawning, you will want to tell FPSC how many of the entities should be spawned at a time. If you don't it's likely going to spawn way too many and cause problems. You can dot his through the entity's options (same place you set the other properties for spawning).

Hope that helps.


The one and only,


Only those who sow the seeds of their desires will reap their benefits later.
However, I have seeds of my own to tend to. I don't have time to be someone else's watering can.
MaimedSoldier
14
Years of Service
User Offline
Joined: 2nd Nov 2010
Location: In The Matrix
Posted: 21st Nov 2010 05:14
I set maximum spawn to 999 and at a time to 1

War Doesn't Make boys men, it makes men dead.
MaimedSoldier
14
Years of Service
User Offline
Joined: 2nd Nov 2010
Location: In The Matrix
Posted: 21st Nov 2010 05:14
but it still screws up

War Doesn't Make boys men, it makes men dead.
MaimedSoldier
14
Years of Service
User Offline
Joined: 2nd Nov 2010
Location: In The Matrix
Posted: 21st Nov 2010 21:39
I fixed it. Thanks guys for helping a noob

War Doesn't Make boys men, it makes men dead.
gladius
16
Years of Service
User Offline
Joined: 4th Aug 2008
Location:
Posted: 26th Nov 2010 09:34 Edited at: 28th Nov 2010 05:26
speaking of infinite spawning, I have noticed a bug where when one has characters infinity spawn, they end up as shadows and hovering guns. its very strange. Has anyone else seen this or better yet knows how to fix this?

I think it might have something to with the ragdoll death script.
gladius
16
Years of Service
User Offline
Joined: 4th Aug 2008
Location:
Posted: 28th Nov 2010 05:26 Edited at: 28th Nov 2010 05:26
hello?
MaimedSoldier
14
Years of Service
User Offline
Joined: 2nd Nov 2010
Location: In The Matrix
Posted: 8th Dec 2010 05:15
I have never seen this. Of course I always use zombies

War Doesn't Make boys men, it makes men dead.

Login to post a reply

Server time is: 2025-06-04 21:14:09
Your offset time is: 2025-06-04 21:14:09