;Yo! This is my new tileset!!
[TileSet0082]
SetName = Rocky Ground ; The name of the set as it will appear in the editor.
FileName = xxxxx ;The base file name of each file in the set. The files in a set must all have the same basic name with a 2 digit id number appended. For example cliff01.tem, cliff02.tem, cliff03.tem. The 2 digit number starts at 01, not 00.
TilesInSet = 6 ; how many tiles in your tileset. Maximum value is 99 (and i advice you set this value, if you have more than one tilesets)
LowRadarColor = 60,40,0 ; seems, it dosnt work
HighRadarColor = 80,50,0 ; seems, it dosnt work
AllowBurrowing=false
RequiredForRMG = false; Required for random map generator
Save and close.
Open an XCC TMP Editor and load any *.tem or *.sno file.
*note: Use some thing similar to your future tile. Thats will slove problem with radar color and terrain type
As we can see, any TMP file consis of one or more single tiles.
Select any tile from list on the right. Press Ctrl+С. Open MS Paint. Set Picture size as 48x24. Press Ctrl+V. Well, its ready to edit.
*note: As you can see its have one extra line at the end with transparent
color - leave it alone!!!
When you finish, Press Ctrl+A than Ctrl+C. Open XCC TMP Editor. Select the tile that you have take before and press Ctrl+V. Thats it. If you have more than one tile to edit, than repeat the procedure described above. Save as...
***If you have more information about TMP editing, please, post it below.
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Wed Dec 01, 2004 1:05 am Post subject:
A little aditional info:
Solving the radar problem with a Hex Editor:
It's a kinda boring job, but once you practice, you'll get used to it. First you need the following things:
- A Hex Editor
- A Hex Calculator (windows comes with one)
- Patience... required as well
1) Open your hex editor and view your TMP (*.tem, *.sno) file.
2) Once you have it opened, you'll probably have something like
In my specific case, the 6 digit hex numbers in the left are the address of the line, the numbers in the center are the values in the line. 16 values in four sections. Each value is a byte. An integer is a set of 4 values, or 4 bytes. In the right, we have the ASCII code related to each of the 16 values. This ASCII code will be ignored in this tutorial.
So, consider the numbers in the center and the addresses. The first line of the file is the main header. Feel free to ignore it, since XCC TMP Editor edits these values easily.
The second line will have a lot of integers. These integers indicates the address where each tile starts. If the integer is 00 00 00 00, then it points for no tile at all. You have to pay attention that the address of the first tile stops the listing of tiles.
I.e.: in blank01.tem example above, we have only one tile:
14 00 00 00
Observe that the 00 00 00 00 that comes after it is already located at the address 14 00 00 00 (000010 + 4).
Once you hit the address where the tile starts, you will have to count for exactly 3 lines and 1 section. Then, you have 6 important bytes:
- red low radar value, green low radar value, blue low radar value, red high radar value, green high radar value, blue high radar value.
Each of them is a byte.
In our example above, we have our tile starting at the first 00 00 00 00, so 3 lines and one integer after it is exactly where the 60 starts, so, it has set 60 to all red, green and blue for low and high radar.
(Look at the fifth line:)
Quote:
| 28 28 28 28 | 28 CD CD CD | 60606060 | 6060 7F 7F |
But TS uses 6 bit colours, which basically means that you can set the values 0 to 63 for each of them. Setting a higher value has no known consequences. So, this is an almost white colour, huh? At least I guess so...
If you guys need any other example to explain this, give me a tip and I'll post. This kind of thing isnt easy for those who arent used to it. _________________
Mods, Mods Support, Public Researchs, Map Archives, Tutorials, A Friendly Community and much more. Check it out now! QUICK_EDIT
i've tried it. I've set 00 60 00 00 60 00 so radar color supposed to be green, but it doesnt. My tile is still grey on radar, but image become corrupted.
*** Ive test it only in FinalSun _________________ Gangster is a Project Perfect Wuj (c)Aro QUICK_EDIT
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Wed Dec 01, 2004 6:04 pm Post subject:
could you send me a sample of what did you do?
Pay attention to the pointers in the beggining. If you miss the initial address of the tile, you may miss the byte. And initial addresses usually differs. _________________
Mods, Mods Support, Public Researchs, Map Archives, Tutorials, A Friendly Community and much more. Check it out now! QUICK_EDIT
Hello, im having trouble with mine, you see if already got made tiles and ive created a new ini entry as described above but for when i load up my finalsun it dose not appear in the terrain / ground: list...
; New Tile Sets.
[TileSet0087]
SetName = Space
FileName = Space
TilesInSet = 6
LowRadarColor = 60,40,0
HighRadarColor = 80,50,0
AllowBurrowing=false
RequiredForRMG = false
Ive catergoryd it here as the rest is my Marble Madness package Digits 0082 - 0086 any suggestions ?
Did not work >>>Idea : What ive i rename the marble Madness package digits from 0082 - 0086 to 0083 - 0087 so then i have a free space inbetween the sections.?
Still Any sugestions or reasons why this dose not work etc? _________________ If you don't eat, you don't poo, if you don't poo, you die. QUICK_EDIT
I have already passed first hundred and all new tilesets works fine. Only thing i could suggest, look carefully for yours mistakes. _________________ Gangster is a Project Perfect Wuj (c)Aro QUICK_EDIT
have any of you seen the unoffical XCC TMP editor by metalmario? it has all the radar colour options in the tile properties... alot easier than hex editing. QUICK_EDIT
i figured id post here since my q is about this
i tried making my own tiles be used instead of the grass and i got an ie when the game was loading this is my codes and file names
ok so i should basicly copy the old one and put my file name there like this?
[TileSet0082]
SetName = GrassThick Idividual
FileName = ux
TilesInSet = 9
Morphable = true
LowRadarColor = 80,45,0
HighRadarColor = 100,60,0
AllowToPlace=no
RequiredForRMG = true
AllowTiberium = true _________________ Global Genocide Website QUICK_EDIT
ok i got it to overight the old grass but in final alert it just is all white and when i try to put somthing on the ground a get an I.E. is it a problem with the code or is my file bad?
my file is in the mix in my first post and here is my code
In our example above, we have our tile starting at the first 00 00 00 00, so 3 lines and one integer after it is exactly where the 60 starts, so, it has set 60 to all red, green and blue for low and high radar.
(Look at the fifth line:)
Quote:
| 28 28 28 28 | 28 CD CD CD | 60606060 | 6060 7F 7F |
When using TMP Builder, it uses the 28's at the beginning of this line (plus the one 28 at the end of the previous line) to show the "Left Color" and "Right Color".
Are these left and right color in TMP Builder some different colors?
Is there a difference between the radar color and the ones TMP Builder is showing?
\EDIT
after a few tests it seems Banshee's infos are a tad wrong. It's not the 60's which are 52 byte after the start-offset of the tile.
It's in fact the 28's which are 43 byte after the start-offset
\EDIT
Another question: How does the game use the low and high radar color? (left color and right color in tmp builder)
I've made them completely different in a test tmp, and the result was quite strange.
A completely filled area with only this 1x1 tile, didn't created an even colored area in the radar, but something like a checkerboard pattern which was using colors in the whole range of the low and high color.
I expected the low color to be used on map-height 0 and the high color on height 14 and in between something like a gradient between the two colors. _________________ SHP Artist of Twisted Insurrection: Nod buildings
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum