1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

KAG How do I load maps with the console?

Discussion in 'Help' started by Jackard, May 8, 2013.

Mods: makmoud98, Mazey
  1. Jackard

    Jackard Base Burner

    Messages:
    852
    This is what I'm getting:

    [​IMG]
    [​IMG]

    Wiki says:
    loadmap [name] - Loads the map from the folder Maps/[name].kag.​
     
  2. Downburst

    Downburst Mindblown Global Moderator Forum Moderator Donator Tester

    Messages:
    1,813
    Are you loading the map on singleplayer? If not, use /rcon in front of your commands :)
     
    JacKD likes this.
  3. Jackard

    Jackard Base Burner

    Messages:
    852
    thanks, wasn't expecting that from hosting a server on the same computer
     
  4. qpKillerqp

    qpKillerqp Haxor

    Messages:
    99
    Is it possible to load a map which had barracks or other objects?
     
  5. SirLoading

    SirLoading Bison Rider

    Messages:
    22
    Yes it is, but you have to edit BasePNGLoader.as file.

    EDIT: For example for red barracks:
    At the beggining of file
    Code:
    const SColor color_red_barracks(0xfff1e7e8); //whatever color you like
    in handlePixel function:
    Code:
    else if (pixel == color_red_barracks)
    {
       spawnBlob( map, "barracks", offset, 1, true );
       offsets[autotile_offset].push_back( offset );
    }
    
     
    kaizokuroof likes this.
Mods: makmoud98, Mazey