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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIRROR] AI Multicamera mode #1079

Merged
merged 2 commits into from May 31, 2018
Merged

[MIRROR] AI Multicamera mode #1079

merged 2 commits into from May 31, 2018

Conversation

yogstation13-bot
Copy link
Contributor

Original PR: tgstation/tgstation#37695

untitled

馃啈 Cruix
add: AIs now have an experimental multi-camera mode that allows them to view up to six map areas at the same time, accessible through two new buttons on their HUD.
/:cl:

The AI is often expected to be keeping an eye on multiple different parts of the station at all times, which usually entails smashing the "show camera list" and "track with camera" buttons for their entire play time. This PR makes it possible for the AI to store several important map locations and be able check on them all with one button press, then switch back and zoom around the map as normal.

Due to the limitations of vis_contents, I had to make a new area with no darkness and no camera static to park the AI's client eye while it looks at the different screens. You can make up to six windows, and they can be resized and moved wherever you want them on your screen. Darkness, camera static, huds, and click interaction all work normally through the windows. Parallax does not, because you cannot see space. AI detection multitools properly detect the different cameras as if they were the AI's primary camera.

All the sprites are, naturally, terrible, but maybe someone will step up and make better-looking ones.

@yogstation13-bot yogstation13-bot added Upstream PR Merged DME Edit This PR affects the yogstation.DME file Feature This adds new content to the game Mapping Will result in a change to a map. labels May 31, 2018
Cruix and others added 2 commits May 31, 2018 11:45
* Added multicamera mode for AIs

* Minor multicamera fixes

* Cameras near an AI multicamera eye now light up red

* Disabled AI multicamera mode without admin intervention

* Fixed AIs being able to use multicamera mode when they should not
@ThatLing ThatLing merged commit 0ca01fd into master May 31, 2018
@ThatLing ThatLing deleted the upstream-merge-37695 branch May 31, 2018 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DME Edit This PR affects the yogstation.DME file Feature This adds new content to the game Mapping Will result in a change to a map.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants