[Rel] Hotbuild [57164]

Discussion in 'Mod Discussions' started by cola_colin, August 3, 2013.

Thread Status:
Not open for further replies.
  1. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    I probably wont support this mod anymore, see this thread for a new, even better, version of it:
    https://forums.uberent.com/threads/rel-hotbuild2-57703.54561/


    Old post below:

    I think I should stop hijacking oxide246's thread and put all relevent info of my hotbuild version in an easy to find thread with all recent info at the top.

    So this is a mod that enables hotbuild (known from FA) like hotkeys.

    -You can also use the mod manager to install this by now, so you don't have to do the following-

    To install unpack the zip and put the keymapper directory in PA/media/ui/mods.
    Then you need to create the ui_mod_list.js in PA/media/ui/mods as described in the readme.txt that you can find in that directory, too.
    After that you need to add the links for the keymapper, if the keymapper is your only ui mod the file should look like this afterwards:

    Code:
    /* start ui_mod_list */
    var global_mod_list = [
    
    ];
    
    var scene_mod_list = {
        'connect_to_game': [
    
        ],
        'game_over': [
    
        ],
        'icon_atlas': [
    
        ],
        'live_game': [
    '../../mods/keymapper/live_game/map.js',
    '../../mods/keymapper/live_game/keymapper.js'
        ],
        'load_planet': [
    
        ],
        'lobby': [
    
        ],
        'matchmaking': [
    
        ],
        'new_game': [
    
        ],
        'server_browser': [
    
        ],
        'settings': [
    
        ],
        'special_icon_atlas': [
    
        ],
        'start': [
    
        ],
        'system_editor': [
    
        ],
        'transit': [
    
        ]
    }
    /* end ui_mod_list */
    After you set this up the mod will keep working, even when you validate the PA files or a patch is released. (At least it has a chance to keep working in the patch-case, ofc patches might break things)

    The keys are as follows:

    q patroul
    a atack
    y stop
    tab toggles energy consume/conserve, which basically means: unpauses/pauses

    buildings:
    w vehicle/bot (factories)
    e air/navy (factories)
    r radar
    s mex
    f pgen
    d storage-energy, storage-mass
    x turret aa-turret
    c wall
    v arty

    o: see https://forums.uberent.com/threads/rel-hotbuild-55493.50260/page-2#post-818346

    ^: toggle pole lock option ingame

    units:
    w to t just like displayed in the game's ui.

    You can edit the mappings in the file map.js found deep in the keymapper directory.

    ofc you need to remove most of the other keys in the options, I use these from the options:
    1 commander
    g idle engie

    F1 to F8 => save camera position.

    Downloadlink: http://nanodesu.info/stuff/pa/mods/hotb ... mapper.zip

    Thanks to oxide246 for his initial keymappings mod that gave me the idea to make this.
    Last edited: December 8, 2013
  2. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Re: [Rel] Hotbuild [51531]

    fixed the keys for t2 air.
    Thanks to clopse for pointing out they were wrong.
  3. kryovow

    kryovow Well-Known Member

    Messages:
    1,112
    Likes Received:
    240
    Re: [Rel] Hotbuild [51531]

    nice, I really will enjoy that mod as Im totally depending on it while playing FA :D without I cannot play^^
  4. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    Re: [Rel] Hotbuild [51531]

    both your mouseswitch mod and hotbuild nuke my mod (but not slowbars), why is this?
  5. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    keeps working in 54357, but it is missing bindings for new stuff. Expect an update over the weekend
  6. harpereaves

    harpereaves New Member

    Messages:
    4
    Likes Received:
    0
    Forgive my ignorance, but I have absolutely no idea what you mean by
    Any help?
  7. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
  8. harpereaves

    harpereaves New Member

    Messages:
    4
    Likes Received:
    0
  9. ghotifish

    ghotifish New Member

    Messages:
    20
    Likes Received:
    5
    Posting a bug for 55493

    energy is "consume" and "conserve" not "energy consume" ect.

    and the command to execute is

    engine.call('set_order_state', 'energy', eOrder);

    not

    engine.call('set_order_state', 'active', offOn[eOrder]);
    cola_colin likes this.
  10. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    noted, but since energy conserve stuff isnt really working anyway I wont change it for now.
  11. ghotifish

    ghotifish New Member

    Messages:
    20
    Likes Received:
    5
    eh? It is working. Just used it last game. It's great because you can stop production and preserve their queue.

    How is it supposed to work?
  12. liltbrockie

    liltbrockie Active Member

    Messages:
    314
    Likes Received:
    160
    Excuse my ignorance but what exactly does this do ?
  13. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    conserver energy works? Really?
  14. ghotifish

    ghotifish New Member

    Messages:
    20
    Likes Received:
    5
    yes!. Try it.
  15. kryovow

    kryovow Well-Known Member

    Messages:
    1,112
    Likes Received:
    240
    if you mean the "deactivate" energy function, it works ingame for me too, at least I thought so til now... ill give it a try righ tnow.^^

    yeh it works, units stop building if you set them to conserve. But how is there a bug related to hotbuild in that?
  16. ghotifish

    ghotifish New Member

    Messages:
    20
    Likes Received:
    5
    He was sending an invalid command to the engine in keypress.js, The stock gui button works just fine though.

    There may be other commands that are off, or have changed as the beta has being updated, but I'm a self interested guy. I don't feel like lookin :p
  17. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    hotbuild is based on a hotkey mod that oxide build like a few month ago. The command mapping for stuff like converse energy was written back then by him. I havent used conserve energy since then since I thought it was still broken. So it isnt even mapped for me atm. I'll probably fix it over the weekend.
  18. ghotifish

    ghotifish New Member

    Messages:
    20
    Likes Received:
    5
    do you have a repo or something? github?

    I need something to do this weekend, I'm thinking, maybe those icons that show the possible selections to cycle through.
  19. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    There is already a mod to display what's currently selected. A display of what is in the list would be a nice addition.
    No, hotbuild isnt available in any repository.
    If you want to improved it you're however free to download it and modify it ;)
  20. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Updated the mod, it now pauses/unpauses on tab. Just like hotbuild in FA.
Thread Status:
Not open for further replies.

Share This Page