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-12-2002, 02:36 PM
Spyder13 Spyder13 is offline
Not So Dead Anymore.
Spyder13's Avatar
Join Date: Nov 2001
Location: California, USA
Posts: 141
Spyder13 is on a distinguished road
Send a message via ICQ to Spyder13 Send a message via AIM to Spyder13
editNPC

Can someone please explain to me how the editNPC reads the tilesets. I want to understand how it gets teh location of teh tiles. Please email me or post it here.
Email:[email protected]
__________________

Aim: SpyderCoder
Reply With Quote
  #2  
Old 06-12-2002, 08:30 PM
-SLaG- -SLaG- is offline
Banned
Join Date: Jun 2002
Posts: 307
-SLaG- is on a distinguished road
Re: editNPC

Quote:
Originally posted by Spyder13
Can someone please explain to me how the editNPC reads the tilesets. I want to understand how it gets teh location of teh tiles. Please email me or post it here.
Email:[email protected]
WTF IS TEH?! ITS THE, god damn now no i wont help.
Reply With Quote
  #3  
Old 06-12-2002, 08:42 PM
VampiricTutorNewHD VampiricTutorNewHD is offline
Banned
VampiricTutorNewHD's Avatar
Join Date: Jun 2002
Location: PEI, Canada
Posts: 712
VampiricTutorNewHD is on a distinguished road
Send a message via AIM to VampiricTutorNewHD
This is better suited for the NPC forum.
Reply With Quote
  #4  
Old 06-16-2002, 05:00 AM
zallus-k zallus-k is offline
Registered User
Join Date: Sep 2001
Location: AC0265, Zaroke
Posts: 122
zallus-k is on a distinguished road
Here

Well, here goes:
The hex number is derived from three seperate hex numbers, giving it the variable representation of 0xABC.
Now, the A is derived by splitting the pics1.png file into 16 sections, like so:



Then, we divide each section into 256 peices, by tile, like so:



The tiles of each plane start at zero. The B variable is defined as the Y plane, and the C variable being the X plane. So, 0x001 would give you the second side of the first row, the right blade of grass. Right? Wrong! You also delete beginning zeros, to give you 0x1 as the answer.

Here's another one:

0x1FF. What is this? Well, it would be the #1 section of Chart A, and the last tile in the last row in Chart B, giving you empty grass.


Did you understand all that, or is there a point I need to clarify?
__________________

Solemn Destiny - Owner
Reply With Quote
  #5  
Old 06-16-2002, 05:56 AM
Xbob42 Xbob42 is offline
Registered User
Join Date: May 2002
Posts: 429
Xbob42 is on a distinguished road
wtf. I was trying for a couple hours the other day to figure it out and I was nowhere near being close. I wish they could have made it simpler.
__________________
Criminal uses this account to post.
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 12:26 PM.


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