Author Topic: [MOD] Sector Manager  (Read 280 times)

Laserzwei

  • Sr. Member
  • ****
  • Status:
    Offline
    Posts:
    370
    • View Profile
on: January 13, 2019, 08:33:38 PM
A small proof-of-concept mod to keep a set of sectors loaded, while a player is online.

Features
  • Select the sectors to be kept open yourself.
  • Every player controls its own set of sectors.
  • Easy to use interface.

UI:
Spoiler: show



Note: As a serverowner you might want to set "aliveSectorsPerPlayer" to 1. As this mod will simply ignore that. Use the config file to set the max number of allowed sectors.

Install instructions
Spoiler: show

Place the contents of the "data" folder into your /steam/.../Avorion/data/ folder. This will overwrite .../entity/init.lua  and  .../player/init.lua.
If you have any other modifying one of these files you will need to merge their content.
Place the contents of the "mods" folder into your /steam/.../Avorion/mods/ folder.
« Last Edit: January 20, 2019, 01:08:40 PM by Laserzwei »
My Mod Collection
My Discord     screw google captcha
My Github
Questions?
> PM me here on the forums!



Laserzwei

  • Sr. Member
  • ****
  • Status:
    Offline
    Posts:
    370
    • View Profile
on: January 13, 2019, 08:34:39 PM
Version history
0.2.1 for 0.20.x [2019-01-20]
  - removed useless servercall
  - library is now loaded as module
  - code cleanups
Spoiler: show


0.2.0 for 0.20.x [2019-01-17]
  - added init scripts, which gives all players access to the sector Manager by default.
  - Had to move files. This requires a full uninstall of the previous versions!

0.1.0 for 0.20.x [2019-01-14]
  - config is now loaded from the server
  - added a small label to indicate #sectors wanted to load / sectors available to load/currently loaded
  - added color to clickable sectorLabels to indicate they are loaded (grabs the loaded status when opening the UI)[updated pic in the OP]

0.1.0 for 0.20.x [2019-01-13]
  - initial release
« Last Edit: January 20, 2019, 01:11:12 PM by Laserzwei »
My Mod Collection
My Discord     screw google captcha
My Github
Questions?
> PM me here on the forums!



Amriel

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    5
    • View Profile
on: January 13, 2019, 10:08:34 PM
A chunkloader for Avorion! Brilliant.

I'll give it a try.



Laserzwei

  • Sr. Member
  • ****
  • Status:
    Offline
    Posts:
    370
    • View Profile
on: January 17, 2019, 09:19:16 PM
Update

0.2.0 for 0.20.x [2019-01-17]
  - added init scripts, which gives all players access to the sector Manager by default and makes setting it up a cake walk.
  - Had to move files. This requires a full uninstall of the previous versions!(For the 6 downloads/downloaders)

*also not proof-of-concept anymore!
My Mod Collection
My Discord     screw google captcha
My Github
Questions?
> PM me here on the forums!



Shrooblord

  • Hero Member
  • *****
  • Status:
    Offline
    Posts:
    559
    • View Profile
on: January 18, 2019, 01:53:02 PM
We've discussed this already in private, but I just want to voice publicly also that your Sector loading functions have been a big inspiration in helping me do what I needed for my own mods.  Thank you for this work, Laser!
Shrooblord