Author Topic: [Mod] NexGenUI  (Read 6429 times)

NexusNull

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    38
  • Personal Text!
    • View Profile
on: February 14, 2017, 07:52:14 PM
Version: 1.1
Needed Install: Clientside

This mod is still in beta so expect bugs and tell me about them.

I want to tackle a specific problem with this mod. After some time when you reach the level to build stations you will probably want to move crew and cargo around. In vanilla Avorion you can only do this one by one. Also the Ui does not give you enough information. It takes minutes to find the specific good you want to move and more time to move it.

So what does this mod do? Well, it adds more Icons and buttons to the "Transfer Crew and Cargo" screen.
It also tells you if a specific good is illegal or dangerous. It extends the amount of crew you can move at once and at what level your crew is.

Features:
  • Improves the permission GUI with another list box and sorted names
  • Improves the transfer crew GUI with profession and level Icons
  • adds Icons to cargo that show the cargo itself and if it is dangerous


coming features:
Spoiler: show

  • More numbers and stats. Detailed description on how much crew you need
  • A server side part of the mod to reduce function calling



Images:
Spoiler: show











Installation/Download

Spoiler: show


Download:http://nexusnull.com/NexGenUI/versions/NexGenUI.1.1.zip


Older Versions:
Download:http://nexusnull.com/NexGenUI/versions/NexGenUI.1.0.zip


How to install:

[spoiler]
No other mods:
In case you have no other mods installed it is pretty easy. Just drag zip contents into the Avorion folder. The path to the Avorion folder should be something like this:
steam/steamapps/common/Avorion/
With other mods
Everything should work fine as long as they don't change  transfercrewgoods.lua


If you have other questions ask in the comments.

!Put the modfiles folder into the Avorion folder. Right next to data.!


Mod structure:
Spoiler: show

Code: [Select]
├── data
│   └── scripts
│       └── entity
│           ├── transfercrewgoods.lua ~ minified ~ Ask me for raw code
│           └── collaboration.lua ~ minified ~ Ask me for raw code
└── modfiles
    └── icons
        ├── crew
        │   ├── 0.png
        │   ├── 10.png
        │   ├── 11.png
        │   ├── 12.png
        │   ├── 1.png
        │   ├── 2.png
        │   ├── 3.png
        │   ├── 4.png
        │   ├── 5.png
        │   ├── 6.png
        │   ├── 7.png
        │   ├── 8.png
        │   └── 9.png
        ├── icons
        │   └── forbidden.png
        └── level
            ├── 1.png
            ├── 2.png
            └── 3.png


Change log:
Spoiler: show

Version: 1.1
Code: [Select]
collaboration.lua
    added: Second ListBox to permissions window
    added: Sorting of Names for easier lookup


Version: 1.0
Code: [Select]
transfercrewgoods.lua
    added: Buttons for transferring crew and cargo
    added: Icons for crew and cargo
    added: Level icons for Crew
    added: Dangerous icon for cargo




« Last Edit: February 18, 2017, 02:50:58 PM by NexusNull »



Devious

  • Hero Member
  • *****
  • Status:
    Offline
    Posts:
    579
  • Have you seen Rusty?
    • View Profile
    • Rusty's Universe and Community
on: February 14, 2017, 08:19:24 PM
Nice, again a mod that makes life easier :)

I assume the "*" in your mod allows you to input a quantity?
I'm currently using Laserzwei's version since it's a bit cleaner on the input besides the option to move all but I really like the icons you added!



NexusNull

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    38
  • Personal Text!
    • View Profile
on: February 14, 2017, 08:22:55 PM
I started this mod earlier but I have other things to do so it took today to finish the rest.

The "*" is not for a quantity is is for 1000.



Kane Hart

  • Sr. Member
  • ****
  • Status:
    Offline
    Posts:
    271
  • The Talk Too Much Guy!
    • View Profile
    • My Youtube
on: February 14, 2017, 08:24:33 PM
Amazing :)



skullcowboy60

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    31
  • You're welcome!
    • View Profile
on: February 14, 2017, 08:58:57 PM


I tried to only make minimal changes to the actual game code and to keep everything as is. To get this mod running you have to add two chunks of code into eventscheduler.lua and one into SectorGenerator.lua.

Forgive me if I just missed it but, the two chunks of code referenced above would be?



NexusNull

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    38
  • Personal Text!
    • View Profile
on: February 14, 2017, 09:32:34 PM
Oh don't mind that I forgot to remove that.



skullcowboy60

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    31
  • You're welcome!
    • View Profile
on: February 14, 2017, 09:34:21 PM
 ;D I can totally understand that.  ::)



Tarantel

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    38
    • View Profile
on: February 16, 2017, 12:04:41 AM
Nice idea dude ^^
waiting for more content ^^
MODS: Better Shipyard
Server: Tarantel.yt



NexusNull

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    38
  • Personal Text!
    • View Profile
on: February 18, 2017, 02:33:02 PM
Updated to Version 1.1.