Announcement

Collapse
No announcement yet.

TileEdit: first beta release is here

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Originally posted by The Big Mc
    E I would go for a completely different approach. I would add completely new tiles for mountain forests. If you go the way you’re describing you will only confuse people as distinguishing between forest types may be hard.
    If primemover or another coder can get the game to read the extra files then yes definetely I'll go that other way and happily make new tiles.

    I guess that would be the easy way. I was just trying to find one more work around with the tilefile to make my tiles better...
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

    Comment


    • I've got another borders question.
      In my tile file I removed borders (IOT do the bigger tiles and less-square look) but now I've decided to give that rough look to actual borders so I've created new borders and started putting them back in. I had these observations/problems

      1) tile types that end in 99 (i.e. tileID 499 for grassland) is the tile that is used when tiles of the same type are connected together (they dont use a borders tile)

      2) if I added the black borders back onto the original tile (the first tile of the type in the file) it adds them to the #99 file too, so I had to re add that tile again

      3) borders are not being read right. I reloaded my new tilefile now with a grassland-plains border and where every the grassland-plains met THE whole border was around the tile, not just the part where they met. so each grasland had a plains ring around it even though the othersides where other hrassland or forests tiles. How do I limit it to just one side when its needed?

      4) in the original tilefile there are no checks on the borders (which copies it to the other three sides) does this affect the above problem. Do I have to check one (even though the originals don't)

      5) I'm willing to add a lot of these questions/answers as a FAQ into the next readme for tile file
      Formerly known as "E" on Apolyton

      See me at Civfanatics.com

      Comment


      • E, I'll have to look into this, but I have a few questions to your questions.

        1) The x99 tiles are suppost to be used when there are no borders available for the match. As far as I remember the TileRules govern wich tile is used when a tile is surrounded by the same type terrain as itself. I don't remember the default tile for this though.

        2) Where do you add the border? Do you import the border in TileEdit or do you reimport the first tile?

        3) I'm not sure what you are talking about, is this in the game or is it in TileEdit? Unfortunately TileEdit is not able to display different borders around the same tile. They should be displaid in the game though.

        4) The check in TileEdit is to save you time drawing the tile-borders. When one of the the mirror-check-boxes is checked, the border at that side is copied to the other three sides. All four borders are stored seperately in the .til-file so when opening a tile-border for editing no boxes will be checked.

        5) Ill be happy to include tile-creation related FAQ in the readme-file. If someone will compile it. I'll even include it in the helpfile.

        Hope this answers some of the Qs
        Visit my CTP-page and get TileEdit and a few other CTP related programs.
        Download and test SpriteEdit development build.

        Comment



        • 1) The x99 tiles are suppost to be used when there are no borders available for the match. As far as I remember the TileRules govern wich tile is used when a tile is surrounded by the same type terrain as itself. I don't remember the default tile for this though.
          yep these are the default tiles, I didnt realize it before.

          2) Where do you add the border? Do you import the border in TileEdit or do you reimport the first tile?
          I loaded the tile into the tileedit and then checked the boxes on the edit tile window, and it added black borders to it. I loaded the border by going to edit borders and then added the tga to it and it automatically gave border cut outs to my tile tga.

          3) I'm not sure what you are talking about, is this in the game or is it in TileEdit? Unfortunately TileEdit is not able to display different borders around the same tile. They should be displaid in the game though.
          I was checking this in-game. And it showed all four border sides on top of my grassland even though three of the sides were other grasslands. My tilefile also has all the original border graphics but on a lot of my tiles I have unchecked the borders blocks on the original terrain-tile (ID tile 4, etc)

          If I have them all checked does t automatically show all? I thought it would only take parts from each different border and match it accordingly.


          4) The check in TileEdit is to save you time drawing the tile-borders. When one of the the mirror-check-boxes is checked, the border at that side is copied to the other three sides. All four borders are stored seperately in the .til-file so when opening a tile-border for editing no boxes will be checked.
          ok

          5) Ill be happy to include tile-creation related FAQ in the readme-file. If someone will compile it. I'll even include it in the helpfile.
          I can write the faq!

          Hope this answers some of the Qs [/QUOTE]
          Formerly known as "E" on Apolyton

          See me at Civfanatics.com

          Comment


          • BigMC or anyone,

            i still haven't resolved the problem with borders through tile edit.

            the game knows when to put a border between two squares but when I added my own border (grassland-plains for example) it will create the border on all four sides when it is only need between one plain tile and the grassland tile.

            BigMC did you ever try your own borders, or anyone else run into it?
            Formerly known as "E" on Apolyton

            See me at Civfanatics.com

            Comment


            • Then there are six graphical ID’s: Graphics and Alternative 1 to 5.
              These can either be -1 or the TileID of the graphics to be displayed if Tile complies with the TileRule. If Graphics is -1 one or more of the alternative numbers must be the TileID of a Tile graphics (The alternative values must be used in ascending order). If Graphics is not -1 all the alternative values must be (which of the alternative values will be used depends on the position of the tile on the map).
              ALSO, I'm confused by this bit in the tileedit. Can you guys point me to the discussion on this?

              (Don't worry BigMC part of this learn will apply to your project)
              Formerly known as "E" on Apolyton

              See me at Civfanatics.com

              Comment


              • Originally posted by E
                BigMC or anyone,

                i still haven't resolved the problem with borders through tile edit.

                the game knows when to put a border between two squares but when I added my own border (grassland-plains for example) it will create the border on all four sides when it is only need between one plain tile and the grassland tile.

                BigMC did you ever try your own borders, or anyone else run into it?
                I'm not sure I understand you here, I have downloaded your last tile-file and played around with it a bit and don't se the problem.
                Are you saying that when you add a border to your tile-file, the border is used all the way around a tile in the game, or is it used all the way around in TileEdit?
                Visit my CTP-page and get TileEdit and a few other CTP related programs.
                Download and test SpriteEdit development build.

                Comment


                • Thanks Martin,

                  in-game, the border appears on all four sides when it should just be one side. But now that you mention it, I think it might be because instead of starting a new game with the tilefile I just loaded an old one where I didn't have borders, so maybe the game loaded it incorrectly....

                  I didn't post it to apolyton. But I'll try it out again. Thanks!
                  Formerly known as "E" on Apolyton

                  See me at Civfanatics.com

                  Comment


                  • A little something for the read me Martin variation rules do not appear to relate to anything in the tile file. I recently altered terrain .txt to implement some of e tiles in to my personal tile file. All went well I implemented it as a new terrain and alter terrain.txt to use that instead of the generic marsh. I was shocked to see parts of the original marsh on the map. After more research it now appears that variation rules go on terrain.txt positions not the tile file.
                    "Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
                    The BIG MC making ctp2 a much unsafer place.
                    Visit the big mc’s website

                    Comment


                    • Are you saying that the actual tile graphics used in the variation rules depends on the til-numbers in terrain.txt?
                      I have tried playing around with varios .til-files but never edited terrain.txt, and have seen variation-rules in effect. But those were rules using the standard tile-graphics, or replaced tile-graphics, never new tiles. I'll have to look at it, but not tonight.
                      Visit my CTP-page and get TileEdit and a few other CTP related programs.
                      Download and test SpriteEdit development build.

                      Comment


                      • Here's an example of what happens when I add new borders to the tilefile. I put my tile in. cut out the sides. loaded my new border graphic. save and start a test game.

                        for some reason instead of just taking one side of a border it takes all four sides of only one border.

                        I think what it is doing is reading theborder file not as a border but like a x99 file and just laying it underneath the border-requiring tile.

                        thx
                        Attached Files
                        Formerly known as "E" on Apolyton

                        See me at Civfanatics.com

                        Comment


                        • Hmm. that defenitely dosn't look right. Can you mail me the .til-file or send me a link, and I'll take a look.
                          Visit my CTP-page and get TileEdit and a few other CTP related programs.
                          Download and test SpriteEdit development build.

                          Comment


                          • I'll send you the .til but all I did was use the til I have in my signature and go to the first grassland, plains tiles that are in the tilefile and edit the tile by hitting all the checks for borders. You can replicate it that way.

                            thanks. (I really don't want to distract you from spriteedit though)
                            Formerly known as "E" on Apolyton

                            See me at Civfanatics.com

                            Comment


                            • E, I just experimented a bit with the original tile-file and your version, it seems that some thing goes wrong somewhere in your file. What and why I havn't figured out. What I did was apply a solid color to each of the four borders, when I did this in the original file, everything was fine, the borders showed up when they should, and the collors were correct. When I did the same with your file, strange things happend: first I was able to recreate the error you reported, second the actual pixels used for the borders were wrong. The upper coner had one color, below were stripes of the remaining three colors.
                              Figuring out what happends will require som analysing of the two tile-files in my beloved hex-editor.
                              Visit my CTP-page and get TileEdit and a few other CTP related programs.
                              Download and test SpriteEdit development build.

                              Comment


                              • Martin,

                                Thank you for your time. I wonder what I did

                                I guess in a worst case scenario I can just start from scratch. But if it helps I imported my tiles on the ApolytonTileFile not the original one with the game. Perhaps it has something to do there too
                                Formerly known as "E" on Apolyton

                                See me at Civfanatics.com

                                Comment

                                Working...
                                X