664818ecb6169

664818ecb6a37
1 Guest is here.
 

Topic: SS2 Alarming Cameras (SCP Minimod) Read 11178 times  

664818ecb7581RoSoDude

664818ecb7606
°DML°string

System Shock 2 - Alarming Cameras (SCP Minimod) v1.02
by RoSoDude https://rosodudemods.wordpress.com/

This mod adds a new feature to the camera alarm dynamics in SCP:
-Unless the security grid is hacked, cameras activate the alarm when they are destroyed
-Remote Electron Tampering allows the player to circumvent destruction alarms for 5 seconds + 5 seconds per PSI
-The old alarm-shortening effect for Remote Electron Tampering has been removed
-Cameras under the effect of stasis will not activate destruction alarms

Requires SCP Beta 4 (and hopefully supports future versions), install above it in Blue Mod Manager. Overwrites psi power descriptions, so will minorly conflict with other mods that change those.
« Last Edit: 05. February 2021, 04:54:47 by RoSoDude »
Acknowledged by: tiphares4

664818ecb7816goosefromtopgun

664818ecb7877
I really like this. Makes hacking way more important. Just noticed an issue. Destroying more than one camera sets off more than a singular alarm. Instead, multiple alarms are set off concurrently so that you have an overlay of multiple klaxon alarm sounds.
« Last Edit: 01. May 2020, 11:46:38 by goosefromtopgun »

664818ecb79fcvoodoo47

664818ecb7a52
they are connected to different ecologies, most likely - if that's the case, this is "correct", and not sure whether something can be done about it.

//hmm, not possible to trigger multiple alerts the vanilla way - so the mod's script file may need a tweak, "do not sound an additional alert if one is already in progress".
« Last Edit: 01. May 2020, 10:59:40 by voodoo47 »

664818ecb7b7bZylonBane

664818ecb7be4
Yup, making this work in SCP Beta 5 was a pain in the ass.

664818ecb7ca0voodoo47

664818ecb7cf4
aha, right, I've been testing this with b5 wip. maybe we could share the latest scpCameraHelper script?

664818ecb7d9bZylonBane

664818ecb7dee
Shhhh, that hasn't been released yet.

664818ecb7ec2RoSoDude

664818ecb7f1c
Serves me right for not even testing that despite it being a motivating example for gameplay strategy. Hmm. Is there any data I could check on the ecologies for active alarms? This would be so easy with Unreal's AllActors() function...

664818ecb7fd0voodoo47

664818ecb802a
modder: "I'll just make this nice and simple minimod.."
Dark: "NO."

664818ecb836fZylonBane

664818ecb83d6
Hmm. Is there any data I could check on the ecologies for active alarms?
ShockGame.IsAlarmActive() will just tell you if there's an active alarm.

664818ecb84a3RoSoDude

664818ecb84fb
Version 1.01 - Fixed multiple stacking alarms when breaking cameras while another camera has already activated the alarm.

664818ecb85d9voodoo47

664818ecb8633
ah, you'll also probably want to modify that email (and its audio) from Polito where she tells you to destroy cameras, as that is not such a great idea with this mod loaded.

déjà vu - didn't someone already make (a cruder version of) this?

664818ecb8779RoSoDude

664818ecb87cf
That came to mind, but I didn't want to do it without modifying the voice lines and... that's a bit above my pay grade. I did at least update the relevant info comp.

