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

Destructible blocks

Discussion in 'Modding [KAG Classic]' started by Yihka, Jun 13, 2012.

  1. Yihka

    Yihka Shopkeep Stealer

    Messages:
    179
    Not too sure if this is the right place ( Perhaps it should be onder help ) but how do I set the "Destrucible blocks" right?

    It says it's referring to xy coordinates, so I thought it meant the world.png file, however either I calculate it the wrong way or it's referring to something else.

    What I'm talking about is located under for example:

    Base\Entities\Actors\ZombieKnight.cfg - @u8_destructible_blocks

    Castle blocks are for example: 48; 63;

    Can anyone explain me how to do it the right way? Thanks for your help.

    .

    .

    .

    Solution:

    Look at: World.png

    Every block represents a number. Since it starts counting at 0, the first block is 0, the second one is 1 etc.

    As you can see, the castle blocks are on the fourth row. A row consists of 16 blocks.

    3 x 16 = 48 blocks ... Substract 1 since it starts counting at 0, 48-1 = 47.

    48 - 63 Are all of the castle blocks.


    I've no idea why I missed that yesterday but anyway thanks for your help. Hope someone else can use this bit of information.
     
    master4523, acridstone and Froghead48 like this.
  2. Sitanel

    Sitanel Shopkeep Stealer

    Messages:
    49
    I'm gonna try this when I get home, thanks for the info!
     
  3. Yihka

    Yihka Shopkeep Stealer

    Messages:
    179
    You're welcome
     
  4. Sitanel

    Sitanel Shopkeep Stealer

    Messages:
    49
    I put 0 on it :3
     
  5. Froghead48

    Froghead48 Haxor

    Messages:
    703
    Sorry, for bumping this, but i think this should be stickied. i have looks EVERYWHERE for this, but couldnt find it. this is a great help.
     
  6. Rayne

    Rayne ༼ つ ◕_◕ ༽つ Administrator Global Moderator Forum Moderator Tester

    Messages:
    1,916
    if every useful thing was stickied then we'd have most of this section stickied, a search is good enough.
     
  7. Yihka

    Yihka Shopkeep Stealer

    Messages:
    179
    I guess a topic with links to useful topics can be useful.

    It helps a lot if you don't know what you're looking for ( or to find guides ).