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 04-13-2002, 10:28 PM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
EditNPC

okay...you guys know the text files that can be usful but yet a headache when trying to make them...
will someone post all the editnpcs they have in a zip? or just separate?
Konidas this is prolly a question for you...
could someone help me with the hex?
__________________
Reply With Quote
  #2  
Old 04-14-2002, 04:21 AM
konidias konidias is offline
Old Bee
konidias's Avatar
Join Date: Jul 2001
Location: Orlando, FL
Posts: 7,222
konidias will become famous soon enough
Send a message via AIM to konidias
Okay, in order to get the hex value for a tile you need to do this:

Mouse over a tile, in the bottom part of the editor it will show the 2 numbers that correspond to that tile. For example (10,82) then you open up windows calculator, go into scientific mode, then in decimal mode put in this:

82*16+10

82 being the y value of the tile, then multiply that by 16, then you want to add the x value to that total. Then you will have 1322 if I'm not mistaken. Then all you have to do, is simply click the Hex bubble to switch to Hex mode (on the calculator) and you will get 52a.

You just add a 0x in front of it and your hex value is 0x52a You can also just put in 82*16+10 in place of the hex value like:

mytiles = {0xaa,82*16+10,0xab};

That will work also

If you want, pick a tile out and I will give you an example as to how to get the hex (if you didn't understand what I said above)
__________________

Put this image in your sig if you support Bomy Island! (g2k1 revision)
play bomberman while you wait!


Reply With Quote
  #3  
Old 04-14-2002, 04:41 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
Quote:
Originally posted by konidias
(if you didn't understand what I said above)
i understand compleatley! thanks...but anyone who feels like it please post any of these! thanks
__________________
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 11:20 AM.


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