View Full Version : Dust Castle Spawn
Rogue
24th February '04, 22:47
Someone had a CT spawn death on dust castle. I know this because I was the one who survived (we were both on same spawn spot) I thought it was me but then someone else had died. Fixage?
DoubleDoom
25th February '04, 00:00
I've not spotted dust castle suffering that before. I will wait until another report before i fire up fingerbangs editor
Rogue
25th February '04, 00:14
I know what you mean, I've never seen it happen before. Perhaps it was just a one off
Artjuh
25th February '04, 09:05
It did happen to me 2 times I think.
Fingerbang
26th February '05, 07:08
There is an easy %100 shure way of testing spawns.
Just setup your own server with a bot plugin and fill up both sides with bots and see if any one dies.
i checked the default 16 a side version i have and it is dodge.
it also shows up a bug in the spe.
You see even with freez time at the start you can still change your angle and players dont all spawn at the same time.
I noticed this when i was playing around makeing some fun maps.
If the server is stressed or runing low fps on fun maps you can drop your weapons from the last round b4 there striped from you.
The same thing can happen on that map with spawns.
You can spawn rotate in to a team mates spawn box and get some one killed.
The strange thing is i think it checks for an empty spawn but when it cant find one it gives up and spawns you anyways.
Just a case of crapy codeing.
It might even be fixable with an amx type plugin that transfers you to specy team if it cant find a spawn (might just be chating crap though).
Fingerbang
26th February '05, 09:05
opps 2004.
Just a little late for the party.
Was looking at the simaler threads box at the bottom.
Oh well might as well double post and add some more spamage :).
from the dmc code
BOOL IsSpawnPointValid( CBaseEntity *pPlayer, CBaseEntity *pSpot )
{
CBaseEntity *ent = NULL;
if ( !pSpot->IsTriggered( pPlayer ) )
{
return FALSE;
}
while ( (ent = UTIL_FindEntityInSphere( ent, pSpot->pev->origin, 96 )) != NULL )
{
// if ent is a client, don't spawn on 'em
if ( ent->pev->flags & FL_CLIENT )
return FALSE;
}
return TRUE;
}
extern CBaseEntity *UTIL_FindEntityInSphere(CBaseEntity *pStartEntity, const Vector &vecCenter, float flRadius);
Would have looked in to that a bit more but the FindEntity uses an engine call back func.
Funy enough the 1st time i found this the radius was 128 thought that was strange as some one said that should be the dis betwean spawns many many moons ago.
Anyways im gessing that the sphere compears against the bounding box of the players whitch i think is (16,16,32) to one coner based on the h-l fgd that makes a 3d object instead of a silly 2d sprite (will have to check by makeing gaps in world craft).
anyways 22.61 is the distence on the x/y to the coner if that is the size.
i dont think it can be 96 for cs as that would make a min safe dis of 112 and a max dist of 118.61.
Well iv got the code for bootmans bot so ill have to compile it and store the radiuses that get sent to the engine.
but something to note is the IsSpawnPointValid func that is part of the player class and should be in every h-l mod.
hears another func from the player class.
edict_t *EntSelectSpawnPoint( CBaseEntity *pPlayer )
Every time you try and do something with cs the lazynes of the coder's allways gives you a slap (lack of team master entity that was in the orignel h-l code and is neaded for any type of good team play map).
I dont blame it on the orignel coders they were just messing around.
I blame it on valve as it should have been there job to bring the code out of the beter stage that it still seams to be in :rolleyes:.
But spawn deaths is something that should never happen and the game was designed to stop it at all costs and there realy is no exscuse for it happening.
You board or confused yet ? :)
Danm you rogue i want that astroids title back geer :mad: . Such a clasic.
DoubleDoom
26th February '05, 09:56
You had me worried then. I couldn't remember posting that yesterday. I fell for the 2004 bit too.
Zen
26th February '05, 12:43
hmmm some bunch of codes, i only understand half of it :D
Rogue
26th February '05, 12:59
Danm you rogue i want that astroids title back geer :mad: . Such a clasic.
Shabba!
Fingerbang
26th February '05, 13:58
Arrrr bit i still have the frogger title though :cool: .
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.