Yeah, there was a guy in the Secmod thread who made cameras alarm when destroyed, even when the security grid was hacked. We had a brief conversation about what it would take to create this mod (answer: two lines of Squirrel script on top of SCP's and a bit of DML for the new Remote Electron Tampering effect).

664818ecb8942JossiRossi

664818ecb8999
I can do audio editing if you wanted a version of that email without the line about the cameras. New lines are technically possible with a sound alike (not happening) or splicing in lines from other emails to say the right thing (possible but down to luck). Removing a sentence about killing the cameras would be easy though

664818ecb8b14voodoo47

664818ecb8b8c
I'm fairly sure the edited clip already existed.. somewhere - I remember someone who only wanted to do the alert triggering upon destruction part of the mod, without making them hackable (that is fairly easy to do), but I can't seem to find it anywhere (I don't think it's been the Nixos guy whose topic I've just bumped in the Engineering subforum, as I'm almost sure that edited audio clip was discussed and included).


//ok, looks like I'm not insane (well, not any more than usual);
https://www.systemshock.org/index.php?topic=7153.msg129967#msg129967
https://www.systemshock.org/index.php?topic=10910
« Last Edit: 01. May 2020, 20:45:32 by voodoo47 »

664818ecb8ef9sarge945

664818ecb8f65
Thanks for making remote electron tampering actually somewhat worthwhile as a skill now!
Acknowledged by: RoSoDude

664818ecb9176RoSoDude

664818ecb91d3
Uh oh, another unexpected behavior. When the new Remote Electron Tampering power is active, not only are destruction alarms canceled, but so are ALL alarms. This is not the fault of my script, but a problem with setting Codebreaker (-3154)'s PsiPower Type from "One-Shot" to "Shield". It seems that since the power was originally capable of deactivating alarms, they get stopped before they start when the power is active.

I can force the script to send an alarm signal to linked ecologies when the power is active, but the camera state doesn't get set properly -- touching a security panel won't reset the camera state, and instead it gets stuck in red alert mode (and thus can't reactivate the alarm after it's deactivated). Another related problem is that dying and respawning to a QBR during an alarm forced this way via script will actually reset the camera state for some reason, which means that you can get the camera to alarm again the instant you deactivate the security panel. It's a big mess and I don't know if there's a simple property I can set to fix it or if I need to do more elaborate hackery.

664818ecb93d8RoSoDude

664818ecb9431
Version 1.02 - Fixed Remote Electron Tampering disabling standard alarms and causing cameras to become stuck in the red alert state. Cameras under the effect of stasis will no longer activate destruction alarms.

After many failed attempts, I finally managed to find a fix -- I rearranged the scripts so I can intercept the Alertness message and deactivate Remote Electron Tempering before the message reaches the vanilla cameraalert script. The situation where the player casts the power, deactivates the alarm, and then tries to destroy the camera again within the duration is so niche that I think it's a fair tradeoff for everything working properly. I'd appreciate if someone could check over the other scripts to make sure they're moved correctly. I wasn't sure if I had to move the NVMetaTrap script params to the Security Camera Scripts object, but I did it anyway. It seems like the Stasis Field Generator still blinds cameras and they stop being HUD selectable once destroyed, so I think it's all okay.

I'll look into fixing voice lines another time, getting this critical fix out was the top priority.
664818ecb9654
Please feel absolutely free to just copy over "\snd2\vEmails\EM0210.wav", "\strings\LEVEL02.STR" (Edit in Line 58) and "\subtitles\english\vemails.sub" from the link voodoo47 posted previously.
Thanks for this fantastic mod, RoSoDude!
Acknowledged by: RoSoDude

664818ecb9820tiphares4

664818ecb98f2
The new flashing camera effect (which looks really super super cool & which i love - such qol-improvement, awesome! and fits so well graphically/atmospherically) of SCP Beta 5 gets overridden by Alarming Cameras - even when placing down under SCP Beta 5 priority-wise in Blue Mod Manager list. 

It would be cool if it would work together with alarming cameras - especially because that hard security mini mod is way too hard for me as it is now / for most people i think.


edit: And it seems that Alarming Cameras is not working with SCP Beta 5 at all. Destroyed some cams & no alarm. Which is pity - it is the only way to play SS2 imo so far.     :l 
« Last Edit: 03. January 2024, 20:35:55 by tiphares4 »

664818ecb99cbRoSoDude

664818ecb9a20
Yes, SCP Beta 5 rearranged the camera scripts again so I'll need to update this mod to work with it. It's on the way, don't worry.

664818ecb9b67Hans Schmidt

664818ecb9bcd
Any news on this?

This mod is much better balanced in my opinion than the equivalent Hard Security Mode minimod, since it makes the game harder but still leaves several ways to bypass the alarm (hacking, psi, and stasis). Since trying it, i can't even imagine playing the game without it, it would be too easy to just shoot the cameras.

The only changes from the minimod that i would like is the requirement to hack the security console to disable alarm (at reduced difficulty) and triggering alarms on failed hack. If that was integrated into this mod, keeping the alarm reduction on the psi power would actually become useful for non-hackers.

664818ecb9c7eZylonBane

664818ecb9cdb
You know you can hack and stasis cameras in SCP too, right?

664818ecb9e64Hans Schmidt

664818ecb9eb9
Oh, thanks ZylonBane for the info on the stasis option in SCP. However, it is the least useful option, given how late you get the stasis field generator.
But since you commented, is this compatible with the other minimod allowing to lay the stasis traps? It actually makes the weapon useful, which is definitely a good change.

Yes, you can hack cameras individually. But that is much more clunky and dangerous compared to shooting them, since you need to be close. And is more expensive, as the poster in that thread noted.

This mod on the other hand gives multiple ways to deal with them at range, and very realistically too, but all require cybermodule investment. And the more practical options are given to the paths generally considered harder at the beginning, which actually improves game balance in the beginning levels between specializations. That is why this mod is so good.

The only thing that could improve it would be to change the hacking 'minigame', to one where choices actually matter. But i guess that would be way out of scope of a simple small mod.

664818ecb9f87ZylonBane

664818ecb9fda
So what you're saying is, of all the ways Alarming Cameras gives players to deal with cameras, psi is the only one you like.

Your name:
This box must be left blank:

Look at you, hacker: a pathetic ____ of meat and bone!  (Fill in the missing word):
1 Guest is here.
I make my own economy.
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
664818ecba173