Hacked it!

The initial problem was I had the respawn commented out in
PlayerDeathThink(), then
I had to add code to PlayerSpawn so it would not give weapons etc..
I also redid the StartDeathCam() to 

void CBasePlayer::StartDeathCam( void )
{
        CopyToBodyQue( pev );
        CBasePlayer *pPlayer = GetClassPtr((CBasePlayer *)pev);
        edict_t *pentSpawnSpot = EntSelectSpectatorSpawnPoint( pPlayer
);
        pPlayer->StartObserver( VARS(pentSpawnSpot)->origin,
VARS(pentSpawnSpot)->angles);
}

Seems to work BUT how do I remove control of the player from the corpse
when they die?
Right now I can twirl the corpse around etc.. When I am dead. I just
want the SOB to die
And lie there.. 0 (zero) movement until they are in Observer

Regards,
Ron

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Yacketta,
Ronald
Sent: Tuesday, January 01, 2002 12:13 PM
To: [EMAIL PROTECTED]
Subject: RE: [hlcoders] StartDeathCam()


It seems as tho that StartDeathCam() is bogus, even the STOCK un
modified code with the else section commented out Still just pushes
player up in the are 128 and that's all.. Nothing else

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Dave R.
Meyers
Sent: Tuesday, January 01, 2002 11:49 AM
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] StartDeathCam()


Once I am awake, I will look through my code, and see what I can tell
you. I remember adding something about info_intermission to the OZ code,
for ctf. So that a player was spawned there, then to the team spawn they
selected in ctf style play.  But I can't remember right now, and want to
go back to sleep.

Dave


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to