We Can No Longer Make the Max Radius Whatever We Want

Discussion in 'Mod Discussions' started by brianpurkiss, September 7, 2014.

  1. brianpurkiss

    brianpurkiss Post Master General

    Messages:
    7,879
    Likes Received:
    7,438
    Anyone know where to mod it so we can remove the radius limit?

    I want to do some large planet renders for funsies.
    igncom1 likes this.
  2. igncom1

    igncom1 Post Master General

    Messages:
    7,961
    Likes Received:
    3,132
    Single planet games need this.
    vackillers likes this.
  3. trialq

    trialq Post Master General

    Messages:
    1,295
    Likes Received:
    917
    Code:
    media/ui/main/game/system_editor/system_editor.js
    Just guessing at a glance, but line 646 is:
    Code:
    radius: { min: 100, max: 1300 },
    Try changing it to a higher value. The server has a limit it won't build over, if it's 1300 you're out of luck anyway.
  4. brianpurkiss

    brianpurkiss Post Master General

    Messages:
    7,879
    Likes Received:
    7,438
    Yeah. I don't want to play, I just want to render a real large planet.

    Thanks, I'll give it a try.
  5. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    There's a mod on PAMM that removes the restrictions isn't there?
  6. brianpurkiss

    brianpurkiss Post Master General

    Messages:
    7,879
    Likes Received:
    7,438
    Tried it, didn't do it. I'll poke around...
  7. squishypon3

    squishypon3 Post Master General

    Messages:
    7,971
    Likes Received:
    4,357
    What does this limit do exactly?

    Edit: Eep, whoops, I read that as /mex/ limit since some players call metal spots mexes, whoopsie.
  8. trialq

    trialq Post Master General

    Messages:
    1,295
    Likes Received:
    917
    That would be awesome; set the mex-radius to 100, and build a giant metal extractor that produces 9000+ metal per second.

    Ok, it would be horrifying.
    squishypon3 likes this.
  9. brianpurkiss

    brianpurkiss Post Master General

    Messages:
    7,879
    Likes Received:
    7,438
    It's line 766
  10. trialq

    trialq Post Master General

    Messages:
    1,295
    Likes Received:
    917
    That looks more like it. Tested working for every biome?
    Code:
    764 var radius_range = spec.radius_range;
    765 if (_.isEmpty(radius_range))
    766   radius_range = [100, 1300];
    It seems changing line 766 only works if radius_range is not defined properly, it might be better to change line 764 directly and remove line 765 and 766:
    Code:
    764 var radius_range = [100, 9001];
  11. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    @elodea made a mod on PAMM called "Unlocked System Editor", which I believe removes the restrictions the OP wants removed.
  12. trialq

    trialq Post Master General

    Messages:
    1,295
    Likes Received:
    917
    No it doesn't. I just checked and it looks like the mod does what I first suggested. The checkBiomeJson function needs to be altered as brian described, it appears to validate the input into the expected range of 1300 radius max.

    elodea likes this.
  13. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    You can now tag people via an @trialq link FYI.
  14. trialq

    trialq Post Master General

    Messages:
    1,295
    Likes Received:
    917
    @stuart98
    Thank you. Finally that thing works as people expect it to :p
    squishypon3 and stuart98 like this.
  15. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    A few month ago Uber fixed the server side limitations so nobody can out of memory a server with a too big planet. Just like 100 man games too big planets are a no no right now.
  16. Dementiurge

    Dementiurge Post Master General

    Messages:
    1,094
    Likes Received:
    693
    Please read post #4.

Share This Page