Avorion
(Servono più voti)
Buffs - Framework for modders
   
Premio
Aggiungi ai preferiti
Preferito
Rimuovi dai preferiti
Mods: Mod
Dimensioni del file
Pubblicato in data
Aggiornato in data
624.465 KB
23 mag 2019, ore 18:07
20 mar 2020, ore 20:15
13 note di rilascio ( visualizza )

Sottoscrivi per scaricare
Buffs - Framework for modders

In 1 collezione di Rinart73
Rinart73's Mods
39 elementi
Descrizione
Avorion: 0.31.1 - 1.0.x
Provides an API for other mods that allows to create ship and station buffs and debuffs.

This mod should be installed on both client and server.

NOTE: This mod will be updated to the stable versions only. I'm not planning to support Beta-versions since they come out very often and I don't have the time to check and update mods every time.
Caution: This mod is in early development stage. Scripts can break, mod logic can change greatly with new versions. I need your feedback.
This mod is a framework for other mods. It doesn't apply buffs by itself.

Source code[github.com]
You can support me on Patreon[www.patreon.com].

Features:
  • Provides an API for other mods that allows to create player, ship/station buffs and debuffs.
  • Buffs are synced to a client side and displayed as icons to the left (player) and right (ship) of the health bar.
  • Player & Ship Window have a new tab that displays vanilla and custom stats, as well as the full buffs lists.
  • Hovering buff icon shows a tooltip with title, description and bonuses info.
  • You can specify duration, icon, title, description, colors and other things.

Bug reporting:
  1. Tell your game version and list of mods you have activated.
  2. Give an instruction on how to reproduce a bug, step by step.
  3. Use Pastebin[pastebin.com] to attach links to your client and server logs.
    Client logs: C:\Users\YourProfileName\AppData\Roaming\Avorion\
    Server logs: C:\Users\YourProfileName\AppData\Roaming\Avorion\galaxies\GalaxyName\
  4. Make a screenshot if problem can be seen visually.

Usage and API
You can find API Docs in the "Documentation/BuffsHelper.html" file.
Also I suggest to take a look at the working example: "Beginner's Blessing"

Config files locations:
Client - AppData/Roaming/Avorion/moddata/Buffs.lua
Server - AppData/Roaming/Avorion/galaxies/(GalaxyName)/moddata/Buffs.lua
14 commenti
destwaker 6 apr 2023, ore 17:35 
update?
Rinart73  [autore] 7 ott 2021, ore 23:27 
When I'll have time. Right now I'm more focused on work
redmoonarh 6 ott 2021, ore 23:03 
update to 2.0?
Rinart73  [autore] 30 nov 2020, ore 3:02 
Sorry but I'm really busy and tired atm.
LumberingTroll 17 nov 2020, ore 12:46 
Could we get an update for the current version, please? It works but servers are not happy with the different version numbers.
Rinart73  [autore] 20 mar 2020, ore 20:27 
Done. Gosh that was a lot of work :D
NoFoodAfterMidnight 15 mar 2020, ore 9:20 
Super hyped for this to be updated
Alfuken 27 feb 2020, ore 9:05 
Yay. That'd be a huge deal towards Siege Module ;)
Rinart73  [autore] 27 feb 2020, ore 8:20 
Alfuken, Yes. Once 1.0 will appear on a stable branch expect updates of most of my mods including this one. I have actually big plans for the Buffs framework :)
Alfuken 27 feb 2020, ore 7:31 
@Rinart73 can we expect an update with Avorion leaving alpha?