The Dawn Of Time
The Official Forums for the Dawn Of Time Mud Codebase
 
Log in Register FAQ Memberlist Search The Dawn Of Time Forum Index Goto the Official Dawn Website

question about importing with color.

 
Post new topic   Reply to topic    The Dawn Of Time Forum Index » Building
View previous topic :: View next topic  
Author Message
Pryden



Joined: 28 Aug 2006
Posts: 18

PostPosted: Sat Sep 02, 2006 8:25 pm    Post subject: question about importing with color. Reply with quote

I have recently imported about 18 are files from a rom 2.4 code base. The only problem I have had in doing this is all the colors are shown in the syntax form such as {cThe well traveld path.{x This being just for example. Currently the only way that I have figured out how to format the colors correctly is by copying and pasting each line in each room and deleteing the onl lines that showed the color codes.. Is there an easier way to acomplish this tedious task?


Back to top
View user's profile Send private message Yahoo Messenger
Vartan



Joined: 28 Apr 2005
Posts: 120
Location: Indianapolis Indiana

PostPosted: Sun Sep 03, 2006 12:01 pm    Post subject: Reply with quote

Manually edit the file and, using the find/replace command, replace the { character with `, which is the default color code for DoT, and the one all area /code/help/etc files use for it.



_________________
Twist of Fate - omen.genesismuds.com 3311
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
Daos



Joined: 29 Jan 2003
Posts: 1219
Location: United States

PostPosted: Sun Sep 03, 2006 2:24 pm    Post subject: Reply with quote

Hi -

Easier way to do this. Go into colour.cpp and check to make sure your colour_convert_disabled does not equal true.

At or around line 23 - it should read this and will auto convert your colour codes for you:

Code:
bool colour_convert_disabled=false;



_________________
- Daos

http://www.dawnoftime.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    The Dawn Of Time Forum Index » Building All times are GMT + 13 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001-2005 phpBB Group
Theme created by Vjacheslav Trushkin