Noob question IDE's?

Discussion in 'Mod Discussions' started by Chemdude8, April 3, 2014.

  1. Chemdude8

    Chemdude8 New Member

    Messages:
    25
    Likes Received:
    8
    So what ide's are people using to create these mods? Looking at Auto-builder, how does the developer know what api. options are available to him (api.unit and api.selected are used) is he really digging through the code by hand to find out what's avaiable? Is there a decent documentation set (javadoc style?).

    Appreciate any guidance for a craptastic java dev.
  2. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Any IDE you prefer. ;)

    Yes, everyone use code and there not so much API, everything listed in this file:
    /media/ui/main/shared/js/pa_client_api.js
  3. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    The API is completely undocumented, so we just have to read the code.
  4. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    I think not every engine call is included in there.
  5. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
    I personally prefer Notepad++ for my IDE but really any text editor with code highlighting will work fine. We're happy to help new modders; just keep trying and asking questions!
  6. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    eclipse and notepad++
  7. Chemdude8

    Chemdude8 New Member

    Messages:
    25
    Likes Received:
    8
    So I managed to get eclipse to recognize/show options when typing api. but api.unit. is still a blank, womp womp. Was trying to modify the autoBuildMod to create a notification when I had a nuke available to be launched, but getIdleFactories() doesn't exactly allow you to pinpoint what type of factory you have selected. Tried using an if statement around createUnit(nuke, num, now) but createUnit simply overrides that queue position instead of trying and succeeding/failing it seems.
  8. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    That's more than I have already, I never bothered how to set that up for javascript.

Share This Page