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

what does Builder_blocks do?

Discussion in 'Modding [KAG Classic]' started by Shadowblitz16, Oct 30, 2012.

  1. Shadowblitz16

    Shadowblitz16 Ballista Bolt Thrower

    Messages:
    158
    What does the Builder_blocks file exactly do?
     
  2. JacKD

    JacKD Ballista Bolt Thrower

    Messages:
    496
    It's a configuration file that the builder class uses to determine which blocks can he build.

    Code:
      @$blocks = 
      Ladder;                  144;    1;    -1;    5;  0;    1;    1;
      Wooden Back Wall;    205;    1;    -1;    5;  0;    1;    1;
      Castle Back Wall;        64;    0;    -1;    10;  0;    1;    1;
      Wooden Wall;          196;    1;    -1;    10;  0;    1;    1;
      Castle Wall;              48;    0;    -1;    20;  0;    1;    1;
      Workshop;            146;    1;    -1;    4;  0;    3;    3;
      #Dirt;                  16;    1;    0;    15;  15;    1;    1;
      #Rubble;              155;    0;    -1;    10;  0;    1;    1;
      Spikes;              167;    0;    -1;    15;  0;    1;    1;
      Door;                128;    1;    0;    30;  10;    1;    1;
      Trap Bridge;          176;    1;    0;    15;  10;    1;    1;
    The example shown above, allows the builder class that uses this file to build all blocks except Dirt and Rubble, as they are commented out.

    Look at the FullCTF builder.cfg and builder_blocks.cfg to see how they are used.
     
  3. Shadowblitz16

    Shadowblitz16 Ballista Bolt Thrower

    Messages:
    158
    well then I have another question cuz I'm setting up a server and I can't edit the items you start out with.
    That folder was in there and I thought it could be that file that was messing it up.
    What files edit inventory?
     
  4. JacKD

    JacKD Ballista Bolt Thrower

    Messages:
    496
    Check the files I mentioned above, there you have all the inventory stuff.
     
  5. Shadowblitz16

    Shadowblitz16 Ballista Bolt Thrower

    Messages:
    158
    I know i did but for some reason it doesn't reconize the files.
    It keeps giving me stuff from the team tent, and not even the amount I tell it to.
    Here's what I edited
    [​IMG][​IMG]
    I also Looked in the Gamemode file and didn't see anything relating to items or inventory.
     
  6. JacKD

    JacKD Ballista Bolt Thrower

    Messages:
    496
    It seems the files changed. Check the team file for each team to set the amount of resources. (team1.cfg)
     
  7. Shadowblitz16

    Shadowblitz16 Ballista Bolt Thrower

    Messages:
    158
    i fixed this. just copied swordfight team1 cfg instead of ctf team1 cfg
     
    JacKD likes this.
  8. lomichelotti

    lomichelotti Shark Slayer

    Messages:
    69
    warmup and amount must be equals to work! example:
    stone_warmup=250

    stone_amount=250