View Single Post
  #1  
Old 05-09-2007, 05:54 AM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
Question strange tiles...

i am having some truble under standing thies tiles...

in the script "dirt path" found in levels/npcs it uses numbers and letters (0xaa)

how do thise number-letter-combonations corospond to the tile set, so i can make bush generators, or things like tree genorators

Edit: here is a bigger example:
PHP Code:
function laypath() {
  
sandtiles = {0xaa,0xab,0x12d,0x8,0xf};
  
grasstiles = {0x0,0x1,0x10,0x1ff,0x3ff,0x7ff,0x835,0x836,0x837};
  
sandspot = {
    
0x176,0x166,0x177,
    
0x1a70xaa,0x197,
    
0x188,0x178,0x169
    
}; 
__________________
**FLIP OUT**

Last edited by theHAWKER; 05-09-2007 at 06:22 AM..
Reply With Quote