Releases: Axwabo/slocLoader
Releases · Axwabo/slocLoader
13.3 experimental
Recompiled with:
- SCP:SL version 13.3 experimental
- Axwabo.Helpers v2.3.7
- EXILED 8.3.0
fix trigger stuff (no more funny)
Additions:
- Added the MER unpatcher to the NWAPI version
- New properties in
slocObjectData
:HasColliderOnServer
IsTrigger
TriggerListenerInvoker
component
Fixes:
- Fixed mesh colliders being on the wrong GameObject and causing issues
- Fixed the action type
TeleportToRoomHandler
which used to not invoke room teleports - Fixed trigger actions not being invoked at all
create options (funny version)
Additions:
slocGameObject.MovementSmoothing
field (not read from sloc files)CreateOptions
structObjectsSource
struct with implicit casts from:List<slocGameObject>
slocGameObject[]
string
(path)Stream
API::AddTriggerAction(PrimitiveObjectToy, BaseTriggerActionData, ITriggerActionHandler)
extension method (throws an exception if the handler is not specified and the action type is unknown)API::AddTriggerAction(GameObject, BaseTriggerActionData, ITriggerActionHandler)
extension method (throws an exception when called on an object without thePrimitiveObjectToy
componentCreateObjects
andSpawnObjects
overloads with the following signatures:- ObjectsSource, CreateOptions, out int
- ObjectsSource, out int, Vector3, Quaternion
- ObjectsSource, Vector3, Quaternion
- ObjectsSource, CreateOptions
Fixes (EXILED only):
- MER no longer breaks nested scaling
- AutoLoad now loads objects when the plugin is enabled
Changes (non-breaking):
- (EXILED only)
AutomaticObjectLoader::LoadObjects
now usesPaths.Plugins
API::AddProperCollider
will now always add aMeshCollider
with the correctconvex
property for the object- API class has been made partial and split into multiple files for better readability
- The below methods have been marked obsolete. Use the overloads that take in
ObjectsSource
as the first argument (no explicit casting required)CreateObjects(IEnumerable<slocGameObject>, Vector3, Quaternion)
CreateObjects(IEnumerable<slocGameObject>, out int, Vector3, Quaternion)
CreateObjectsFromStream
CreateObjectsFromFile
SpawnObjects(IEnumerable<slocGameObject>, Vector3, Quaternion)
SpawnObjects(IEnumerable<slocGameObject>, out int, Vector3, Quaternion)
SpawnObjectsFromStream
SpawnObjectsFromFile
13.2 (no more title ideas)
Rebuilt for SCP:SL version 13.2, EXILED 8.0.0-beta.1 and Axwabo.Helpers 2.3.4
me when we get client (13.1.1)
- Updated PluginAPI to version 13.1.0
- Updated EXILED to version 7.2.0-alpha.1
13.1 physics thingy
Compatible with SCP:SL version 13.1
Resetting pickup velocities should now work™
13.0 momento
Compatible with SCP:SL version 13.0 "Refracted Reality"
NW did a funny and forgot to update the primitive shader, so all primitive toys will appear white (color data is still there yet not rendered)
Built with EXILED version 7.0.0-rc.3-1
Non-breaking changes:
- Setting an auto-spawn object list to null will no longer throw an exception
- Made
API::LoadPrefabs()
public - Updated C# version to 10 & reformatted code
recompile
Recompiled with Axwabo.Helpers v2.2.0. No other changes.
the time has come (teleporters)
sloc version 4 "Trigger Actions"
This version adds trigger actions (with teleporters) and a bunch of improvements.
Changes (breaking):
- Made the
slocGameObject::WriteTo
method non-virtual in favor ofWriteData
- Converted the property
ColliderMode
in classPrimitiveObject
to a field - Added a
ushort
as the first argument in theslocHeader
constructor - Changed the static reader methods' return types from
slocGameObject
to the respective class - Removed the
positionOffset
androtationOffset
arguments in methodsAPI::CreateObject
andAPI::SpawnObject
Fixes:
- Fixed quads not being read by v1 and v2 readers
- Fixed non-
NoCollider
modes adding a collider to primitive objects
Additions:
- Commands:
sl_pos
andsl_rot
- Object constructors without instance IDs
Ver4Reader
- Trigger action data objects
- Trigger action enums
- Trigger action handlers
- Trigger action readers
API::SplitSafe
andAPI::CombineSafe
methods withbyte
andPrimitiveObject.ColliderCreationMode
overloadsColliderCreationMode.IsTrigger
extension method- BinaryWriter extensions:
WriteVector
,WriteQuaternion
,WriteColor
ReadShortAsFloat
andWriteFloatAsShort
extensions methodsInstanceDictionary<T>
class- sloc attribute
ExportAllTriggerActions
EnableRagdollPositionModification
in configTriggerActions
field inPrimitiveObject
(empty array by default)
Changes (non-breaking):
- Improved the usage display of commands
- Converted object writers to use the new extension methods
- Assets are now loaded when the plugin is enabled
- Exceptions are caught for each
PrefabsLoaded
event subscriber individually
12.0.2 build
Recompiled for 12.0.2 & Axwabo.Helpers 2.1.1
Note: assembly version has not been modified to avoid merge conflicts later