Releases: Axwabo/slocLoader
Releases · Axwabo/slocLoader
14.0 public beta
Important
Make sure to update Axwabo.Helpers as some room names have changed
PrefabsLoaded
is now invoked when the server is waiting for players- Admin toy rotation now sets a Quaternion instead of a LowPrecisionQuaternion
- If a light object has shadowns enabled, the toy will have soft shadows, no shadows otherwise
- New light properties are not supported yet
rotation fixes
they keep coming (13.5)
Changes:
- Fixed the previous primitve fix (allowed unsafe code)
- Primitives will no longer be malformed on the server
- Rest of changes can be found here
small oopsie (13.5 beta)
Changes:
- Fixed primitive creation resulting in malformed server-side objects
- Rest of the 13.5 changes can be found here
13.5 beta
Changes:
SetPrimitiveTypePatch::SetTrigger(MeshCollider, PrimitiveObjectToy)
is now obsolete, use the new methodUpdateColliderTriggerState(PrimitiveObjectToy)
SetPrimitiveTypePatch
has been updated to set the trigger state- Creating primitives without a client-side collider will now remove the
Collidable
primitive flag - Due to negative scaling no longer affecting the client-side collider state,
AdminToyPatch::GetScaleFromTransform
andAdminToyPatch::GetScale
are now obsolete - Added
SetPrimitiveFlagsPatch
to ensure correct server-side collider state - Updated EXILED to
8.9.0
(not tested)
IsStatic property + no code duplication
Additions:
IsStatic
property inCreateOptions
MakeObjectsStatic
property in asset location configs (defaults to false)API::ApplyAdminToyTransform(GameObject)
andAPI::ApplyAdminToyTransform(AdminToyBase, bool)
methodsSendSpawnMessagePatch::ShouldUseGlobalTransform(NetworkIdentity)
methodStaticSpawnCommand
property in config (defaults to true) - specifies whether thesl_spawn
command should make objects static- Added a patch to set global transform in method
NetworkServer::AddAllReadyServerConnectionsToObservers(NetworkIdentity)
Fixes:
- (NWAPI)
API::CreateDefaultObject(ObjectType)
no longer creates an adrenaline locker when aStructure
object type is supplied - Admin toy transform properties are now set upon creation
Changes (non-breaking):
- Deleted the project
slocLoader.NWAPI
- build configurations deteremine the plugin framework (assembly names remain separate)
optimizations + IsStatic support
Breaking(?) changes:
- Deprecated the following:
- delegate `SendSpawnMessagePatch.SpawnDataModifier(NetworkIdentity, NetworkConnection, ref SpawnMessage)
- field
SendSpawnMessagePatch.SpawnDataModifiers
- method
SendSpawnMessagePatch.ModifySpawnMessage(NetworkIdentity, NetworkConnection, ref SpawnMessage)
- Use the below method instead
Additions:
API::SpawnGameObjectWithGlobalTransform(GameObject)
- optimizations based on #10- This method forces Mirror to use world-space transform (instead of
localPosition
localRotation
localScale
) when writing the spawn message - The global state isn't retained when writing data to later created connections, unless an
slocObjectData
component is added to the GameObject- A GameObject with an
slocObjectData
component will always have its transform written as global transform
- A GameObject with an
- This method forces Mirror to use world-space transform (instead of
API.ShouldSpawnWithGlobalTransform
field (shouldn't be set manually, used by patches)
Changes (non-breaking):
- Updated EXILED to
8.7.1
- Modified the
AdminToyPatch
to return if an AdminToy'sIsStatic
property is set to true
v5 (structures) aka doors
Added support for spawning base-game structures such as doors, lockers and workstations.
(13.3.1) don't check the last commit message
Compatible with SCP:SL 13.3.1
- EXILED 8.4.0
- Axwabo.Helpers 2.5.1