8,727 Commits over 1,705 Days - 0.21cph!
Remove dropChance parameter on all storage containers (and ContainerIOEntities) and replace with a simple dropsLoot bool. I've copied all the data over. The actual dropChance float was never used except as a == 0 bool check.
Only sub and boat loot floats - save on potential performance hit. Added separate floating loot prefab. Storage container can now set loot to floating or not. A few other edits to storage. Don't drop sub torpedoes, just the storage.
Give item_drop the splash effect 💧
Added underwater drag as an option to the buoyancy system. Makes the item_drop backpack behave much more nicely
Make the generic item_drop (grey backpack) buoyant
All vehicles with storage now drop that storage when destroyed (rowboat, RHIB, hot air balloon, both submarines, modular cars). Modular cars already did this, but the others did not. Note this does not include fuel, or modular car engine parts. Renamed carsdroploot convar to vehiclesdroploot - now affects all listed vehicles.
Merge MountedLookAtOverride_reinstate -> Main. Fixes head look bug and allows head look to show up in a lot more mounted situations.
Snowmobile and BaseModularVehicle now share a new GroundVehicle base class
Check and adjusted max velocity estimate
Fixcars now supplies max fuel again
Generalised 'fixcars' console command. Now repairs and refuels *any* nearby vehicle (boats, subs, helicopters, etc). Reduced amount of fuel it adds from max to 100.
Fixed snowmobile gibs not showing the damage texture
A bit more health for snowmobiles
Fixed Tomaha gibs, set snowmobile health, set up damage texture effect for both snowmobiles. Simplified damage renderer usage across all vehicles.
Improved snowmobile foot IK
Snowmobile rear passenger mount added and set up
Snowmobile driver eye pos + mount pos adjustments
Snowmobile driver IK setup
Fix reference to _mounted on the client side
Revert
66778 ("Remove unused overrideMountedLookAt"), integrate overrideMountedLookAt into the updated HeadIK method.
Fix snowmobile item definition IDs
Snowmobile wheel and terrain FX system final setup
Okay, refactoring vehicle chassis visuals again, but I think we're there now
More snowmobile code WIP, mostly client-side wheel related. Sharing more code with modular car.
Fixing issues with terrain FX etc
Fix wheel assignment, adjust wheel heights, remove unnecessary code
Fix layer assignment on Tomaha colliders
Remove excess Tomaha collider
Refactor snowmobiles into prefab variants of a common base. Add storage to the Tomaha.
Rearrange snowmobile files
Tweak intertia tensor values
RetroSnowmobile set up, now driveable.
WIP other snowmobile setup. Colliders etc
Modify retro snowmobile collider mesh:
- Split into two parts and fill in the gaps so it can be convex.
- Limited dissolve to remove unnecessary verts + triangulate.
Move wheel friction from general car setting to per-wheel. Also spelling tyre the commonwealth way 🇬🇧
Added icons and items for the two snowmobiles