Scripts / respawnable feature

Author
Message
AstrobloodKnight
8
Years of Service
User Offline
Joined: 3rd Aug 2015
Location:
Posted: 24th May 2016 21:31
Hey guys i am wondering something is is possible to make a mod/script that will allow you to spawn in unlimited amounts of a AI for example a round based game where the player is to shoot targets or maybe even zombies for points and see if they can get the highest score possible. Atm is seems like all you can do is spawn in a object then hide the Ai until such time as you want them to spawn in but that is not what i want to do that requires spawning in Millions of AI's in order to do what i am talking about. maybe a respawnable feature where you can respawn same enitys back at full health or even a spawner object that spawns new ones as the old ones die. any idea
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 24th May 2016 23:30
you can reuse entities but you can't spawn/clone from nothing.
Spawn(e) is what you will use but you need to be sure to spawn and then either use or hide them quite soon after they die or the engine will remove them and you can no longer use Spawn(e) on them.
pretty sure i have a respawn script in my thread.
GG will likely never be able to handle more than 1 million AI though
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 25th May 2016 11:37
Quote: "pretty sure i have a respawn script in my thread."


Yup, here it is:
https://forum.game-guru.com/thread/207801?page=10#msg2533489

i7, NV960 4GB, 16GB memory, 2x 4TB Hybrid, Win10.
i5 , AMD 6770 1GB, 8GB memory, 512GB Generic SATAIII + 2TB Seagate Baracuda SATAIII, Win7.
i3, Radeon integrated graphics, 4GB memory, 512gB Generic SATAII, Win8.1.
Q6600, Intel integrated graphics, 2GB memory, 180GB Generic SATAII, WinXP.
Pirate Myke
Forum Support
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 26th May 2016 13:31
This will work even better with the new update, being released very soon.
Wednesdays Twitch broadcast went over this and showed how to accomplish this.
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.

Login to post a reply

Server time is: 2024-04-27 12:37:05
Your offset time is: 2024-04-27 12:37:05