branchrust_reboot/main/Attack Helicoptercancel
436 Commits over 1,308 Days - 0.01cph!
Fixed BaseMountable EyePositionForPlayer ignoring any GetEyeOverride overrides
Remove some FormerlySerializedAs that are no longer needed
ParticleSystemContainer now optionally supports enabling/disabling lights as well. Gets the Attack Heli damage FX lights working as intended.
Set up camera rendering in fulllscreen UI. Set up aspect ratio etc for fullscreen UI. Added missing camera components for rendering water etc. Replaced gunner monitor rendertexture with static effect (so we don't have to run two cameras at once).
New attack heli blur rotor system, no longer hides the main rotor post
Monitor UI bugfix, get it showing up again
Show/hide the monitor appropriately
Switch all helicopters to use a client tick that only runs while the heli is active, rather than using Update. Also some initial work on gunner screen UI interaction.
Merge Main -> Attack Helicopter
Don't show attack heli loot interactions when mounted
Merge Main -> Attack Helicopter
Polish and timing tweaks.
Prefabbed fire effect and rocket thrust.
Reverse fresnel masking to stop the first person seeing the side filler particles.
finalized composite smoke
Composite smoke emitters so as to not require as many particles for rocket trails WIP
Clamp gun turret movement properly
Shifted from using subemitters on the rocket projectiles
Auto-hover more closely to the desired height
Rocket trails WIP
Animation helper tweaks
Remove gun cam on server side
Set up helper animations for rocket FX
Fix some server/client issues
Sync turret rotation to client, via save/load for initial sync the via RPC on when angle changes
█ ▍█▆▅▌▊▇▋ ▍▍██ ▇▍▋█▌▅▌ ▊▊ ▆▋▅▍ ▋▋██▄▊
Attack heli gun turret can now be fired by the gunner. Automatically reloads.
Gun item gets physically added to the heli turret
Fixed CH47 heli sharing a reserved flag with BaseVehicle code
Merge Main -> Attack Helicopter
Attack heli has turret storage interaction (for ammo and gun)
Added editor-only helicopter auto-hover, for testing passenger functions without a driver being necessary. Toggle while seated with Ctrl-H.
added damage masks for the Attack Heli's damaged state
updated materials
Fuel gauge and headlight improvements. Worked around a bug in Unity (see: https://forum.unity.com/threads/unityevent-cant-select-from-two-of-the-same-component.427454/#post-784098)
Instrument panel emissive turns on/off correctly
Let gunner also be driver again (just for testing)
Sort out entity flag toggles
Assign camera in the gun cam UI
Set up attack heli sounds
Hook up attack heli damaged fire sound
Fixed CH47 not having its dual ground effect points anymore
PFX scene backup
Finally fixed that tracer-1 and sparks-1 mipmap glitch by simply not having it repeat on Y.
Removed unused sound components of BaseHelicopter
Fixed ground FX assignment on ch47.entity
Don't constantly call stop or play on helicopter ground FX