AI Spawners [message #326101] |
Sun, 13 April 2008 12:24 |
Spikey00
Messages: 14 Registered: April 2008 Location: Canada
Karma: 0
|
Recruit |
|
|
While I wait for my old topic to receive an answer for my major question about my crashing in LevelEdit ( http://www.renegadeforums.com/index.php?t=msg&th=28541&start=0&rid=2 3806), I have a question about AI spawners.
I'll just ask the questions about AI spawners.
1. If you add more of the same soldiers to the presets for spawning, will it change the probability of the spawning soldiers?
2. Do the soldiers spawn randomly, or from top to bottom?
3. Why don't other bots spawn when I change the AI Testing spawn presets? (Minigunner and Officer for GDI, and Officer with Nod)
4. Does only 1 bot spawn for each spawner?
i) How do I change it? Or must I add more spawns?
5. (Somewhat unrelated to spawners) If you set the sight levels of a bot to an extremely high amount, does it see through walls to players?
6. Should you attach scripts to soldiers?
i) What types of scripts are recommended for higher performance of bots?
I appreciate any answers.
|
|
|
|
|
|
Re: AI Spawners [message #326171 is a reply to message #326101] |
Mon, 14 April 2008 07:19 |
|
Jerad2142
Messages: 3809 Registered: July 2006 Location: USA
Karma: 6
|
General (3 Stars) |
|
|
Spikey00 wrote on Sun, 13 April 2008 13:24 |
1. If you add more of the same soldiers to the presets for spawning, will it change the probability of the spawning soldiers?
2. Do the soldiers spawn randomly, or from top to bottom?
3. Why don't other bots spawn when I change the AI Testing spawn presets? (Minigunner and Officer for GDI, and Officer with Nod)
4. Does only 1 bot spawn for each spawner?
i) How do I change it? Or must I add more spawns?
|
It is random, and only spawns one at a time, you add more by adding them to the spawn list, make sure IsSoldierStartup is UNCHECKED. Put Spawnmax to -1, make the Spawn times 0.
Spikey00 wrote on Sun, 13 April 2008 13:24 |
5. (Somewhat unrelated to spawners) If you set the sight levels of a bot to an extremely high amount, does it see through walls to players?
|
No it does not, it always has its sight limited by objects, but using scripts like M04_Hunt_Player will make them find the player regardless.
Spikey00 wrote on Sun, 13 April 2008 13:24 |
6. Should you attach scripts to soldiers?
i) What types of scripts are recommended for higher performance of bots?
|
Yes you can, but I do not suggest it until you have checked at least once that all the spawners are working correctly, as an incorrectly deployed script could crash Renegade.
Visit Jerad's deer sweat shop
[Updated on: Mon, 14 April 2008 13:58] Report message to a moderator
|
|
|
Re: AI Spawners [message #326191 is a reply to message #326101] |
Mon, 14 April 2008 11:48 |
bisen11
Messages: 797 Registered: December 2004
Karma: 0
|
Colonel |
|
|
4) In case you didn't understand it from Jerad's post. Only one bot spawns from a spawner at a time. When that bot dies then it starts the countdown until the new bot spawns. They'll keep spawning until they reach a set number you picked or infinitly.
|
|
|
|
|
Re: AI Spawners [message #326861 is a reply to message #326101] |
Sat, 19 April 2008 18:23 |
Spikey00
Messages: 14 Registered: April 2008 Location: Canada
Karma: 0
|
Recruit |
|
|
I see.
Oh, another quick question, but it seems that Hunter decreases the bots' awareness, compared to Hunt The Player significantly.
Is there a solution to this, possibly another script to attach?
Thank you.
|
|
|