Page 2 of 2 FirstFirst 1 2
Results 11 to 16 of 16

Thread: Level Editor-Change Tileset

  1. #11
    Veteran WwW's Avatar
    Join Date
    May 2015
    Location
    Philippines
    Posts
    430
    Quote Originally Posted by Morganga View Post
    add on the npc

    if (created) {
    removetiledefs;
    addtiledef (image name).png,,1;
    }

    Image name - Name of the Tileset.

    Do you know why people like Violence?

    It is because it feels good. Humans find violence deeply satisfying. But remove the satisfaction, and the act becomes... Hollow
    .

  2. #12
    Veteran Ganza's Avatar
    Join Date
    Sep 2013
    Location
    GraalEditor
    Posts
    234
    Pretty sure you just used the browse button but didn't entered the code.

  3. #13
    Street Boss Power5327's Avatar
    Join Date
    Apr 2014
    Location
    Lebanon
    Posts
    633
    Or didn't put the tileset name, it happens, it did to me a lot

  4. #14
    whoo ok I saw my error, when I did the code :

    if (created) {
    removetiledefs;
    addtiledef tileset_era01-summer.png.png,,1;
    }

    I wrote 2 times .png
    Thanks all !

  5. #15
    Veteran KevinBlue's Avatar
    Join Date
    Dec 2014
    Location
    Australia
    Posts
    335
    Quote Originally Posted by Morganga View Post
    You need this file era_tileset-summer-offline.jpg

    *EDIT*
    When you get the tileset, open paint and open up the tileset on paint as well, then save as to the Graal Folder>>Levels>>Tiles, make sure it aaved as png not jpeg.

    if (created) {
    removetiledefs;
    addtiledef era_tileset-summer-offline.png,,1;
    }

    Drag The None NPC! Add this into it, click test once you've done it and press close under test. The tiles should change
    Last edited by KevinBlue; 07-05-2015 at 06:00 AM. Reason: Just Adding Stuff
    My Levels Thread


  6. #16
    Veteran KevinBlue's Avatar
    Join Date
    Dec 2014
    Location
    Australia
    Posts
    335
    Quote Originally Posted by John98 View Post
    Hello John98 here.
    Title Says it all.

    If you don't have the tile editor, please click on the link below.
    http://www.era-go.com/forum/showthre...aal-Shop(Ganis)


    Here is the tileset if you don't have it

    Attachment 20563


    Step 1:

    -Open your File Explorer
    -Click On DeskTop
    -(Right Click)Graal
    -Open File Location
    -Click Levels
    -Click Tiles
    -Find The Tileset Or Add The Tileset Into That Folder.

    Step 2:
    -Now Open Paint.Net Or Paint
    -Drag The Tileset Or Find It In your File Explorer
    -Then Open it.
    -Save Image Name As(Don't Change The Name)
    -Save As .png (8Bit) And Close Paint.



    Step 3: Open your (Offline) tile editor{Graal Editor}

    Step 4rag a Npc Out Into The Green Zone.(Where The Arrow Is)
    (Pictures Below show you what the npc looks like and where it is)
    http://gyazo.com/837f846c76a951a9f9d6fc794c0ba7a0
    http://gyazo.com/1850d130540ffc966fb9f98be8bb402b

    This will show Once you Drag The Npc Out
    http://gyazo.com/ecd6a57015ef1e8829df9b6c4e94b062


    Step 6:
    Copy And Paste This HTML Code Below

    HTML Code:

    if (created) {
    removetiledefs;
    addtiledef (TilesetName).png,,1;
    }

    Don't Forget To add The Tileset Name!

    Into This
    Example:
    http://gyazo.com/9aadb34a2bf9539be83ff98204e63a2b

    Then Click Test And Close.


    The Tileset should load and you will see this
    http://gyazo.com/39f980f044983f5e9c8d17f284ca0947

    Once you see it, you are done ^.^

    You can delete that Npc and start making Era Levels


    I hope this helps ^.^
    __________________________________________________ _________________

    To Add The Classic Tileset Back
    Add this into the Npc

    HTML Code
    if (created) {
    removetiledefs;
    addtiledef pics1.png,,0;
    }
    And you have your classic tileset again.
    PHP Code:
     removetiledefs;
    addtiledef tileset_era01-summer-offline.png,,1;

    Enter this in the NPC.
    My Levels Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •