-
-
Notifications
You must be signed in to change notification settings - Fork 30
Frequently Requested Features
These are features people ask for and are not possible to implement. Alternatives may be listed.
Textures and models are not changeable in any way. However, a different player model can be emulated by setting their role to different role and changing round end conditions and anything else to emulate the player's previous role. Due to the giant text when a player changes role as well as the small amount of player rotation, do not use this frequently.
Similarly, the map cannot be changed aside from the few prefabs that are spawnable. However, any GameObject
with a NetworkIdentity
can be moved, so a door could be temporarily or permanently moved in order to change the map.
Player speed is not synced outside of SCP-939 code and thus cannot be changed unless they are SCP-939. In the case they are, Assembly-Csharp.dll can be referenced and the component Scp939PlayerScript
can be gotten. From there, NetworkspeedMultiplier
can be set.
Resurrection speed is a function of the the 049's current health divided by the max health of 049. Max health is another variable not synced to the client so the resurrection speed cannot be changed. This is also the reason why setting scp049_maxhp
lower than the default causes problems, as the client thinks the max HP is the default and tries to resurrect faster than it should.
There's a clientside check whenever the client receives a voice packet to make sure that a human does not receive a voice packet from an SCP. This makes it impossible to change unless the client is altered, so it is not being added to ServerMod.
Prefabs are only able to be spawned in if they (1) have a NetworkIdentity
component and (2) are registered to the NetworkManager
. Most prefabs in SCP:SL have a NetworkIdentity
because it is a multiplayer-only game, but many are not registered. The only prefabs currently registered are:
- Player
- PlaybackLobby
- Pickup
- Work Station
- Ragdoll_0
- Ragdoll_1
- Ragdoll_3
- Ragdoll_4
- Ragdoll_6
- Ragdoll_7
- Ragdoll_8
- Ragdoll_9
- Ragdoll_10
- Ragdoll_14
- Ragdoll_16
To get around this, the position of existing GameObject
s with a NetworkIdentity
component can be set, but this of course moves an existing object so it will not be in its original location.
- Installation
- Config
- Server Name Variables
- Commands
-
- Admin Events
- Enviroment Events
-
Player Events
- OnPlayerHurt
- OnPlayerDie
- OnPlayerPickupItem
- OnPlayerDropItem
- OnPlayerJoin
- OnNicknameSet
- OnAssignTeam
- OnSetRole
- OnCheckEscape
- OnSpawn
- OnDoorAccess
- OnIntercom
- OnIntercomCooldownCheck
- OnPocketDimensionExit
- OnPocketDimensionEnter
- OnPocketDimensionDie
- OnThrowGrenade
- OnPlayerInfected
- OnSpawnRagdoll
- OnLure
- OnContain106
- OnMedkitUse
- OnShoot
- On106CreatePortal
- On106Teleport
- OnElevatorUse
- OnHandcuff
- OnGeneratorUnlock
- OnGeneratorAccess
- OnGeneratorInsertTablet
- OnGeneratorEjectTablet
- On079Door
- On079Lock
- On079Elevator
- On079TeslaGate
- On079AddExp
- On079LevelUp
- On079UnlockDoors
- On079CameraTeleport
- On079ElevatorTeleport
- On079StartSpeaker
- On079StopSpeaker
- On079Lockdown
- Server Round Events
- Team Events