Ryandor.com

Forums
It is currently Thu Mar 28, 2024 12:16 pm

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: [FAQ] Customizing Dragon
PostPosted: Sun Aug 11, 2002 9:43 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Sun Jun 02, 2002 8:01 pm
Posts: 1473
Location: CO, USA
This is also in the tutorial, but it will be going away soon.

Color Table
To edit the color table to include other types of tiles, you need to edit maptrans.txt and groups.txt. Both of these are in the /dragon/scripts directory. Open both files side by side and you can see how they are laid out. The color table is a 64 x 64 grid, with each color belonging to a group. Dragon doesn?t actually care about the colors that you use. It uses the index number of where the color is. However, practically speaking, it makes sense to match a color in the colortable.bmp (in the /dragon/addon directory) so that it is easier to visualize what you are drawing. Also, if you edit the maptrans and groups files, you should also edit the colortable.bmp so you can use the color picker to get the color easily.
Once you?ve edited these files, you need to make sure that the actual color table of your bmp matches what you have in the txt files. In Photoshop: Image -> Mode -> Color Table? will get you to the right spot. I recommend saving the color table for future use so you can load it later. If all this sounds a bit complicated, the easier way to do this is to get my Dragon mod, which already has many additional colors, included.
Item Scripts
In the /dragon/scripts/items directory are the files that control what random statics are created. These are well commented and are easy to edit.
For transitions, you can edit how the tiles are interpreted by editing the files in the /dragon/scripts directory.

See Dragon Script Definitions (in the tutorial) for more info.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group