branchrust_reboot/main/naval_update/gun_turretcancel
32 Commits over 30 Days - 0.04cph!
naval_update -> gun_turret
Working rear turret. Aiming is still ugly
Ensure roll values are removed by projecting our rotation onto fixed axes (not transform axes)
Manifest
Add correct components to rear turret
Standing mounted turret seat setup
Mounted Turret Seat now supports multiple turrets on the same vehicle
Initial rear turret setup
Setup right entities
Setup prefab variants
naval_update -> gun_turret (missed files)
naval_update -> gun_turret
naval_update -> gun_turret
Apply changes to default prefab
Make turret entity invinsible
Position changes
Rename internall turret seat
Move aim position
Manifest
Interpolate server states with IGenericLerpTarget, thanks Bill!
Swap yaw/pitch sync vars over to a single ServersideMountedWeaponSnapshot syncvar
Fix more rotation issues, offset the parent correctly
Point guns in the correct direction
Spawn 2 50cal guns for the dual version and point both slightly inwards to rotate towards the same forward
Ensure you cant loot the front turret ammo (this will be used by NPCs for reloads)
Disable 50 cal colliders for now
Was intersecting with the PT Boat
Fix bone name collisions with my crappy year old tool
Further pivot point and spawn point refinements
Make an actual item for the 50cal turret rather than using an m249
naval_update -> naval_update/gun_turret
Fix all of the weird rotation issues
Swap to quaternions - getting gimbal lock already
Stop the turret from flipping the equipped weapon
Using Syncvars - raw move the turret to be pointing the intended directin of the user
Fix the seat mount spawning us at weird angles (removed eye override)
- New turret setup
- Can now mount turret
- Server inputs passed as normal through the seat to the mounted weapon
- Can setup the mounted weapon with any in game BaseProjectile weapon (m249 for now)
- Backend like the attack helicopter gunner, echo out server movements to the client
- String pool gen
- Manifest
MountedWeaponSeat is now a generic style of seat that can be used with any attached turret
Create ServersideMountedWeapon, borrowing a lot of code from the attack helicopter turret
Setup interfaces to facilitate the generic seat
Add Check.IsValidWeapon to check if an Item is a valid weapon
Mounted weapon seat and mounted weapon owner system