Commit Graph

44 Commits

Author SHA1 Message Date
clusterfack
e1fc7f692f Fixes virtualhearers sight flags (#11544)
Adds a wrapper proc for changing sight flags

When sight flags are changed, it checks if the sight flags have actually been changed and then if so modifies the virtualhearer's sight flags.
2016-08-23 09:32:16 -05:00
JustSumBody
0524390355 Allows AIs to see visible actions through cameras (I broke smartgit) (#11151)
* Allows AIs to see visible actions through cameras

* changelog

* high res need to fix flag

* high_res and flags

* Atom level proc honestly just remove istype tbh

* hi,res 2.0

* Internal conflicts

* Make malf great again

* Gee AI how come you get to have two News

* actually this isn't necessary also remove removing src
2016-08-02 21:15:33 -05:00
JustSumBody
65c1ccdd75 Restores lipreading functionality to malf hi-res cameras (#11056)
* Fixes hi-res cameras for malf AI

* changelog

* fixes rendered speech case
2016-07-18 08:18:35 -05:00
unid15
066e8680aa fix for AI photography 2016-02-19 12:18:10 +01:00
PJB3005
1a2f9ab059 All the EOLs are now LF.
Fuck you too 0D :^)
2016-01-16 23:28:07 +01:00
Sood
3177b3af13 Reverted admin debug changes, nulled references after qdels 2015-12-06 15:11:57 -08:00
Sood
3cdf89b675 qdel replacing del, time for bugs 2015-12-06 15:11:15 -08:00
PJB3005
99bf59d80e Adds a to_chat() proc, to pave the way to a non shit chat. 2015-11-25 15:55:15 +01:00
PJB3005
3cca5692af Removes the panic writer messages. 2015-11-20 03:17:06 +01:00
Rob Nelson
ec3c43fd37 Merge branch 'Bleeding-Edge' of github.com:d3athrow/vgstation13 into tcomms-rework
# Conflicts:
#	code/modules/mob/living/carbon/species.dm
#	vgstation13.dme
2015-10-09 11:15:14 -07:00
Rob Nelson
3ca2cfcf8b More work on Saycode, add graphical documentation. 2015-10-08 02:09:12 -07:00
PJB3005
72a9b17ba5 Anchors the AI eye. 2015-10-07 01:52:51 +02:00
PJB3005
6889d33943 Fixes the AI having X-RAY vision even when not viewing through the eye mob.
Fixes #117
2015-08-30 17:37:44 +02:00
clusterfack
fbe4bd7e4d New Malf Module
High res cameras, inspired by scene in 2001 where HAL reads the lips of the crew.

Costs 10 datapoints, allow the AI eye object to hear the words of crewmembers in vision, also allows the AI to read from any paper regardless of its distance from the camera by clicking on it as usual (allowing an AI to get the monitor code by himself). AI cannot read mobs who have covered their mouth with a mask.
2015-08-13 05:16:27 +00:00
D3athrow
40bd11ec4e Fix github issue #5658 2015-08-05 11:49:38 -05:00
D3athrow
dcca92ead1 Fix #5636 2015-08-02 17:35:00 -05:00
D3athrow
d59f6a07b0 comment out panicwriter and saytesting 2015-07-20 16:04:48 -05:00
D3athrow
41d7df01fd just fuck my shit up 2015-07-18 02:30:51 -05:00
PJB3005
2194613451 forceEnter 2015-07-10 23:15:58 +02:00
PJB3005
decf441d75 Why was N3X15 one of our head coders again? 2015-07-07 15:58:10 +02:00
dylanstrategie
18f349e4cc Porting fixes from TG
- Should fix some odd bugs with the HUD that don't need much more
precision, notably with double-clicking
- Camera lights should now work properly
2014-09-27 21:40:45 +02:00
dylanstrategie
4179d266a0 Porting /tg/ HUD
All of it has been tested and should be functional. I did not port the
AI Crew Monitor and modified the button positions to ensure it fits

PDA Messenger Logging works, but sending messages seems wonky. Might
just be because there was no PDA to send a message to though
2014-09-27 18:05:12 +02:00
Rob Nelson
0159efc479 Fix jukeboxes needing reset after shuttle movement, [CLASSIFIED], warning fix. 2014-07-23 15:56:13 -07:00
Rob Nelson
097559eef9 GC fixes. 2014-02-16 12:37:06 -08:00
Giacomand
dff538f5ab Ported /tg/'s blob revamp to /vg/ code.
I suggest testing this first.
2013-08-25 02:13:41 +01:00
giacomand@gmail.com
8ee2905051 -Fixed an issue with AIs being unable to suicide.
-Fixed Issue 1163 with AIs not taking oxygen damage while ghosted/disconnected.
-Reverted my failed experimental exploit patch for AIs seeing through the camera-less fog.
-Removed some unneeded spawn()s from AI Life().

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5322 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-14 23:42:33 +00:00
giacomand@gmail.com
b23d48794c -Possible fix to the exploit of jumping around to see behind the camera-less fog.
I will need to do testing on an actual server with lag and players.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5312 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-13 21:32:25 +00:00
giacomand@gmail.com
85ea98f131 -Mimics will attack other mimics which are created with a different staff.
-Fixed the AI eye falsesafe from not working.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5249 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-02 11:13:00 +00:00
giacomand@gmail.com
43e06e4ebb AIs in intellicards will not be able to move their camera anymore. Limiting them to their own core vision.
Committing Zelack's cleanup and fixes from here:
http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=11056

Plantbags now correctly pick up plants from trays.
Using a hoe or injecting reagents updates the tray icon.
Plant Analysers now work on seed bags.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5173 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-23 23:01:04 +00:00
elly1989@rocketmail.com
73b54b017b Removed mob/var/UI, it now uses client.prefs.UI_style
Removed var/constant/Pi It's already defined in setup.dm
Moved a bunch of global_lists to global_lists.dm
Fixed hair randomisation. (still bits to do)
Moved a lot of preferences_setup.dm stuff into __HELPERS/mobs.dm They'll be FAR more helpful as generic procs, rather than something tied to preferences.
Merged mob/var/nopush into status_flags with the CANPUSH flag
Merged mob/var/nodamage into status_flags with the GODMODE flag
Removed mob/var/be_syndicate and mob/var/be_random_name as they are not used.
Added /proc/ui_style2icon(ui_style) proc. It converts a string like "Midnight" into its corresponding dmi file. The code fore creating a new hud uses it.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5164 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-22 15:22:08 +00:00
giacomand@gmail.com
6a2d78bc94 -Killed the updateDialog lag. I added a check to see if there were any mobs to update, if not it will stop checking until a user uses the machine again. I had to replace all the machine = src and machine = null with procs to help make it manageable. I believe this is one of the culprits causing the server to lag as the round goes on, as more players will interact with machines.
-Atmos delay is now based on active players, to help fight lag for massive player rounds.

-Changed some for(blah in world) loops to use the correct lists.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4958 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-25 19:15:51 +00:00
giacomand@gmail.com
2f68d2cd48 -Brain radio MMIs were fixed, they wouldn't broadcast the MMI's message.
-Fixed a bug where you couldn't talk into intercoms while it is dark.
-AIs can now type in the "track with camera" verb and get a list of names to show up. This can save time if the AI needs to track an individual.
-Deleted the old AI move.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4910 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-18 16:16:29 +00:00
giacomand@gmail.com
7fc77b0bc5 -Small improvements to atmos. Most notable is combining two loops into one during initialization and commenting out a loop with no nested code.
-Set chunk/update to be a background proc.
-Made it so the Eye's loc won't be set to null when moving out of the map.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4735 316c924e-a436-60f5-8080-3fe189b3f50e
2012-09-20 14:24:50 +00:00
giacomand@gmail.com
e1bdd57bf2 -Fixed holopads not letting you holo_talk when you weren't on the holopad.
-AIs can now double click on living mobs (/mob/living) to instantly start tracking them.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4673 316c924e-a436-60f5-8080-3fe189b3f50e
2012-09-10 09:45:07 +00:00
giacomand@gmail.com
565b868ebc -Added a presets file for telecommunications. Moved all presets there.
-Made the Chief Engineer's cigarette spawn unlit. It was causing runtimes and everyone else spawns with unlit cigarettes.
-Updated changing AI name so it changes the eyeobj and the PDA, removed the PDA name from ai/life.dm()
-Removed a useless comment in uplinks.dm

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4636 316c924e-a436-60f5-8080-3fe189b3f50e
2012-09-06 09:36:45 +00:00
giacomand@gmail.com
db2d703f72 -Holograms can move around again. I'm also experimenting with them being area based, meaning they can move around an area freely and lose their hologram when they leave the area. I've made it a const option, so change HOLOPAD_MODE to 0 to return it to the old system, which will destroy the hologram when it is out of range of the holopad.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4633 316c924e-a436-60f5-8080-3fe189b3f50e
2012-09-06 02:33:30 +00:00
giacomand@gmail.com
2499ce6b6e -Some more html fixing, for communication runes and books.
-Added a badmin secret.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4631 316c924e-a436-60f5-8080-3fe189b3f50e
2012-09-06 01:05:32 +00:00
giacomand@gmail.com
6117b5d02f -Fixed Issue 849
-Fixed some other occurrences of this happening. If you find any, please post it here: http://nanotrasen.com/phpBB3/viewtopic.php?f=7&t=9955 
or let me know in #coderbus.

-Split up the Core() verb a bit.
-When sending messages to Centcom or the Syndicate, with the communications console, it would never reset itself since it resets the wrong variable. I've given it the correct variable and I made the cooldown 10 minutes instead of a minute.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4629 316c924e-a436-60f5-8080-3fe189b3f50e
2012-09-05 23:42:04 +00:00
giacomand@gmail.com
c207124142 New item "camera assembly" that is dispensed from the autolathe. (700 Metal/300 Glass), deleted old grenade camera assembly.
It will construct a camera after doing the following steps:
Wrench it to attach it to a wall
Weld it to the wall with a welding tool (Welding Helmet Required)
Attach wires to the camera
Possible extra steps in order to create special cameras (X-Ray, EMP Proof, Motion) (You can have more than 1 special attachment, meaning it can be possible to have an EMP Proof, Motion, X-Ray camera)
X-Ray will need carrots (something for botanists) (this will possibly changed, well it will definitely carrots are weird)
EMP Proof will need solid plasma.
Motion will need a prox sensor.
Screwdriver the panel closed to complete the camera.

To deconstruct the camera, it would be not so difficult to disable but it will take a while to completely remove it:
Screwdriver the panel open
Cut all the wires, cutting the alarm wire is optional.
Weld it.
It is now a camera assembly again.

Gave the cameras wires to cut/mend/pulse. Random wires for every camera to make hacking it harder.
Focus wire. Will make the camera have a shorter or normal vision range.
Power wire. Will disable the camera. Pulsing will make it kick anyone who is viewing it through a security computer. Will give a tiny shock if not protected.
Light wire. Will disable the "Toggle Camera Light" that the AI has. Pulsing it will disable/enable it.
Alarm wire. Will warn the AI that a camera's alarm has been set off, when this wire has been cut/pulsed. Does nothing else. Should only triggered once, meaning.. setting off the camera won't set it off ever again..
Special wire. Will toggle the special attachment of the camera. Pulse toggles, cutting disables, mending enables.
Nothing wire. Does nothing, just here to add more wires and make guessing which wire does which harder. x 3

Placed extra cameras, I can't recall all the places but here are some.
Around solar array entrances
Around EVA
Around the security back maintenance door
Place an X-Ray camera in the Living Quarters.
Bartender back room
Virology living quarters
Chapel crematory
A camera on the outside of Telecomm's external airlock
X-Ray camera outside every escape pod station.
Inbetween toxins test site and the station(?) There's cameras there already
Inbetween viro and medbay i think ^ I mean inside maintalright
private study? (library back room)
engineering secure storage
X-ray camera in toilets (both of them)
Both maintenance access that you find between important areas (captain room, teleporter room)(HoP office, staff meeting
Custodial Closet
Surgery Observation
Atmospherics Maintenance
Infront of Atmos
mining maintenance
Kitchen cold room
Hydroponics Storage
Emergency storage (both)

Other Map changes
Add red phone in Cyborg Station
Add AI restorer to Cyborg Station room
Added some camera assemblies in the Cyborg Station, inside a crate!

TODO:

Get camera alarms to give the AI a link to press, to jump there.
Standardize wires or something. There's a lot of copy+paste..

OTHER:

With the new camera stuff I got rid of the default x-ray cameras. Though there still are x-ray cameras placed around, watching you sleep.

Added Lugar223's improved vending interface. http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=9586

Some runtime fixes.

Added a second buffer for Cyborg cameras. Hopefully it'll make freelook less laggy.
Increased the first buffer to 2 seconds.
Some tweaking to stuff.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4606 316c924e-a436-60f5-8080-3fe189b3f50e
2012-09-02 23:20:40 +00:00
giacomand@gmail.com
a84ccb93ff -Fixed an issue where you couldn't send messages to people inside lockers.
-AI has to double click to move by turf.
-If more than a certain number of alarms are triggered, the AI and Cyborg will instead receive a message saying how many alarms have been triggered and of which type, they will then get a link to the "view alarms" proc. This also counts for cleared alarms.
-Fixed an issue with creating turfs and it not showing up on the camera.
-Modified the "Communication Blackout" event. It will now notify the AI that comms are down, if it is var/silent. Increased the EMP duration for telecomm machines.
-Updated the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4572 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-28 08:13:00 +00:00
giacomand@gmail.com
b0f750339c Added freelook AI Eye acceleration. Your AI Eye will get faster the longer you move it, allowing you to move around the station quickly. Stopping long enough will return the camera to normal speed.
With this I added a toggle to the acceleration. Using it will stop the AI Eye from gaining speed.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4570 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-27 20:30:03 +00:00
giacomand@gmail.com
a6fa7ad176 -Fixed an AI eye issue where tracking a person from your core won't set your eye.dm
-Tracking now works like it has again. The else if weren't working because the "else if human" check would make them pass all of it.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4563 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-27 11:52:21 +00:00
giacomand@gmail.com
08a969b6a2 -AI Eye won't show up in pull, examine or point to popout menus.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4549 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-26 04:53:29 +00:00
giacomand@gmail.com
683662f3b6 -Ported/continued AI Freelook. AIs can now look around like a ghost with the exception that they cannot see what cameras cannot see. Meaning if you're in maintenance, and there's no cameras near you, the AI will not know what you are doing. This also means there's no X-Ray vision cameras anymore. I've added documentation to freelook.dm which explains how the system works, if anyone is interested in adding anything. More information here: http://nanotrasen.com/phpBB3/viewtopic.php?f=7&t=9675
-I've added some cameras to rooms that should have cameras but were previously depending on other camera's using their X-Ray vision in order to see into a room.

-AIs have a multitool in their contents that they can use to interact with the telecommunication machines.

-Added "Follow" for observers. Works the same as AI tracking without checking if they can track.

-Added a range to how far Cyborgs can interact with machines. This is to stop Cyborgs from interacting with machines through cameras, which could be used to easily disable the AI.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4531 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-25 05:34:33 +00:00