branchrust_reboot/main/Desert_Military_basescancel
145 Commits over 31 Days - 0.19cph!
Oops wrong branch, cherry-pick from Aux to DMb
Fixed BaseVehicle PlayerIsMounted override being server-only
Fixed some server->client MLRS data issues
Changed how SAMs handle MLrS rockets. A lot less range covered, but less gap between bursts and faster rockets. Should help the case of your MLRS rockets getting taken out before they reach their target by unrelated SAMs.
Fix user SAM sites blocking nearby construction
Assigned the new aiming module mesh so it correctly shows and hides again
Loot panel token name edit
Fixed missing SAM site loot panel
Updated hand IK, and joystick controls now move. Hid the big lever since it's unused.
Created icons for the aiming module and MLRS rocket
Added a world model for the aiming module item. Adjusted rocket model LOD
Get the MLRS working with the updated broken-down effect
Rocket target area changes
Prevent MLRS from directly targeting safe zones at all. Note: It can still transition across a safe zone while moving to a new target - this is why safe zones have an invisible missile-destroying shield as well.
Show no-target UI in the MLRS over safe zones
Removed SAM site allTarget convar, simplified code. Player SAM sites no longer target Hot Air Balloons in safe zones (this was already done for minicopters - looks as if it was intended to be done for hot air balloon as well).
Fixed the new MLRS rocket smoke disappearing instantly on destroy
Merge MLRSGravity -> DMb. MLRS projectiles now modify gravity instead of speed when necessary, giving them a constant known velocity. Should make tweaking SAM site response easier.
MLRS UI clearer target cursor
MLRS UI target crosshair is a little clearer
Always center on target point in MLRS dash view
Instead of modifying MLRS rocket velocity for targets that are beyond angle range, adjust gravity instead. Rockets which always have the same horizontal velocity should be easier to tune re SAM site hits.
Don't show the big dust cloud in the MLRS rock explosion effect if the rocket explodes way up in the air (probably from a SAM hit)
Safe zone triggers destroy MLRS rockets
Expose SAM missileSpeedMultiplier in the inspector
Refactor the SAM site target types into a State pattern. A little tidier
MLRS SAM changes:
- All SAM sites now target MLRS rockets (even player ones)
- SAM sites are better at shooting down MLRS rockets. Every now and then one might get through though (intentional!)
Made the MLRS' brokendownminutes a convar
Adjusted how the MLRS determines the rocket trajectories. More chance of hitting close to the central targeted point
Adjust rocket launch positions to avoid clipping
Stop MLRS projectiles sometimes getting confused due to the aim raycast hitting other MLRS projectiles. Now ignoring layers that move; only looking at static content for hit pos calculation.
Created and set up placeholder broken down state FX
MLRS breaks down for 60 minutes after firing.
Adjustments to various MLRS things, manifest update to get VFX working correctly. Also fixed submarine item storage wrong ID.
Set up MLRS rocket initial launch effect
Hooked up new rocket thrust effect