Thankyou! Really appreciate that. On 9/12/05, Kamran <[EMAIL PROTECTED]> wrote: > Oh, and it also shows how to make the weapon model disappear. :) > > Kamran wrote: > > > Take a look at my 3rd Person Tutorial here: > > > > http://developer.valvesoftware.com/wiki/Creating_a_Third_Person_Camera > > > > That will show you how to implement a key to change it... but otherwise, > > if you want it permanently, use the HL2_Player::Spawn function but do: > > > > ClientCmd("thirdperson") > > > > Instead of input->. > > > > Lachlan Gunn wrote: > > > >> 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 > >> > >> > >> > >> > >> > > > > -- > > Kamran A > > Get Firefox! Safer, Faster, Better. > > <http://www.spreadfirefox.com/?q=affiliates&id=0&t=85> > > Down with Internet Explorer! Say "NO!" to Spyware! Use Firefox > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > -- > Kamran A > Get Firefox! Safer, Faster, Better. > <http://www.spreadfirefox.com/?q=affiliates&id=0&t=85> > Down with Internet Explorer! Say "NO!" to Spyware! Use Firefox > > _______________________________________________ > 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

