[REL] Favorite Commander v1.0.1 [62037]

Discussion in 'Mod Discussions' started by SideSplitter, March 2, 2014.

  1. SideSplitter

    SideSplitter New Member

    Messages:
    18
    Likes Received:
    12
    This mods automaticly sets your commander to the one you selected in the armory. It also sets your color to the one you selected in the Options(UI->Favorite Color Color & Commander). It should be avaiable in the PAMM.
    Quitch likes this.
  2. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    Not seeing it.
    bmb likes this.
  3. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    you could have made it require fav color
  4. SideSplitter

    SideSplitter New Member

    Messages:
    18
    Likes Received:
    12
    That's correct, it isn't merged yet, I can't add it myself unfortunately
    I could, but favColor doesn't work for me, so when I created the favorite Commander I added the color part
    Last edited: March 3, 2014
  5. stawos

    stawos Member

    Messages:
    79
    Likes Received:
    46
    Awesome was just talking about wanting a mod for this! Gonna try it right now! :)
  6. SideSplitter

    SideSplitter New Member

    Messages:
    18
    Likes Received:
    12
    So I renamed it to Favorite Commander, since to color part was buggy and didn't really work. It is also in the PAMM atm
  7. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    Yeah, I finally got around to fixing the Favourite Colour mod for gamma. It took me long enough... :)

    Anyway nice work on the commander mod. By the way, you might want to have a look at the "How to be a good citizen in JavaScript" thread. It shows you how to make a mod more robust when other mods are present by not declaring every function and variable globally.
  8. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    I like that this mod actually works with the instant sandbox mod.
  9. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    That's actually surprising. I may have to look at what it's doing later.
  10. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    IKR?
  11. SideSplitter

    SideSplitter New Member

    Messages:
    18
    Likes Received:
    12
    Wait, why wouldn't it work with the Instant Sandbox mod? Anyway, the mod is available on Github
  12. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    My guess is that the game actually does use the right commander, but the lobby scene overrides that. If you don't use the lobby and just go straight to the game, the commander chosen in the armory is used. When the lobby bug is fixed, this mod's functionality will be included in the game.
  13. SideSplitter

    SideSplitter New Member

    Messages:
    18
    Likes Received:
    12
    Hmm, could be. But that should also mean that when the the sandbox mode is used, the right commander should be selected without this mod. Is that the case?
  14. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    That's what I thought was happening. I copied a piece of code with something like model.preferredCommander().
  15. Quitch

    Quitch Post Master General

    Messages:
    5,862
    Likes Received:
    6,045
    This is now built into the game so should be retired.
  16. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    Quitch likes this.

Share This Page