psforever / PSF-LoginServer

Emulated PlanetSide 1 world and login server by the PSForever project.
https://psforever.net
GNU General Public License v3.0
75 stars 45 forks source link

Hijacking Turrets #1207

Closed Fate-JH closed 3 months ago

Fate-JH commented 4 months ago

One-manned field turrets can now be jacked with the remote_electronics_kit (REK). As a reminder, jacking a turret requires advanced hacking certification at least and it doesn't matter whether an enemy player is seated in it at the time. With expert hacking (or electronics expert), the turret deployable will remain in the game world and flip its allegiance (check the faction icons on the base plate). Just advanced hacking causes the turret to deconstruct.

As an additional feature, I thought to get one-manned field turret shields working correctly; but, I could not figure out how the shields would animate so they remain disabled despite the message handling. As a reminder, the turret's shields would charge in only one situation - the turret was constructed in a neutral facility SOI and the facility is captured by the same empire. This is an incredibly rare situation and encountering field turrets on the server for the short time it was FTP was rare enough. I tested using both vehicle shield packets and battleframe shield packets but neither worked.