2,257 Commits over 4,536 Days - 0.02cph!
Shears balance
- 25% more wool than a knife (12-13 per sheep instead of 10, before Yield gene) via new ItemModShearTool on the shears item
- 200% durability of the knife
- 50% damage of the knife - accidental hits or using on a lamb hurts the animal less
- other blades shear exactly as before
- added Shears_TakeMoreWoolThanAKnife test
- fixed entity errors
- removed old linedk mesh in viewmodel prefab
- removed throw and other no used states from viewmodel aniimator
- renaming
- deleted unneeded v_shears prefab (just a model)
fixed camera anims not working
Play eye movement and blinks from the customiser anims
- updated blink anims
- each clip's mask is the v4RustPlayerMask bones plus l_eye, r_eye, l_eyelid, r_eyelid
- UI_CharacterPreview - removes the procedural eye look-at and blink in the preview
- PlayerModel.ApplyHeadEyePositions - the preview re-applies each head's eye positions after the animation, to fix eyeballs sinking into skull
- self contained eye code changes in the customiser, In-game eye behaviour is unchanged
fix for fire anim freezing
merge from viewmodel_skinning_update
Viewmodel - Added bespoke idle/fire/dryfire ADS anims, tightened up transitions & conditions going in/out of ADS
viewmodell anim tests + placeholder sounds
Fix 3p grenade throws swinging out to the side when standing still
- turn-in-place arm dangle gated on DefaultHoldType, so items moved to anim subsystems (grenades, melee, shield) counted as empty hands and got it
- added PlayerModel.HasHeldItemAnimations: hold type, active subsystem on the held entity, or a spent item still finishing its anim
- covers throwing your last grenade, where the entity is destroyed mid-throw
- dangle now only applies to genuinely empty hands, same as before the subsystem migration
salvaged cleaver re-sisze
- 3p (worldmodel) re-sized up to match pervious verison before the refresh
- scaling removed from .worldmodel (was used to quickly fix being too small)
- 3p anims updated with larger grip
- pivot changed to base of model (to match previous position + the same 3p anim set if used for multiple weapons using this same pivot convention)
- removed hacky offset in .entity to deal with above pivot issue
added dryfire wip anims, stock updates, set up animator to correctly choose correct fire and dryfire anims based on state
Fixed error spam on ultra-wide screens with the nailgun, paintball gun and bowless crossbow viewmodels. Small rounding errors in the viewmodel sway/bob were snowballing each frame until Unity rejected the rotation. No visual change, just trying for a clean console.
wip viewmodel anims, animator updates
removed unused attachment gameobjects from viewmodel prefab
final folder clean up
- Deleted old materials/model/rig/anim files
- Moved materials/model/rig/anim files to the original folder
- Deleted 'New' folder
- added nailgun mag mesh
- added mag drop effect
- added events-only clip on a new w_nailgun Animator, no rig needed
- set up hide/show mag
bug fix for broken rifle orientation when sprinting
- Added sprint modifier to the med/jungle/diver ak's
Fix for head swinging on melee weapons when moving
- spine IK override is now a 0-1 rather than a bool
- stays so it stays at 1 when standing and aiming, fades out with speed.
- fix for IK fighting with base locomotion on subsystem melee weapons
- tweaked to keep head lead on turns
Viewmodel - nails in the mag deplete per shot + follower rises
MagazineStateViewmodel - Added optional RoundVisuals, Follower, FollowerRestPosition and FollowerStepPerRound
ShowBullet on anim event now shows a full mag during reload
removed unneeded scope attachments from entity prefab
Added sound events to viewmodel reload
set up new worldmodel prefab
fix for cinematic idle prop rotation + sprint idle arm fix
updates to 3p setup following merge from main
Removed the SprintController from the entity - with the hold type gone its guard never passes,
sprint pose stayed at 1 on the right arm and hid everything the anim
subsystem was doing. Added an Aiming bool plus IdleAim/AttackAim on the 3p_nailgun_aim clips
that were sitting unused in the FBX, one handed to match the rest of the weapon, and pointed
the subsystem's AimingParameter at it.
- re-added settings for viewmodel prefab
merge from biofuel branch with stirring idle anim update
melee fixes from 3p_melee_animsystem_updates branch
Melee anim subsystem: stop the weapon sliding out of the hand when you run
Added Player_RPropOnly.mask and a third playable in MeleeWeaponAnimationSubSystem that drives
r_prop only and never fades with speed, so the arm keeps its run swing but the weapon stays
welded to the hand. Switched on via PropMask on boneclub, candycane, machete,
salvaged sword, combat & sunken knife,
- anim updates
- updated left Ik position
- set deployed to one hand ik
- updated generator anims
- added 3p wip anim
- set up generic mount subsystem on stirmount prefab
removed inventory controller, pointed player preview to base player animation controller
merge from machete refresh