Client-specified attachment offset (can adjust offset per weapon client-side).
Commands/Features
Client-specified attachment offset (can adjust offset per weapon client-side).
/wob pos [posX] [posY] [posZ] - set attachment position offset, which is lastest weapon switching “on back”.
/wob rot [rotX] [rotY] [rotZ] - set attachment rotation offest, which is lastest weapon switching “on back”.
Since UI might be server preference, there’s no UI or command hint for player, and you can add them by yourself:
Event “FuturePlanFreeRoam:WeaponOnBack:CommandSucceed” with input will be triggered when command succeed. eg.: FuturePlanFreeRoam:WeaponOnBack:CommandSucceed: wob pos 0 0 0
Event “FuturePlanFreeRoam:WeaponOnBack:CommandFailed” with input will be triggered when command failed, eg.: FuturePlanFreeRoam:WeaponOnBack:CommandFailed: wob pos i m wrong command
Known issues
It seems too much components/tints on weapon objects would cause unknown crash(eg.: crash when switch to first-person), I’ve limited up to 3 weapon objects to display, and tested only 1-2 players online and works fine. If players encounter more frequent crash related to this script, please provide detail info.
Currently “attached” position is not fit well on every models (working on it) Now player can use /wob pos to adjust attachment position
Weapon object not sync well through client (working on it)
It’s in beta stage and F8 console is somewhat verbose.
I’m running OneSync with ~64 players. Some of the guns look fine on the client’s side however for other clients will be multiple “feet” away. There is also a significant delay for the updating of the position of the gun for other players. On my screen, it looks fine.
I’m sorry but currently not consider to add more commands to player. It just makes thing more complicated.
Till now, it’s up to server owner to choose display weapon objects or not.