Nurolight Posted June 24, 2014 Share Posted June 24, 2014 (edited) 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 June 24, 2014 by Nurolight Link to comment Share on other sites More sharing options...
Wiebrendh Posted June 24, 2014 Share Posted June 24, 2014 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 More sharing options...
Jitnaught Posted June 24, 2014 Share Posted June 24, 2014 You may have to set the velocity of the player character too Link to comment Share on other sites More sharing options...
Wiebrendh Posted June 24, 2014 Share Posted June 24, 2014 You may have to set the velocity of the player character too Yeah i forgot that Link to comment Share on other sites More sharing options...
Nurolight Posted June 25, 2014 Author Share Posted June 25, 2014 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 More sharing options...
LordOfTheBongs Posted June 25, 2014 Share Posted June 25, 2014 (edited) 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 June 25, 2014 by LordOfTheBongs Link to comment Share on other sites More sharing options...
Michael Wojtanis Posted June 25, 2014 Share Posted June 25, 2014 (edited) 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 June 25, 2014 by Michael Wojtanis Link to comment Share on other sites More sharing options...
SlayerXYZer0 Posted June 26, 2014 Share Posted June 26, 2014 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 More sharing options...
Nurolight Posted June 26, 2014 Author Share Posted June 26, 2014 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 More sharing options...
Jitnaught Posted June 26, 2014 Share Posted June 26, 2014 (edited) 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 June 26, 2014 by LetsPlayOrDy Link to comment Share on other sites More sharing options...
NTAuthority Posted June 26, 2014 Share Posted June 26, 2014 (edited) 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. Edited June 26, 2014 by NTAuthority 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 More sharing options...
Jitnaught Posted June 26, 2014 Share Posted June 26, 2014 (edited) 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 June 26, 2014 by LetsPlayOrDy Link to comment Share on other sites More sharing options...
NTAuthority Posted June 26, 2014 Share Posted June 26, 2014 (edited) 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 June 26, 2014 by NTAuthority 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now