Announcement: Be excellent to each other.


Caravel Forum : Caravel Boards : General : Codes of DROD Graphics Entries
New Topic New Poll Post Reply
Poster Message
Resert On
Level: Delver
Avatar
Rank Points: 30
Registered: 05-02-2017
IP: Logged
icon Codes of DROD Graphics Entries (0)  
So, when I making custom DROD graphics I meet a problem. The problem is : "What codes that can call DROD to change all graphics entries to graphics entries that i want?"

____________________________
Don't take it seriously.
Click here to view the secret text

06-19-2017 at 07:34 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
Tuttle
Level: Smitemaster
Avatar
Rank Points: 1467
Registered: 02-22-2003
IP: Logged
icon Re: Codes of DROD Graphics Entries (+1)  
The only full list I know of is embedded in the DROD source code at http://www.caravelgames.com/sourcecode.html . The file with all the ID numbers is DROD\TileImageConstants.h and contains blocks of code like this:
#define TI_EYE_N     72
#define TI_EYE_NE    73
#define TI_EYE_E     74
#define TI_EYE_SE    75
#define TI_EYE_S     76
#define TI_EYE_SW    77
#define TI_EYE_W     78
#define TI_EYE_NW    79
The numbers are what you need to use in your .tim file. For characters and named objects you should be able to find the right codes fairly easily. Unfortunately, generic obstacles like rocks aren't as easy to figure out exactly which is which, and will require some trial and error.
//Obstacle 24.
#define TI_OB_24_1        1829
#define TI_OBS_24_1_11    1830
#define TI_OBS_24_1_21    1831
#define TI_OBS_24_1_12    1832
#define TI_OBS_24_1_22    1833


[Last edited by Tuttle at 06-20-2017 02:37 AM]
06-20-2017 at 02:36 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
Resert On
Level: Delver
Avatar
Rank Points: 30
Registered: 05-02-2017
IP: Logged
icon Re: Codes of DROD Graphics Entries (0)  
Uh.. seems I can't understand some of those variable, like this:
Click here to view the secret text


Those variable, like SNK, SNKT, WALL_REF, TAR_SEI, are hard to understand what is mean behind it's naming. Other hand, there has some variable name that easy to understand, like TI_MIMIC_... . There also has some variable that has 'A' on it, seems used for frame 2 of an animated monster.

____________________________
Don't take it seriously.
Click here to view the secret text

06-20-2017 at 11:25 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
Resert On
Level: Delver
Avatar
Rank Points: 30
Registered: 05-02-2017
IP: Logged
icon Re: Codes of DROD Graphics Entries (0)  
Click here to view the secret text


____________________________
Don't take it seriously.
Click here to view the secret text


[Last edited by Resert On at 10-07-2017 03:12 PM]
08-16-2017 at 07:19 AM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : Caravel Boards : General : Codes of DROD Graphics Entries
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.