[REL] New Random Planet Name [DISCONTINUED]

Discussion in 'Mod Discussions' started by Raevn, August 15, 2013.

  1. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    A quick mod that allows you to generate a new random planet name while in the planet editor.
    randomName.PNG

    Installation
    Current version: 51853

    Step 1:
    Download the rRandomPlanetName.zip attachment, and extract it to <PA Install directory>/PA/media/pa/ui/mods/

    Step 2:
    If you have other mods installed, add the following two lines to the 'system_editor' section of ui_mod_list.js
    '../../mods/rRandomPlanetName/rRandomPlanetName.js'

    Otherwise, download the ui_mod_list.zip attachment and extract it to the same location as in Step 1.

    Attached Files:

  2. Gorbles

    Gorbles Post Master General

    Messages:
    1,832
    Likes Received:
    1,421
    How is it generated? Is there just a list of planet names and it picks one from the list? Or is there more of a prefix/affix setup (which is trickier, but I'd imagine not impossible)?

    (I would look through the code, been meaning to look at your Commander Health display mod, but busy implementing a few services at work at the moment. Workmate forgot to check in the code he was supposed to have done and I've spent half an hour getting the project to build)
  3. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    The names are hard-coded in the exe, the full list is below.

    Attached Files:

  4. Gorbles

    Gorbles Post Master General

    Messages:
    1,832
    Likes Received:
    1,421
    Ahh, thanks. With that I reckon it'd be pretty easy to add ones yourself for this mod to pick up on, but for multiplay I'd imagine that'd require it hosted on the server instance?

    EDIT: actually if everyone had the same interface mod it wouldn't matter so much, perhaps. Depending on how the names are referenced.
    Last edited: August 15, 2013
  5. masterdigital

    masterdigital Uber Alumni

    Messages:
    438
    Likes Received:
    833
    So this mod does something that I intended to do and does it correctly. So if you don't have an objection, I'd like to just include it in the source and cite your mod.
  6. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    No objections here :D
  7. masterdigital

    masterdigital Uber Alumni

    Messages:
    438
    Likes Received:
    833
    done.
    Raevn likes this.
  8. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Discontinued, as this is now in the game as of build 52168 :)
  9. lokiCML

    lokiCML Post Master General

    Messages:
    1,973
    Likes Received:
    953
    @raevn, Can I use the contents of planet names.txt in a utility I'm currently writing. Also I will cite you in the source.
  10. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    No problem, I only copied them out of PA.exe :p
  11. lokiCML

    lokiCML Post Master General

    Messages:
    1,973
    Likes Received:
    953

Share This Page