Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-10-2005, 11:58 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Tiles etc..

In New Features 2001:

This is one line of the background layer. 'tilesdata' has a length if w*2
characters; each tile is a 12bit-index into the tile list (pics1.png) and is
encoded in two base64 characters (upper 6 bit first)
base64: String = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvw xyz0123456789+/'
so AA is tile 0, AB is tile 1, AC is tile 2, // is tile 4095 (=0xFFF)

Can someone explain on how to find what the tiles are. EX: 0xABC = what?
Reply With Quote
  #2  
Old 06-10-2005, 12:15 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
What are you talking about? You do know what hexadecimal is, right?
__________________
Reply With Quote
  #3  
Old 06-10-2005, 12:37 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by Kaimetsu
What are you talking about? You do know what hexadecimal is, right?
Err..no
Reply With Quote
  #4  
Old 06-10-2005, 12:55 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by KuJi
Err..no
I'd insult you, but... it's just too easy.
__________________
Reply With Quote
  #5  
Old 06-10-2005, 01:25 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by Kaimetsu
I'd insult you, but... it's just too easy.
Alright, but can u still just explain it?
Reply With Quote
  #6  
Old 06-10-2005, 01:29 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Wikipedia certainly can.
__________________
Reply With Quote
  #7  
Old 06-10-2005, 01:41 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by Kaimetsu
Wikipedia certainly can.
http://en.wikipedia.org/wiki/Hexadecimal?
Reply With Quote
  #8  
Old 06-10-2005, 01:44 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Quote:
Originally Posted by KuJi
Ok, now you read that.
__________________
Reply With Quote
  #9  
Old 06-10-2005, 01:48 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by xAndrewx
Ok, now you read that.
I was asking Kaimetsu if that's what he is talking about?
Reply With Quote
  #10  
Old 06-10-2005, 02:04 PM
Benm00t Benm00t is offline
I made a tree!
Benm00t's Avatar
Join Date: Jul 2003
Location: The Intarwebbernetwork!
Posts: 987
Benm00t is on a distinguished road
Aww if it wasn't for IBM, Hexadecimal might have ended up being called Sexadecimal :-(.
__________________
Lag is a good thing. Only those without it complain.

~ Ben
Reply With Quote
  #11  
Old 06-10-2005, 04:43 PM
Trevor Trevor is offline
True
Trevor's Avatar
Join Date: Mar 2003
Posts: 2,253
Trevor is on a distinguished road
Why do you need to know how to use the level format?
__________________


name: Trevor Fancher
email: trevor at fancher dot org
home page: fancher.org
Reply With Quote
  #12  
Old 06-10-2005, 08:59 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Well, nevermind anymore...

and yeah:

Do you know Sexadecimal?
Reply With Quote
  #13  
Old 06-11-2005, 12:00 AM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
Hex is easy to learn

numbers go from 0-F. Think of A,B,C,etc as 10,11,12,etc.

0xBEEF

Start from the right. The last digit is your ones, then the next to the last is your 16s, then your 16^2s, 16^3s, etc. For this example, it is F*1 + E*16 + E*16^2 + B*16^3.

Translating the letters, you get 15 + 14*16 + 14*16^2 + 11*16^3. The answer is 48879.
Reply With Quote
  #14  
Old 06-11-2005, 02:14 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by CheeToS2
Hex is easy to learn

numbers go from 0-F. Think of A,B,C,etc as 10,11,12,etc.

0xBEEF

Start from the right. The last digit is your ones, then the next to the last is your 16s, then your 16^2s, 16^3s, etc. For this example, it is F*1 + E*16 + E*16^2 + B*16^3.

Translating the letters, you get 15 + 14*16 + 14*16^2 + 11*16^3. The answer is 48879.
That helped a ton, but what does the rock thing on the editor do?
Reply With Quote
  #15  
Old 06-11-2005, 05:34 AM
vahn32 vahn32 is offline
oner uf grawl +1 LOL
vahn32's Avatar
Join Date: Jan 2003
Location: See Bible.
Posts: 177
vahn32 is on a distinguished road
Send a message via AIM to vahn32
Quote:
Originally Posted by KuJi
That helped a ton, but what does the rock thing on the editor do?
I'm pretty sure it gives you the array of hex codes for the tiles you select on the map?
I could be wrong.
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:45 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.