Thanks everyone, I have that working, but there are two more problems I have:

When I switch to third-person mode, the model is still the
first-person model (ie. there is half a gun, and another arm sticking
out).  How would I go about stopping that?  Do I have to edit the
model?

My other (much simpler) question is this: at what point am I supposed
to switch to third-person mode?  Entity spawn is too early, what would
be an appropriate time?

Any help with these would be much appreciated.

On 9/11/05, Lachlan Gunn <[EMAIL PROTECTED]> wrote:
> Ok okay, thanks, I'll give it a try.
> On 9/11/05, Beg0 <[EMAIL PROTECTED]> wrote:
> > you are still in 1st person because the CInput::CAM_ToThirdPerson()
> > containe the following code
> >
> > #if !defined( TF2_CLIENT_DLL ) && !defined( CSTRIKE_DLL )
> >
> > #if !defined( _DEBUG )
> >     if ( gpGlobals->maxClients > 1 )
> >     {
> >         // no thirdperson in multiplayer.
> >         return;
> >     }
> > #endif
> >
> > #endif
> >
> > you probably have to comment this lines
> >
> > Lachlan Gunn a écrit :
> >
> > >>        input->CAM_ToThirdPerson();
> > >>
> > >>
> > >Where am I supposed to put this in? Because I've put it in the player
> > >spawn code, but it's still in first person....I'm not sure when I'm
> > >supposed to switch to third person.
> > >
> > >
> > >
> > >>}
> > >>
> > >>
> > >>in_camera.cpp, line 56
> > >>
> > >>On 9/10/05, Lachlan Gunn <[EMAIL PROTECTED]> wrote:
> > >>
> > >>
> > >>>Hi,
> > >>>Sorry if this is an amazingly stupid question, but how would I go
> > >>>about switching a player to third-person view?  There is a function in
> > >>>CInput, but I cannot find an instance to call it from.
> > >>>--
> > >>>Thanks,
> > >>>Lachlan
> > >>>
> > >>>_______________________________________________
> > >>>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
> > >>
> > >>
> > >>
> > >>
> > >
> > >
> > >--
> > >Lachlan
> > >
> > >_______________________________________________
> > >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
> >
> >
>
>
> --
> Lachlan
>


--
Thanks,
Lachlan

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

Reply via email to