Ryandor.com

Forums
It is currently Fri Jul 04, 2025 4:08 pm

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Fix Table
PostPosted: Mon Oct 14, 2002 8:50 pm 
Offline
Journeyman
Journeyman
User avatar

Joined: Mon Aug 12, 2002 2:13 am
Posts: 122
Location: Right behind you!!!
How does the fix table work? It says something about never having to do worldforge changes again. If that is true then that will save me a lot of time each time I fix something in my map.

_________________
People ask me why I do this. Why I write such gross stuff. I tell them I have the heart of a small boy... and I keep it in a jar on my desk.
~Stephen King


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 14, 2002 10:33 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Sun Jun 02, 2002 8:01 pm
Posts: 1473
Location: CO, USA
It's good in theory, but not so easy to implement.

From the Dragon Tutorial (in the FAQs)

The Fix File: This is used for overriding tiles in the map0.mul. You can use it if you've already edited the map with WorldForge but need to recompile the map with Dragon. You simply include a list of all tiles you want to be placed in the map instead of Dragon generating a tile. You can find an example fix file in the /dragon/addon folder. Put the x, y, z, and item id in this file and it will place that item at that location in the map.
NOTE: There is an error in how the fix file is used. The way in needs to be used it this:
X Y ID(dec) Z(hex)
The ID and Z values are swapped. So, say for example you wanted to add a lava tile at X 1000 Y 1000 with an elevation of 20, you would write: 1000 100 503 14
Note the ID number is in decimal and the z value is in hex. I'm sure that this is a mistake in the Dragon program.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 15, 2002 8:01 am 
Offline
Journeyman
Journeyman
User avatar

Joined: Mon Aug 12, 2002 2:13 am
Posts: 122
Location: Right behind you!!!
Hehe yea I looked in the FAQ but I didn't see anything about it... must have just missed it... Anyway thanks for the help though I am still kind of confused about how to use it. Hex is kind of confusing. If someone could explain it to me that would be great.

_________________
People ask me why I do this. Why I write such gross stuff. I tell them I have the heart of a small boy... and I keep it in a jar on my desk.
~Stephen King


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 15, 2002 8:20 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Sun Jun 02, 2002 8:01 pm
Posts: 1473
Location: CO, USA
hex is base16 whereas decimal is base10.
so:
dec=hex
0=0
1=1
...
8=8
9=9
10=a
11=b
12=c
13=d
14=e
15=f
16=10
17=11
18=12
...
25=19
26=1a
27=1b
28=1c
29=1d
30=1e
31=1f
32=20
etc

You can do conversions easily by using windows calculator and putting it into scientific mode.

-Ryandor


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 16, 2002 7:40 am 
Offline
Journeyman
Journeyman
User avatar

Joined: Mon Aug 12, 2002 2:13 am
Posts: 122
Location: Right behind you!!!
Ohh that is hex... I use it all the time with in my server.... just never knew what it was called... Thanks though.

_________________
People ask me why I do this. Why I write such gross stuff. I tell them I have the heart of a small boy... and I keep it in a jar on my desk.
~Stephen King


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

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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