--
[ Picked text/plain from multipart/alternative ]
The speed is limited by a couple things, the sv_maxspeed variable for one,
and the code defined player's speed. GameMovement.cpp/.h and your mod's
sdk_gamemovement.cpp/.h (replace sdk_ with your mod's name if you changed
it.) contain the movement functions for the player, under the function
WalkMove() it uses the defines to keep their speed in check, and in another
section of the gamemovement file(forgot exactly where) it checks the
sv_maxspeed var. Editing these two sections of code or their relevent
defines should boost the player's speed. The jump height/etc. is
defined/used in CGameMovement::CheckJump() (Or maybe it was
CheckJumpButton()? Something like that.)
Hope that helps. : )
On 5/28/07, Garry Newman <[EMAIL PROTECTED]> wrote:
>
> Your speed is limited by some cl commands too (cl_maxspeed or
> something). You'd need to up these if you want to break that limit.
>
>
> On 5/28/07, Joshua S. <[EMAIL PROTECTED]> wrote:
> > --
> > [ Picked text/plain from multipart/alternative ]
> > That's what I was originally thinking, I set those values to my liking
> but I
> > ran it and it didn't work. I only changed those values in the "if hl2dm"
> > part, because it's a multiplayer mod.
> >
> > On 5/27/07, Matt Stafford <[EMAIL PROTECTED]> wrote:
> > >
> > > --
> > > [ Picked text/plain from multipart/alternative ]
> > > HL2_Player.cpp has defines for the speed
> > > #define HL2_WALK_SPEED 150
> > > #define HL2_NORM_SPEED 190
> > > #define HL2_SPRINT_SPEED 320
> > > Is that what you're looking for?
> > >
> > > On 5/28/07, Adam amckern McKern <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Just call find var, and change its concommnad's value
> > > >
> > > >
> > > > cvar->FindVar("cl_runaway_real_fast")->SetValue(2000f);
> > > >
> > > >
> > > > Adam
> > > >
> > > > --- "Joshua S." <[EMAIL PROTECTED]> wrote:
> > > >
> > > > > --
> > > > > [ Picked text/plain from multipart/alternative ]
> > > > > Hi,
> > > > > I was wondering how you change the player speed. I
> > > > > noticed you can do it
> > > > > with cl_forwardspeed/backspeed/sidespeed (?) but how
> > > > > do I do it in the
> > > > > solution so that everyone plays with the same
> > > > > speeds?
> > > > > Thanks
> > > > > --
> > > > >
> > > > > _______________________________________________
> > > > > To unsubscribe, edit your list preferences, or view
> > > > > the list archives, please visit:
> > > > >
> > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> > > > >
> > > > >
> > > >
> > > >
> > > > --------
> > > > Nigredo Studios http://www.nigredostudios.com
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> ____________________________________________________________________________________
> > > > Moody friends. Drama queens. Your life? Nope! - their life, your
> story.
> > > > Play Sims Stories at Yahoo! Games.
> > > > http://sims.yahoo.com/
> > > >
> > > > _______________________________________________
> > > > To unsubscribe, edit your list preferences, or view the list
> archives,
> > > > please visit:
> > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> > > >
> > > >
> > >
> > >
> > > --
> > > Matt Stafford (Wraiyth)
> > > http://www.wraiyth.com
> > > NightFall HL2 Mod - http://www.nightfallmod.com
> > > --
> > >
> > > _______________________________________________
> > > 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
>
>
--
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders