spawing issues
- kc9foh
- Private First Class
- Posts: 48
- Joined: Sat Jan 22, 2005 3:34 am
- Location: South Beloit, IL USA
- Contact:
spawing issues
I know somewhere this has probably been suggested before. I have had a lot of newbies and old timers remark about spawn kills. As I am still learning how to write the most basic coding in software dev. Can somebody add a 2-3 second delay for both invincibility and no shooting just time to move before getting shot right after the spawn?
Re: spawing issues
That is such a brilliant idea, I tip my hat to you.kc9foh wrote:I know somewhere this has probably been suggested before. I have had a lot of newbies and old timers remark about spawn kills. As I am still learning how to write the most basic coding in software dev. Can somebody add a 2-3 second delay for both invincibility and no shooting just time to move before getting shot right after the spawn?
Devs, any chance this can be done? Being killed right after a spawn, which happens often due to the server deciding where we spawn with no regard to shots, is no fun.
- too much loving
- Private First Class
- Posts: 94
- Joined: Sun May 23, 2004 7:47 pm
- Location: Denmark
- Contact:
I think that spawning works OK, but it's always fun to nitpick.
If I read the code in trunk correctly then a new tank can spawn facing directly at a nearby enemy. It looks like the code only checks where the enemy is facing. (but maybe I read the code wrongly)
It looks like a new tank can spawn almost on top of an old tank as long as they both face away from each other.
By the way, how about letting safeDistance depend on the number of tanks in the field? That would remove spawning problems in games with few tanks. One idea is to start out trying to spawn with a very large value of safeDistance, but gradually decrease safeDistance whenever a position is rejected.
EDIT: typos and deranting
If I read the code in trunk correctly then a new tank can spawn facing directly at a nearby enemy. It looks like the code only checks where the enemy is facing. (but maybe I read the code wrongly)
It looks like a new tank can spawn almost on top of an old tank as long as they both face away from each other.
By the way, how about letting safeDistance depend on the number of tanks in the field? That would remove spawning problems in games with few tanks. One idea is to start out trying to spawn with a very large value of safeDistance, but gradually decrease safeDistance whenever a position is rejected.
EDIT: typos and deranting