branchrust_reboot/main/Desert_Military_basescancel
286 Commits over 92 Days - 0.13cph!
Desert bases now use an MLRS spawner instead of directly placing an MLRS. Otherwise the link to the MLRS prefab is lost when the desert base prefab is built from the scene.
Rebuild military bases, to get the updated MLRS changes
▇▊▅▉ ▇▇▌ ▆▉▄ ▅▊▊▆▉▄▋▌▄ & ▄▅▍▄█▌█ ▍▉▉▇▌
MLRS LOD0 model / WIP textures and materials
Added VisualiseTrigger script, using it on SAM_Static
Improved system for calculating MLRS projectile inaccuracy. Fixes angle calculation errors.
Fixed various bits and pieces with MLRS rockets
Used the trick that SAM rockets use, on the MLRS rockets: Put them on a Debris layer, so that they'll never detect each other as hits. I wondered why the SAM rockets did this One Weird Trick until I hit the same issue.
Repositioned the zero point on the MLRS rocket model
Removed the standard 1m launch offset for MLRS rockets
Bigger delay between MLRS stops. Stops the rockets from sometimes hitting other rockets as they launch.
Using the low firing angles on the MLRS always causes trouble. Stick to the high angles (>=45°)
ProjectileDistToVel now uses a more complex formula that takes the vertical distance to the target into account. Fixed negative angles calculated for targets below us.
Rear camera baseline look profile
Fixed the MLRS rear cam being upside-down
Adjust MLRS min/max range
Improved MLRS projectile aim calculation and aim angle selection
Reduce MLRS functions when aiming module isn't inserted
Don't allow the MLRS to cheat and calculate super low rocket velocities to target below minimum range
`fixcars` now works on MLRS; fills aiming module and rockets.
Merge CoseRangeTest -> DMb
Reduce max MLRS angle to 60 degrees to work with the final model. This creates a large untargetable area around the MLRS - will deal with that next.
▊▄▍▄▋ ▋▉▉▋ -> ▇█▄▆▄▊_▆▅▅▊▍▅▌▊_▍█▄▌▅ (▉▄▌▆▍▉▌ ▉▅▍▉▌▉█ ▅▄█▆▆ ▌▇ ▅▊▌█▉▊ ▋▇▄▉ ▋▌█ - ▄▋▉ ▅▅ ▋▅▄▄▅▉▋▇ ▋▋▉█▆▌▍▋▇█▄ ▌▇▌ ▄▅▅ █▌▄▅▇? █▉ ▇▅ █ ▊▆▅█ ▆▊▆ ▌▄▌ ▉▇▍▌▊▊ ▆█▆▋▌▅▍▌?)
Commit the LootPanel NRE fix in Desert_Military_bases instead
bump up military bases to high priority
Dirt mounds LODs, eliminated holes between lod stages
Camo fabric awnings wind material setup and vertex alpha control
Other small fixes
collider fixes to military tents
Added trail connections to desert military bases
Added MLRS vehicle entity to desert military bases
Desert dwellings AI nodes, spawns and obstacles
Flow fixes and bug fixes to dwellings
Desert dwellings progress backup
Dwellings prefabs creation (pathing/cover and potential AI spawn remain still)
Dwelling spawners
Placed spawners inside Military base scenes