Product Chat / 100 enemys at any given moment.

Author
Message
stor
9
Years of Service
User Offline
Joined: 27th Feb 2015
Location:
Posted: 5th Jan 2017 10:55
I create on my map 100 enemies and start to play. I want to make an 1 enemy randomly on the map every time I kill 1 enemy. so at any given moment I have 100 enemies on the map. Can i do it in GG?
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 5th Jan 2017 13:54
Probably via a script ..
But 100 enemies on your map at the same time may be a real fps killer plus the fact it would probably just be erratic ?
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 5th Jan 2017 21:11
100 is a lot. Not even Fallout 3 could handle that back in the day.

If your going to use 100 you must lower the textures and polys drastically. Keep in mind we are running on a 32-bit engine...
Twitter - Teabone3 | Youtube - Teabone3 | Twitch - Teabone3 | TGC Assets - Store Link

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GT 740
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 17th Jan 2017 17:40
100 is too many for Game Guru, at least on a PC that most people will have access to and all at the same time. It would require as said above, low poly models and textures, also a different script to get them moving around than the default. The default soldiers all have LOD though, so poly count is not as much an issue with those.

Spawning is a lot harder than it should be in Game Guru. I've tried to write a spawning script in the past, but whatever I tried the re-spawned enemy never worked properly It re-spawned, but would never reset properly causing odd issues. It would be great if I could get that working properly, as it would really help with game speed if you want the illusion of many people attacking you, without having to load up 100 enemies


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 17th Jan 2017 18:04
Unfortunately that is way to many to be all active at the same time. Waves of 10 to 15 in a specific area work a lot better.

Smallg has a script that will spawn wave of enemy for you and even keep a count on them.
It is in his script thread.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 17th Jan 2017 23:38
Quote: "Smallg has a script that will spawn wave of enemy for you and even keep a count on them.
It is in his script thread."


I never check the script threads. I always try to script everything from scratch. I should check the script threads, lol. I'll check out the thread, see what silly thing I missed to reset them Not that I need spawning enemies at present, but always useful at some point. It may even help with some AI stuff for when you move out of range. That always messes things up.


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 18th Jan 2017 09:57
Quote: "what silly thing I missed to reset them "

From my own experience too that's what I get, they don't reset correctly and move back and revert to the state they were in when they died (even being sure to script them to change back - I've even tried calling the init(e) again).

My wave script doesn't reuse enemies.
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 18th Jan 2017 11:31
@smallg : I recently helped someone working on a good GameGuru game to reset their enemies properly when a trigger zone was entered, and it worked pretty well. Perhaps you can send me a small level with stock media showing the issue you are having and I will see if I can resolve the respawn issue for you.
PC SPECS: Windows 8.1 Pro 64-bit, Intel Core i7-5930K (PASSMARK:13645), NVIDIA Geforce GTX 980 GPU (PASSMARK:9762) , 32GB RAM

DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 18th Jan 2017 19:02
@ Smallg. Ah That explains a lot. I wondered how you had managed to avoid the reset issue. I spent hours and hours with it to no avail. In fact as I type this I seem to be having dejavu, I may well have been here before , lol.

@ Lee, I actually sent my script to Ravey at the time, as it was for the indie competiton that went a little awry and I really wanted to get it working, but he said it looked fine. Still didn't work though


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 18th Jan 2017 20:10
You guys are forgetting the magic word Get up Lazarus

I've experienced the same, even with Reloaded, they always back as zombies, and They are not as fun as before.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM

Login to post a reply

Server time is: 2024-11-24 18:29:55
Your offset time is: 2024-11-24 18:29:55