23349 Posts in 3984 Topics - by 8530 Members - Latest Member: Despy

Author Topic: [Mod] Compass-like Gate Pixel Icons  (Read 9462 times)

Devious

  • Sr. Member
  • ****
  • Posts: 467
    • View Profile
    • Rusty's Galaxies and Community
Re: [Mod] Compass-like Gate Pixel Icons
« Reply #15 on: March 02, 2017, 06:54:51 AM »
Yeah I noticed the freaking out about too many spaces, took a while tho!
I don't know what I've done wrong but I have wiped the server after the patch and gates are still being generated, the odd thing is that the gates we've found all were 1 sector outside the barrier.

lyravega

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • Steam
Re: [Mod] Compass-like Gate Pixel Icons
« Reply #16 on: March 02, 2017, 04:12:07 PM »
Yeah I noticed the freaking out about too many spaces, took a while tho!
I don't know what I've done wrong but I have wiped the server after the patch and gates are still being generated, the odd thing is that the gates we've found all were 1 sector outside the barrier.

Still happening in beta? Can I get a screenshot for it? I'm assuming they happen at a "corner square"?

Below is a code piece from passagemap.lua, line 157
Code: [Select]
local max = Balancing.BlockRingMax + 1
Before the BlockRingMin was taken into action. BlockRingMin is 147, BlockRingMax is 150. Before a system at the edge of the inner ring could be considered outside even though it is visually inside. With this change above in the beta, another but a similar problem may occur; a system at the edge of the outer ring could be considered inside. Both can result in the same problem - a gate may lead from outside to inside visually, but as far as the game goes, it's well within rules.

Basically the generation rules say that there can be no wormholes/gates from outside to inside, only from outside to outside or inside to inside, but you cannot have a perfect circle with pixels - this is the real thing that is causing the problem.

That +1 is more or less for error correction, but I think instead of BlockRingMax+1, BlockRingMax-1 would solve this issue. In short what I'm saying is, change the +1 in the code above to -1, or even -1.5 as it'd be the average. Anything between 147 and 150. Let me know if this helps (I cannot play Avorion due to HDD failure, so I can only guess at this point  :()

Examples (all are the same, last one is more flexible)
Code: [Select]
    local max = Balancing.BlockRingMin + 1.5or
Code: [Select]
    local max = Balancing.BlockRingMax - 1.5or
Code: [Select]
    local max = (Balancing.BlockRingMax + Balancing.BlockRingMin)/2
« Last Edit: March 02, 2017, 06:31:01 PM by lyravega »
Detailed Turret Tooltips - mod for all your turret info needs
Compass-like Gate Pixel Icons - unnecessary quality of life improvement

Poke me on Steam for updates

Gatt

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: [Mod] Compass-like Gate Pixel Icons
« Reply #17 on: March 02, 2017, 04:39:32 PM »
This is an amazing mod.  So simple yet makes travel so much easier(the gate i wanted was usually the last i picked). Thank you very much

lyravega

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • Steam
Re: [Mod] Compass-like Gate Pixel Icons
« Reply #18 on: March 02, 2017, 04:40:52 PM »
This is an amazing mod.  So simple yet makes travel so much easier(the gate i wanted was usually the last i picked). Thank you very much
Thank you too :)
Detailed Turret Tooltips - mod for all your turret info needs
Compass-like Gate Pixel Icons - unnecessary quality of life improvement

Poke me on Steam for updates

lyravega

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • Steam
Re: [Mod] Compass-like Gate Pixel Icons
« Reply #19 on: June 27, 2017, 12:30:55 AM »
v0.004
-Updated for 0.12+ (download the other attachment that says "0.12+" if you are on that version)

If you encounter any problems with either of my mods (this or Detailed Turret Tooltips), contact me directly on Steam (hint: my steam profile link is below my avatar)
Detailed Turret Tooltips - mod for all your turret info needs
Compass-like Gate Pixel Icons - unnecessary quality of life improvement

Poke me on Steam for updates

