Make an 3D item move left and right when i sprint/walk

Started by Tommyp on Wed, 04/01/2020 - 17:28

Topic category: Help with modding

Last seen on 22:13, 5. Apr 2020
Joined Apr 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Make an 3D item move left and right when i sprint/walk
Wed, 04/01/2020 - 17:28

Can someone help me with a procedure that can make a 3d item model move left and right while i am sprinting so that it looks like the model is moving with my hand, also if possible is there a way to make an item rotate with procedures when i sprint so that it looks like i am holding it across my body

Last seen on 19:32, 22. May 2020
Joined Oct 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
The item should already sway…
Fri, 04/03/2020 - 00:43

The item should already sway in your hand when walking or sprinting. Make sure you have "view bobbing" or something like that turned on in your settings. Also the thing for it being held over your chest, that might be possible with custom code, but I can't think of anything with procedures that would create the desired effect.

Last seen on 22:13, 5. Apr 2020
Joined Apr 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Thank you and i am…
Sun, 04/05/2020 - 22:14

Thank you and i am attempting to make a 3D gun mod, so far everything is going well i just need some help with custom sprinting views 

Last seen on 22:08, 25. May 2020
Joined May 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
It might cause some issues…
Tue, 04/14/2020 - 18:54

It might cause some issues and would be a pain to do, but you could make a different item that has the same model but is tilted in the "sprinting" position, then make a procedure that detects if the player is sprinting or not and gives them the appropriate item.