Scripts / Slight problem with Body Script

Author
Message
reggenzuigt
6
Years of Service
User Offline
Joined: 18th Mar 2018
Location:
Posted: 19th Feb 2022 00:37
https://forum.game-guru.com/thread/219891

The problem is that if you have a gun and look down, the character seems to have two right arms.
Is there any way to solve this?
PM
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 20th Feb 2022 16:57
Guns= least of our worries? Try this with the sword!
Matching up the arms+hands to the stock GG arms+hands @ weapon carry would be a trick,
otherwise I'd just postpone the body script altogether while weapon was active.
You'd still probably want to try matching styles up somewhat anyhow...
(I've had no chance to look into the script or try it, BTW)
PM
fearlesswee
5
Years of Service
User Offline
Joined: 30th Aug 2019
Location: United States
Posted: 19th Mar 2022 18:11
A solution I could think of is adapting the body script to have 2 separate bodies; one modeled with arms and one without. When the player is holding a weapon, show the one without arms, and hide the one with. If the player has no weapon drawn/equipped, show the one with arms and hide the one without. The only issue with this approach is that the player will notice their shadow becomes armless!

Unfortunately there's no way to have an object cast a shadow while not being visible (to my knowledge). If this were the case then it would be easy as pie to fix; when you hide the body with arms, make it still cast a shadow, and the armless version never casts shadows. Then have the armed body (pun somewhat intended) play an animation of them holding up a weapon, so that the player can see their shadow has their arms roughly matching the first person view.

Login to post a reply

Server time is: 2024-12-22 01:35:00
Your offset time is: 2024-12-22 01:35:00