Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: New music for Galatia Academy (06/12/24)

Pages: [1] 2 3 ... 12

Author Topic: [OUTDATED] MagicLib  (Read 548453 times)

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
[OUTDATED] MagicLib
« on: October 26, 2018, 01:15:15 AM »



MagicLib is now under the custody of Wispborne, you can find the latest version in this thread
« Last Edit: March 07, 2023, 11:20:42 AM by Tartiflette »
Logged
 

Originem

  • Purple Principle
  • Captain
  • ****
  • Posts: 432
  • Dancing like a boss.
    • View Profile
Re: [0.8.1] MagicLib v0.1 (2018/10/26)
« Reply #1 on: October 26, 2018, 08:08:37 PM »

I have a suggestion that,if you could provide a method that register the mod at the beginning of game, if there is no mod needs it, turn off all its plugins to prevent the possible waste of memory.
Logged
My mods


Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2849
  • Your Friendly Forum Friend
    • View Profile
Re: [0.8.1] MagicLib v0.1 (2018/10/26)
« Reply #2 on: October 26, 2018, 08:29:43 PM »

Why again do we need ANOTHER library? I'd rather not see SS turned into a version of minecraft with every mod having their own required library. This stuff could have been easily put into Graphics Lib...
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too

Originem

  • Purple Principle
  • Captain
  • ****
  • Posts: 432
  • Dancing like a boss.
    • View Profile
Re: [0.8.1] MagicLib v0.1 (2018/10/26)
« Reply #3 on: October 26, 2018, 08:38:24 PM »

Why again do we need ANOTHER library? I'd rather not see SS turned into a version of minecraft with every mod having their own required library. This stuff could have been easily put into Graphics Lib...
*Agree with you*
Logged
My mods


Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: [0.8.1] MagicLib v0.1 (2018/10/26)
« Reply #4 on: October 27, 2018, 01:08:50 AM »

Why again do we need ANOTHER library? I'd rather not see SS turned into a version of minecraft with every mod having their own required library. This stuff could have been easily put into Graphics Lib...
Because we have already several mods using stuf like direct sprite rendering or fake beams (including all of my owns) and incompatibility/versioning issues are already not uncomon. For example, for months all my mods had their visual effects removed due to another mod using an outdated version of the same plugin that overrode mine, leading to a waste of ressources because several instances of the same plugin with different names had to be run at the same time to avoid conflicts. Also this provides a whole bunch of methods that could improve new and existing mods.

And while some of this stuff could have been added to GraphicLib, a whole lot has no place in there. But be reassured: the intent is for this to be a community library, meaning that a-priori if it pickup no other library will ever be necessary. (Plus come on! That's just one thing to tick in your launcher for a lot of benefits on the modding side)

Is that a bad thing?
« Last Edit: October 27, 2018, 01:11:21 AM by Tartiflette »
Logged
 

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: [0.8.1] MagicLib v0.1 (2018/10/26)
« Reply #5 on: October 27, 2018, 01:16:14 AM »

I have a suggestion that,if you could provide a method that register the mod at the beginning of game, if there is no mod needs it, turn off all its plugins to prevent the possible waste of memory.
The two plugins currently present start with a check to see if something is using them or not, skipping them if that's not the case. They shouldn't have any performance impact if not used.
Logged
 

Takion Kasukedo

  • Admiral
  • *****
  • Posts: 530
  • No longer drinking (Alcohol that is)
    • View Profile
Re: [0.8.1] MagicLib v0.1 (2018/10/26)
« Reply #6 on: October 29, 2018, 11:55:10 AM »

Why again do we need ANOTHER library? I'd rather not see SS turned into a version of minecraft with every mod having their own required library. This stuff could have been easily put into Graphics Lib...
Because we have already several mods using stuf like direct sprite rendering or fake beams (including all of my owns) and incompatibility/versioning issues are already not uncomon. For example, for months all my mods had their visual effects removed due to another mod using an outdated version of the same plugin that overrode mine, leading to a waste of ressources because several instances of the same plugin with different names had to be run at the same time to avoid conflicts. Also this provides a whole bunch of methods that could improve new and existing mods.

And while some of this stuff could have been added to GraphicLib, a whole lot has no place in there. But be reassured: the intent is for this to be a community library, meaning that a-priori if it pickup no other library will ever be necessary. (Plus come on! That's just one thing to tick in your launcher for a lot of benefits on the modding side)

Is that a bad thing?

When you put it that way, no it's not a bad thing, considering the benefits of having a -lib which other modders can contribute to.

This wouldn't come close to being some sort of Minecraft, mind. If it did, we'd be somewhere near square 1. This lib will, as stated, make it easier on others in the long run if successful.
Logged
Is now able to cook a decent Creamy Salmon Pasta, amok other things.

Still loves purple. Still not skilled enough to make a mod that doesn't get that one damn error.

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: [0.8.1] MagicLib v0.11 (2018/10/31)
« Reply #7 on: October 31, 2018, 01:13:29 AM »

Micro update with proper Version Checker file (oops). On the other hand the Wiki documentation is now complete with all the current content.
Logged
 

TJJ

  • Admiral
  • *****
  • Posts: 1905
    • View Profile
Re: [0.8.1] MagicLib v0.11 (2018/10/31)
« Reply #8 on: October 31, 2018, 03:00:35 AM »

ponctual ?
Logged

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: [0.8.1] MagicLib v0.11 (2018/10/31)
« Reply #9 on: October 31, 2018, 03:01:30 AM »

They deal all of their damage on their first frame., not over time like regular beams.
Logged
 

Nick XR

  • Admiral
  • *****
  • Posts: 715
    • View Profile
Re: [0.8.1] MagicLib v0.11 (2018/10/31)
« Reply #10 on: October 31, 2018, 08:34:55 AM »

Any way this could be merged with lazy lib?  They seem like they encompass a similar mandate.

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: [0.8.1] MagicLib v0.11 (2018/10/31)
« Reply #11 on: October 31, 2018, 09:01:45 AM »

Not really: LazyLib only provides passive and simple methods that are only used when called from a script and then return a result to that script. MagicLib on the other hand has multiple very complex plugins that do their own stuff over time when activated. Additionally LazyLib is an ubiquitous highly optimized precision tool that should not be tampered with lightly, thus not really suited for MagicLib's "Community Toybox" purpose.
Logged
 

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: [0.9.0] MagicLib v0.20 (2018/11/17)
« Reply #12 on: November 17, 2018, 01:37:55 AM »

0.9.0 update! This library is now fully usable and contains quite a few very handy scripts. If a moderator can move this thread in modding ressources and add it to the mod index that would be great! Thanks.
Logged
 

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: [0.9.0] MagicLib v0.21 (2018/11/17)
« Reply #13 on: November 17, 2018, 09:03:38 AM »

Oops, small update snafu, everything should work better now! Please redownload, sorry!
Logged
 

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: [0.9.0] MagicLib v0.23 (2019/03/03)
« Reply #14 on: March 03, 2019, 02:12:48 AM »

Small update with a new trail render algorithm that should help a lot with trails that have a crisp texture, new UI elements functions to add proper status bars, and a CSV based plugin to efficiently manage projectile trails rather than having concurrent plugins in every mods.

Download available in the OP.
Logged
 
Pages: [1] 2 3 ... 12