Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

Request: Multiplayer Walking


Nurolight
 Share

Recommended Posts

I am hoping someone can either create, or point me in the right direction, for a simple mod - allowing you to walk in multiplayer. I would've assumed there would already be a mapped key to walk (like Alt + W) but sadly, there isn't.

The reason I'm looking for this is because me and a friend have been playing anonymous GTA, turning off all blips and disguising ourselves as pedestrians (with another mod). Its difficult not to know who the other person is, because we're always suspiciously jogging around. Walking would make this must more difficult.

(I'm aware it can be done with a controller, but I'd prefer it without).

Edited by Nurolight
Link to comment
Share on other sites

I am hoping someone can either create, or point me in the right direction, for a simple mod - allowing you to walk in multiplayer. I would've assumed there would already be a mapped key to walk (like Alt + W) but sadly, there isn't.

 

The reason I'm looking for this is because me and a friend have been playing anonymous GTA, turning off all blips and disguising ourselves as pedestrians (with another mod). Its difficult not to know who the other person is, because we're always suspiciously jogging around. Walking would make this must more difficult.

 

(I'm aware it can be done with a controller, but I'd prefer it without).

 

First i was like, just press W to walk.. But now i get your point. It is possible to do that, and not very hard. You just have to stop the jogging animation while Alt is being pressed, and then enable the walk animation. Or something similar like that.

Link to comment
Share on other sites

You may have to set the velocity of the player character too

 

Yeah i forgot that

Link to comment
Share on other sites

I'm surprised there hasn't been a mod for this already made. From what your saying, it's fairly easy to do and I found a post from 4 years ago asking for similar thing. I guess it's just not a highly sought after mod (it is a very minor thing).

Link to comment
Share on other sites

LordOfTheBongs

I'm surprised there hasn't been a mod for this already made. From what your saying, it's fairly easy to do and I found a post from 4 years ago asking for similar thing. I guess it's just not a highly sought after mod (it is a very minor thing).

because when u press a key the game will try to play a jogging animation and keep trying to play it... u can stop it but game is just gonna keep trying to play it... r* f'd up or just didn't care... i assume the latter

 

workaround might be editing some dat file that sets the animations for peds/player... i think i have tried to set the player anim move group by script with the native and it didnt work, that also could be a way is to use different animations and if possible set via script or edit dat

Edited by LordOfTheBongs
Link to comment
Share on other sites

Michael Wojtanis

GTA.Native.Function.Call("MODIFY_CHAR_MOVE_STATE", yourPlayerPedvalue, 0);

GTA.Native.Function.Call("SET_NEXT_DESIRED_MOVE_STATE", 0);

 

Not tested for player.

Edited by Michael Wojtanis
Link to comment
Share on other sites

SlayerXYZer0

You have to set your animations from the multiplayer character anims to the default player anims. Use Simple Native Trainer.

Link to comment
Share on other sites

GTA.Native.Function.Call("MODIFY_CHAR_MOVE_STATE", yourPlayerPedvalue, 0);

GTA.Native.Function.Call("SET_NEXT_DESIRED_MOVE_STATE", 0);

 

Not tested for player.

 

I have no knowledge on GTA modding outside of OpenIV. Where would this go?

 

You have to set your animations from the multiplayer character anims to the default player anims. Use Simple Native Trainer.

It's not that the animation for singleplayer is walk and the rest are run (cause otherwise you'd see peds jogging everywhere). Every character animation has a walk, jog and sprint state. My problem is that by default W on multiplayer jumps straight to jog rather than walk. Ideally I'd like some form of native script as me and my friends plan on using this online and it would be easier than having to replace animation files.

Link to comment
Share on other sites

 

GTA.Native.Function.Call("MODIFY_CHAR_MOVE_STATE", yourPlayerPedvalue, 0);

GTA.Native.Function.Call("SET_NEXT_DESIRED_MOVE_STATE", 0);

 

Not tested for player.

 

I have no knowledge on GTA modding outside of OpenIV. Where would this go?

 

You have to set your animations from the multiplayer character anims to the default player anims. Use Simple Native Trainer.

It's not that the animation for singleplayer is walk and the rest are run (cause otherwise you'd see peds jogging everywhere). Every character animation has a walk, jog and sprint state. My problem is that by default W on multiplayer jumps straight to jog rather than walk. Ideally I'd like some form of native script as me and my friends plan on using this online and it would be easier than having to replace animation files.

 

You'd have to create a GTA 4 script, add a keydown or something, then put that code in there. (Requires some knowledge of either C# or VB. Can be done in C++ too.)

 

If you replaced the animation, it would only change locally, your friend would still see the jogging animation (unless he replaced the animation too).

Edited by LetsPlayOrDy
Link to comment
Share on other sites

NTAuthority

GTA.Native.Function.Call("MODIFY_CHAR_MOVE_STATE", yourPlayerPedvalue, 0);

GTA.Native.Function.Call("SET_NEXT_DESIRED_MOVE_STATE", 0);

 

Not tested for player.

 

Nope, doesn't appear to work. I was looking into both the control reading code and some blind scouting around task code for whatever might do this (based on the referenced-around-600-times network game flag); didn't find anything yet, deferred it for a later time.

 

The new-and-improved control code is also fairly confusing for one used to CPad, sadly. :D

Edited by NTAuthority

SsZgxdL.png

Inactive in GTA/R* title modification indefinitely pursuant to a court order obtained by TTWO. Good job acting against modding!

Link to comment
Share on other sites

Maybe this? SET_CHAR_MOVE_ANIM_SPEED_MULTIPLIER

 

Or maybe this? SET_DECISION_MAKER_ATTRIBUTE_MOVEMENT_STYLE. I heard DecisionMaker was buggy or something, but I'll throw this out there anyways.

Edited by LetsPlayOrDy
Link to comment
Share on other sites

NTAuthority

Maybe this? SET_CHAR_MOVE_ANIM_SPEED_MULTIPLIER

 

Or maybe this? SET_DECISION_MAKER_ATTRIBUTE_MOVEMENT_STYLE. I heard DecisionMaker was buggy or something, but I'll throw this out there anyways.

nah, it's a specific check in CTaskSimpleMovePlayer; found the check for walking mode, will try to change sprint mode too (as it somehow is still different to the case with a controller/SP) and then make it a server-side toggle in CitizenMP. if OP needs help setting up a server for himself to play on, I'll possibly have time for finally writing up some documentation for that too. :)

Edited by NTAuthority

SsZgxdL.png

Inactive in GTA/R* title modification indefinitely pursuant to a court order obtained by TTWO. Good job acting against modding!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.