Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #28022: mecha/AI/hologram bugs from #25078 #28026

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

asciodev
Copy link
Contributor

What Does This PR Do

PR #25078 introduced a few bugs related to AI eyes, mechs, and holograms, which are referenced in #28022. This change fixes those bugs.

  • Entering a mech with an active hologram eye will now release that eye before granting control of the mech.
  • Double clicking on a turf as an AI while in a mech will no longer unstick the camera from the mech.
  • When exiting a mech, the AI will now properly refocus on its core instead of on the spot that it first entered the mech.
  • AI will no longer receive duplicate original audio from holopads, and now will receive only relayed speech.
  • AIs will no longer be able to activate a holopad while occupying a mech.

Why It's Good For The Game

Bugs are bad. Fixing them is good.

Testing

I booted up a test server and logged in as an AI. I spawned a phazon mech, and used VV to add an AI tracker to its trackers.

I took control of the mech, and then tried to use a holopad, to no effect. I also tried to double click on a turf, to no effect.

I navigated to another area as the mech.

I then used the eject button to eject from the mech. My camera was refocused on my core, and when I moved away from it, its movement was natural and did not jump to the location that the mech was first entered.

I activated a holopad. I then took control of the mech. The hologram disappeared. I ejected from the mech, and my camera was refocused on the core, and when I moved away from it, its movement was natural, as above.

I logged into the test server with another client as a guest. I joined as a botanist, and jumped to the central primary hallway above the bridge. On the client that I was logged in as an AI, I activated the holopad there. I spoke using departmental radio (:h) as the AI. The botanist client heard the hologram. (S.O.P.H.I.E. states, "Hello world.") I spoke normally as the botanist. The AI client heard the relayed speech only. (Relayed Speech: Lando Riker says, "Hello world.")


Declaration

  • I confirm that I either do not require pre-approval for this PR, or I have obtained such approval and have included a screenshot to demonstrate this below.

Changelog

🆑 Ascio
fix: Entering a mech with an active hologram eye will now release that eye before granting control of the mech.
fix: Double clicking on a turf as an AI while in a mech will no longer unstick the camera from the mech.
fix: When exiting a mech, the AI will now properly refocus on its core instead of on the spot that it first entered the mech.
fix: AI will no longer receive duplicate original audio from holopads, and now will receive only relayed speech.
fix: AIs will no longer be able to activate a holopad while occupying a mech.
/:cl:



PR ParadiseSS13#25078 introduced a few bugs related to AI eyes, mechs, and
holograms. This change fixes those bugs. Now, entering a mech with an
active hologram eye will first release that eye before granting control
of the mech. Double clicking on a turf as an AI while in a mech will no
longer unstick the camera from the mech. When exiting a mech, the AI
will now properly refocus on its core instead of on the spot that it
first entered the mech. AI holograms no longer receive normal audio
near their holopads, receiving only holopad-relayed speech now instead.
AIs will no longer be able to activate a holopad while occupying a mech.
@ParadiseSS13-Bot ParadiseSS13-Bot added -Status: Awaiting type assignment This PR is waiting for its type to be assigned internally -Status: Awaiting review This PR is awaiting review from the review team and removed -Status: Awaiting type assignment This PR is waiting for its type to be assigned internally labels Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-Status: Awaiting review This PR is awaiting review from the review team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants