You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added a command that allows you to spawn a SCP-575 to chase a specified player for any amount of time you want
* Now the Audios folder is located inside the SCP-575 configuration folder.
* Added a setting to loop the audio until the SCP-575 disappears.
* Added a setting that if the player is running and is in the MediumDistance range, the speed of the 575 will increase.
* Completely changed the way SCP-575 spawns by adding a Dummies API and other changes (you can copy it and use it in your plugins if you want, I don't care)
* Recompiled to run in SCP:SL 13.1
* It is now possible to make it so that if the SCP-575 disappears before the end of the blackout, the blackout will end.
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,11 @@ This plugin only works for [NWAPI](https://github.com/northwood-studios/NwPlugin
14
14
15
15
This plugin uses as dependency [SCPSLAudioApi](https://github.com/CedModV2/SCPSLAudioApi)
16
16
17
+
# Dependency problem with SCPSLAudioApi
18
+
Because of how NWAPI loads the plugin dependencies if more than one plugin installed uses SCPSLAudioApi it will give error and will not start the server, to solve this you will have to put ``NVorbis.dll`` in the dependencies folder.
19
+
20
+
**NVorbis.dll is included in a separate .zip file in the latest versions.**
21
+
17
22
# Sounds
18
23
This plugin allows you to make the SCP-575 play sounds of your choice, the sound files must be placed in the ``%appdata%/SCP Secret Laboratory/PluginAPI/plugins/Scp575Sounds`` folder.
[Description("Here you can translate the responses given by the command when executed, unfortunately due to NWAPI limitations I cannot give a configuration to change the command description.")]
[Description("After this time, the constant blackouts will begin to be executed.")]
47
58
publicfloatInitialDelay{get;set;}=300f;
48
-
59
+
49
60
[Description("If this value is true initial_delay will be ignored and a calculation will be made between initial_max_delay and initial_min_delay which will result in the delay")]
50
61
publicboolRandomInitialDelay{get;set;}=false;
51
-
62
+
52
63
[Description("The maximum time that the main delay can have")]
53
64
publicfloatInitialMaxDelay{get;set;}=250f;
54
65
@@ -67,13 +78,16 @@ public class BlackoutConfig
67
78
[Description("The minimum duration of a delay after a blackout")]
68
79
publicintMaxDelay{get;set;}=400;
69
80
81
+
[Description("If the SCP-575 disappears before the duration of the blackout should the blackout end?")]
[Description("Before starting the blackout Cassie will say this message")]
71
85
publicstringCassieMessage{get;set;}=
72
86
"facility power system failure in 3 . pitch_.80 2 . pitch_.60 1 . pitch_.49 . .g1 pitch_.42 .g2 pitch_.31 .g5";
73
87
74
88
[Description("I have no idea what it does")]
75
89
publicboolCassieIsHold{get;set;}=false;
76
-
90
+
77
91
[Description("Enable o disable bells in cassie announcement")]
78
92
publicboolCassieIsNoise{get;set;}=true;
79
93
@@ -99,6 +113,9 @@ public class BlackoutConfig
99
113
100
114
publicclassScp575Config
101
115
{
116
+
[Description("Enabling this will activate the patch that prevents the server from making the SCP-575 not float, causing a rather strange movement. I thought it was fun to leave it as an option")]
117
+
publicboolWeirdMovement{get;set;}=false;
118
+
102
119
[Description("The name the dummy will have")]
103
120
publicstringNickname{get;set;}="SCP-575-B";
104
121
@@ -121,6 +138,9 @@ public class Scp575Config
121
138
"Should SCP-575 play the sounds files found in its folder? | The sound file must be .ogg need to be mono channel and have a frequency of 48000 Hz")]
122
139
publicboolPlaySounds{get;set;}=false;
123
140
141
+
[Description("The audio track replayed by the SCP-575 will loop until it is destroyed.")]
142
+
publicboolAudioIsLooped{get;set;}=false;
143
+
124
144
[Description("The volume of the sound to be reproduced by the SCP-575, high values violate the VSR.")]
125
145
publicfloatSoundVolume{get;set;}=85f;
126
146
@@ -135,8 +155,7 @@ public class Scp575Config
135
155
"The maximum distance that SCP-575 can be from its victim, remember that it must be greater than 16")]
136
156
publicfloatMaxDistance{get;set;}=28f;
137
157
138
-
[Description(
139
-
"If the distance is equal to or greater than this value, the speed that is movement_speed_fast will be applied to the SCP-575.")]
158
+
[Description("If the distance is equal to or greater than this value, the speed that is movement_speed_fast will be applied to the SCP-575.")]
140
159
publicfloatMediumDistance{get;set;}=16f;
141
160
142
161
[Description(
@@ -155,6 +174,12 @@ public class Scp575Config
155
174
"If the distance between SCP-575 and its victim is equal to or greater than 5, it will have this movement speed")]
156
175
publicfloatMovementSpeed{get;set;}=22;
157
176
177
+
[Description("Enabling this setting if the victim is running and is in the MediumDistance range the 575 will move faster.")]
[Description("At what speed will the SCP-575 move if the target is running if ChangeMovementSpeedIfRun is false this will not be used.")]
181
+
publicfloatMovementSpeedRunning{get;set;}=25;
182
+
158
183
[Description(
159
184
"This is complicated to explain, so I'll just tell you what I do in the code. If a player has a flashlight on and points it at SCP-575 I fire a ray of light that if it touches SCP-575 adds a point of light, when it reaches a certain point of light SCP-575 disappears. The coroutine that checks these points is executed every 0.1s.")]
160
185
publicintLightPoints{get;set;}=85;
@@ -163,4 +188,19 @@ public class Scp575Config
163
188
"When a player makes SCP-575 disappear using the LightPoints, this message will be sent to the player.")]
164
189
publicstringLightPointKillMessage{get;set;}="SCP-575 disappears for now";
165
190
}
191
+
192
+
publicclassResponseCommandConfig
193
+
{
194
+
publicstringRoundHasNotStarted{get;set;}="You cannot use this command if the round has not started.";
195
+
196
+
publicstringInvalidPlayerId{get;set;}="{0} is not an valid player id";
197
+
publicstringPlayerNotFound{get;set;}="Player not found";
198
+
199
+
publicstringInvalidDuration{get;set;}="{0} is not an valid duration";
200
+
201
+
publicstringSpawning{get;set;}="Spawning a SCP-575 to hunt {0} for {1} seconds";
publicstringHelpResponse{get;set;}="Correct use of the command {0}\nPlayer ID | It is a numerical ID that changes with each new round and each time someone connects to the server again.\nDuration | The time (in seconds) that the SCP-575 will hunt someone\n\nNote that this command does not turn off the lights, so if the SCP-575 is in a lit room for more than 5 seconds it will disappear.";
0 commit comments