06-11-2013, 03:13 PM | #1 |
Join Date: Jun 2013
Gametype: Capture the Flag Posts Rated Helpful 0 Times
|
Jump Autoqueue
Just wanna see the code that let's you hold space to continuously jump, maybe i can apply that to other source games.
|
|
06-11-2013, 07:26 PM | #2 |
Stuff Do-er
Lua Team
Wiki Team Fortress Forever Staff |
Pretty sure it's as simple as commenting out this in CGameMovement::CheckJumpButton():
Code:
if ( mv->m_nOldButtons & IN_JUMP ) return false; // don't pogo stick
__________________
#FF.Pickup ¤ Fortress-Forever pickups My Non-official Maps Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic Beta FF_Myth - FF_Redlight_Greenlight Sick of the people on the internet, always moanin'. They just moan. - Karl Pilkington |
|
06-12-2013, 02:32 AM | #3 |
Join Date: Jun 2013
Gametype: Capture the Flag Posts Rated Helpful 0 Times
|
Where do you put that code?
|
|
06-12-2013, 03:10 AM | #4 |
Stuff Do-er
Lua Team
Wiki Team Fortress Forever Staff |
That piece is in the default Source SDK 2006/2007 code in gamemovement.cpp. You need to comment it out to enable autojump.
You have to have access to the game's C++ source code to do it. I'm not sure what you're looking for, exactly.
__________________
#FF.Pickup ¤ Fortress-Forever pickups My Non-official Maps Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic Beta FF_Myth - FF_Redlight_Greenlight Sick of the people on the internet, always moanin'. They just moan. - Karl Pilkington |
|
06-12-2013, 06:19 AM | #5 |
Join Date: Jun 2013
Gametype: Capture the Flag Posts Rated Helpful 0 Times
|
I'm just basically finding a way to turn that line of code to a script so that i can use it for other source games.
|
|
06-12-2013, 06:59 AM | #6 | |
Stuff Do-er
Lua Team
Wiki Team Fortress Forever Staff |
Quote:
http://www.alliedmods.net/
__________________
#FF.Pickup ¤ Fortress-Forever pickups My Non-official Maps Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic Beta FF_Myth - FF_Redlight_Greenlight Sick of the people on the internet, always moanin'. They just moan. - Karl Pilkington Last edited by squeek.; 06-12-2013 at 07:00 AM. |
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|