Starbound

Starbound

206 hodnocení
Monster Compatibility Loader
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Velikost souboru
Přidáno
Aktualizováno
70.738 KB
1. dub. 2021 v 10.00
26. pro. 2024 v 8.20
Poznámky ke změnám (4) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Monster Compatibility Loader

V 1 kolekci od uživatele FelmastProMcLane
Monster Core : Collection
10 položek
Popis
This mod aims to bring the abilty to add scripts to monsters in a compatible way, the same way NPCs can have them.

For users:
Replaces "monster.lua" and "monster_primary.lua", makes them work like vanilla, other mods may require this mod to make changes to it.
It allows for added compatibility between mods that affect monsters.
Check the collection to see which mods are supported.

For modders:
  • Inside this mod there is a new file "custom_monster_script_loader.lua", it is in charge of loading the scripts from the lists defined in the configuration mod.
  • Read configuration mod.
  • Leave this mod to load after every mod, only add patches to the configuration mod.

  • There is also a bunch of "dummy" patch files for many bosses from many mods, these are there because of some bosses that do not use "monster.lua", and thus they need to be patched separatedly, so you can copy them an put your scripts in there for said bosses.

  • The order in which scripts are loaded depend on the order the mods are loaded, so if you want to make your mod load after another, then include it in the "_metadata" file.

  • Scripts will be loaded for any monster that uses "monster.lua" and "monster_primary.lua", so keep that in mind.

  • To make your mod standalone but still have the compatibility for this mod, just copy both vanilla's lua monster files into your mod and edit them to require your custom script, then add the patch file for the configuration mod- When this mod replaces the monster scripts, your custom scripts will still load, or if not installed, then your mod will load them by itself.

Uninstalling
Just unsubscribe, mods that need this mod to work will probably stop working.
Počet komentářů: 26
FelmastProMcLane  [autor] 17. pro. 2024 v 6.55 
Lukiwarble 17. pro. 2024 v 5.31 
thats like the 7th instakill bug in a row already
Lukiwarble 17. pro. 2024 v 5.30 
one day the monsters will stop dying instantly
Lukiwarble 17. pro. 2024 v 5.30 
[Error] Exception while invoking lua function 'update'. (LuaException) Error code 2, [string "/monsters/monster.lua"]:103: attempt to index a nil value (field 'damageTaken')
stack traceback:
[C]: in metamethod 'index'
[string "/monsters/monster.lua"]:103: in function <[string "/monsters/monster.lua"]:101>
Ashtar 11. dub. 2023 v 13.40 
Hi Felmast ?
Azure 11. bře. 2023 v 3.51 
this mod causes glowing of damage numbers, which means that you don't have to build up a lighted area for fight, this may ruin the gaming experience because the light is crucially important when fighting in darkness, now that with this mod you don't need to place torches or turn on the flashlight, but just with a single hit, the monster would no longer be "invisible" in the night.
Hopefully wish this should be resolved.
Ashtar 22. pro. 2021 v 15.00 
I go try later and I'll come back to tell you
FelmastProMcLane  [autor] 22. pro. 2021 v 14.57 
You are welcome, although, I don't know if it will solve it.
Ashtar 22. pro. 2021 v 14.52 
OmG thanks very much you are the best and fast❤️❤️❤️