Ryandor.com

Forums
It is currently Mon Jul 07, 2025 5:25 pm

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed May 21, 2003 10:05 am 
Offline
Newb
Newb

Joined: Wed May 21, 2003 6:25 am
Posts: 1
I am freezing with DragonSP. I want to freeze stuff on cobblestone but where put can i put my items in the Statics?


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 21, 2003 2:03 pm 
Offline
Not your daddy
Not your daddy

Joined: Mon Nov 18, 2002 2:18 am
Posts: 1224
Location: Oregon State
If you are wanting Dragon to randomly place items on Cobbletone.. like say, how it does for grass, there are a few adjustments, and additions you will need to make.

1.(Dragon\Scripts\groups.txt )
First, note that cobblestone is Group 0a

2.(Dragon\Scripts\items)
Create a new file there, called CobbleStone.txt
this is where you will place the items that you want Dragon to use, when it places things with DragonSP.

For reference, take a look at the Grass.txt once...
Code:
// Peach Tree with green leaves
0001 0d9c 0000 0000 0000 0000 0d9d 0000 0000 0000 0000


0001 the frequency of that item, to be placed.
0d9c the Item ID (hex) number that will be placed.
the four 0000 groups are as follow, in order from left to right:
Z level (dec) adjustment
Set Hue (hex) to the item
X adjustment (hex)
Y adjustment (hex)

Finally, you see it starts again with 0d9d
That is a new Item, that will be placed in that same spot. You can create many items simply by continuing on that one line, and the items will stack on top of each other... That is what the X, Y, and Z Adjustment (hex) spaces are for.. you can create Multi item item's with Dragon ;)

Just follow these for an example of how to make your new Cobblestone.txt file, and add all the items you want to it.

3.
Finally, you will need to add the new CobbleStone Group to Dragon\Scripts\items.txt
example...
Code:
00 0020 0000 0000 6143 4095 grass.txt
01 0130 0000 0000 6143 4095 forest.txt
05 0015 0000 0000 6143 4095 desert.txt
08 0170 0000 0000 6143 4095 jungle.txt
18 0030 0000 0000 6143 4095 swamp.txt

you want to add yours in next... following these

Code:
0A 0010 0000 0000 6143 4095 CobbleStone.txt


0A is the Cobblestone Group number (as stated above)
0010 is the frequency again (you will need to adjust this a few times)
0000 0000 6143 4095 that is the area of the map Dragon will look for cobblestones, to actually place the items you added.

If you only want DragonSP to place items on (for example) one half of your map, but not the other, even though you have cobblestone on both halves, set that Number to 0000 0000 3021 2043 and you get that half of the map only searched, and placed.

When you run Dragon next time, more specificly, DragonSP.. you will now see Cobblestone.txt avaliable to use in the choice's.

Good luck with that.

_________________
Forget what you know, know what you forget.


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

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 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