lyravega

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • Steam
Re: [Mod] Compass-like Gate Pixel Icons
« Reply #20 on: July 17, 2017, 01:35:09 AM »
v0.005
-Fixed German localization
Detailed Turret Tooltips - mod for all your turret info needs
Compass-like Gate Pixel Icons - unnecessary quality of life improvement

Poke me on Steam for updates

Dirtyredz

  • Full Member
  • ***
  • Posts: 194
  • David McClain - Dirtyredz
    • View Profile
    • Dirtyredz.com
Re: [Mod] Compass-like Gate Pixel Icons
« Reply #21 on: July 17, 2017, 11:46:32 AM »
Hehe that's funny.  That's fix is exactly what I did to fix your mod a week or so ago.  Nice to see were both thinking alike.
David McClain - Dirtyredz
Programmer, Web Development, Modder
http://www.Dirtyredz.com


lyravega

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • Steam
Re: [Mod] Compass-like Gate Pixel Icons
« Reply #22 on: July 17, 2017, 05:16:12 PM »
Hehe that's funny.  That's fix is exactly what I did to fix your mod a week or so ago.  Nice to see were both thinking alike.

My old trick didn't work. Even if it worked, I realized I didn't include it at the first place. This is easier :P
Detailed Turret Tooltips - mod for all your turret info needs
Compass-like Gate Pixel Icons - unnecessary quality of life improvement

Poke me on Steam for updates

Umbral Reaver

  • Newbie
  • *
  • Posts: 14
  • Secret Wizard
    • View Profile
Re: [Mod] Compass-like Gate Pixel Icons
« Reply #23 on: November 11, 2017, 06:57:39 AM »
This mod no longer works on the current beta. :(

lyravega

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • Steam
Re: [Mod] Compass-like Gate Pixel Icons
« Reply #24 on: November 11, 2017, 11:45:29 AM »
This mod no longer works on the current beta. :(

It should now. Try the latest version! Also, please read the "Known Issues" section, this time there is something odd with the vanilla game.
Detailed Turret Tooltips - mod for all your turret info needs
Compass-like Gate Pixel Icons - unnecessary quality of life improvement

Poke me on Steam for updates

Umbral Reaver

  • Newbie
  • *
  • Posts: 14
  • Secret Wizard
    • View Profile
Re: [Mod] Compass-like Gate Pixel Icons
« Reply #25 on: November 12, 2017, 03:10:07 AM »
It works. :)

sebyg666

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: [Mod] Compass-like Gate Pixel Icons
« Reply #26 on: November 28, 2017, 12:29:23 PM »
v0.007 doesnt work for me, it removes the name of the gate entirely when i click on the gate and completly removes the icon. so i loaded 0.005 instead and now i have the gate name back but all the icons are a circle with a cross inside. I also forgot to back up my files >< lol.

rinart73

  • Full Member
  • ***
  • Posts: 118
    • View Profile
Re: [Mod] Compass-like Gate Pixel Icons
« Reply #27 on: December 06, 2017, 01:04:58 AM »
-
I forgot to read "Known issues". Please ignore this message
Sorry, my English is far from perfect

lyravega

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • Steam
Re: [Mod] Compass-like Gate Pixel Icons
« Reply #28 on: December 08, 2017, 08:41:37 AM »
-
I forgot to read "Known issues". Please ignore this message

No I won't :P I've uploaded a new version, and disabled those Not Ready icons for now.

v0.008
-Disabled the Not Ready gate icons as the vanilla bug still persists. They'll return later, when the vanilla bug is fixed
-Made the icons rounder
« Last Edit: December 08, 2017, 09:26:00 AM by lyravega »
Detailed Turret Tooltips - mod for all your turret info needs
Compass-like Gate Pixel Icons - unnecessary quality of life improvement

Poke me on Steam for updates

rinart73

  • Full Member
  • ***
  • Posts: 118
    • View Profile
Re: [Mod] Compass-like Gate Pixel Icons
« Reply #29 on: December 12, 2017, 05:58:40 AM »
Thank you for you work. I tried to find a way to fix this issue but with no luck.
By the way, current version of the mod can be installed on client only, which is good.
Sorry, my English is far from perfect