Jump to content

[Modders Resource] Lozeak Device Controller! (Script) 1.0.0


About This File

Lozeak Device Controller

 

What is this...

It's a script for modders put on a quest and fill in properties on the CK so there can add and remove devices quickly and randomly.

A Cross mod random device equipper and adder for modders and User that does not require an esp
Benefits- No need for a modder to make an item randomizer just use this script and you're done!
The user can control it via the Json and the settings will be global (cross save)
Can add, additional items to this from other sources and other mods will use them.
For example, say cool dude 64 makes the best cuffs ever and he creates a script to add them to this Device Controller then all mod that uses this script will use them!

 

 

Basic use... for Modders!

Put this in your mod, make sure the properties are filled in the CK and use the functions.
Init() this script before using will save time it only needs to be init() once per game but it can work without this. On first use, the user may experience a delay.

Device manipulation Functions! All of these just need a keyword to work but if you send a actor it will use them instead of the player.
EquipDeviceByKeyword.. You can equip a item to the player by sending just a keyword e.g EquipDeviceByKeyword(libs.zad_DeviousArmCuffs)

EquipDeviceByKeywordNoneSet will do the same but ignore sets

AddDeviceByKeyword and AddDeviceByKeywordNoneSet work the same but just give the item to the player/actor rather than equip.

RemoveDeviceByKeyword as above but will remove the item if it's a Generic Device all over devices will not be handled by this script

UnequipAll this will remove all generic devices. 

There are AndDestory versions of some commands will destroy the device at the same time.

 

Advanced use.

Once mod has finished building it's init() it will SendModEvent("LDCAddExtraDevices")
Using this script you can add devices to the random list use RegisterAddtionalDeviceByKw(YourDevice, "Unique mod name")
Then RegisterAddtionalSets("Dark Blue", "Unique mod name") if you want to add a set to them.
Once this is done all mods that use this script even if it's on their own quest will use your items.

 

Basic use... for Users (Modder will need to explain this to users!!!)
If you delete a device in ../Lozeak Device Controller/Device Settings.json it will never be used.
If you delete a set in ../Lozeak Device Controller/Device Settings.json it will never be used.
If you delete Delete This To Rebuild Item List in Delete This To Rebuild Item List in ../Lozeak Device Controller/Device Settings.json the next time init() is used it will rebuild this list (AKA start a new game and wait! if the modder has used init() correctly

CompletedAddingAddtionalContent("Unique mod name")

Once this is done all mods that use this script even if it's on their own quest will use your items.
The user can delete them from the list.

 

 

Permissions
Do anything you want with this without crediting me or anything but it uses DDs so you'll have to follow permissions for that!

 

Side note

 

So, no idea if anyone will understand or use this but it's a pretty strong tool and is designed to work with multiple mods without needing it's own esp!.

I intend to expand on it and add to it!


Other Files from Lozeak


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use