StarCoreSE / SCModRepository

Starcore's Mod Repo
https://www.starcore.tv/
GNU General Public License v3.0
2 stars 17 forks source link

some weapons on ctcs can turn invis #531

Open InvalidArgument3 opened 9 months ago

InvalidArgument3 commented 9 months ago

extremely annoying (see:ares) need a testing setup to reproduce

Tiberias42 commented 9 months ago

Should 'borrow' a ship from Preston

BadM0dder commented 4 months ago

Bd says it relys on keen syncing with pistons and rotors and hinges.

The gun needs to report "is aimed" before it can fire, so I think keen abstracts subgrid angles at range when your further than 2-3km as a way to save packets and preformance, thus your client never gets the "is aimed" = true because it's not tracked to within those 10 miliradians of the target when set to 0.1 aim tolerance or something so the ctc weapons never fires on your client.

BadM0dder commented 4 months ago

What we should do is take the admin hellfire, set it's range to 10km and make reload 0, and just see if the beam jerks around for the targets client when at that range while it rotates smoothly for the shooter's client. I guess first we should see if the targets client sees the beam at all.

InvalidArgument3 commented 4 months ago

Based bd will work on this later today

InvalidArgument3 commented 3 months ago

can try a force sync by using rotor lock need a reproducable test scenario but its going to be mp only

InvalidArgument3 commented 1 month ago

the part where wc checks for a weapon being on a rotor turret is the RotorTurretTracking flag in AiTargeting.cs btw