Ryandor.com

Forums
It is currently Sat Jul 05, 2025 1:44 am

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Trees and forests
PostPosted: Sat Oct 19, 2002 7:39 am 
Offline
Newb
Newb

Joined: Sat Oct 19, 2002 7:28 am
Posts: 1
Well i have made a map. The land mass is about tree times bigger than in the normal map. Same thing about the forests, and that is my problem. Well, i made statics, everything went well but there is little ammount of trees. About 3-4 for a screen. I tried to add more with dragonsp (checked "no" in "clear current statics"). Program made his calculations, statics gone gigger for about 2mb but in the uo nothing changed.
PLEASE! Tell my i don`t have to add them manualy :D


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 19, 2002 12:56 pm 
Offline
Apprentice
Apprentice
User avatar

Joined: Sat Oct 19, 2002 12:50 pm
Posts: 21
Location: Czech Republic, Prague
I have a same problem :( Ryandor advised me to changed items script files, but it doesn't look ... ehm ... like in original map. I changed amount of trees, but it put them very illogical (2 or 3 pieces of trees in 2 neighbouring tiles, then big blank place, ....)
I am going to try use item placer, but it doesn't work for me in win 2k now.

(Sorry for my English)

Hamenn


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 21, 2002 8:08 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Sun Jun 02, 2002 8:01 pm
Posts: 1473
Location: CO, USA
For changing the distribution of trees, you'll have to edit the files in the /Dragon/scripts/items folder. Here's the basics using a line out of the forest.txt file:

Code:
//Tree + green leaves
0001 0cd3 0000 0000 0000 0000 0cd4 0000 0000 0000 0000
 |     |    |    |    |    |    |    |    |    |    |
 |   item  Alt Color (X)  (Y) item  Alt Color (X)  (Y)
 |    to   (z)                 to   (z)               
 |   place                    place                   
 |
 |   {-----first item ------} {-----second item------}
 |     
 +--- Frequency (how often to place as a precentance: xxx.x%)

In this example, 0cd3 is the tree and 0cd4 is the canopy (leaves)

The frequency is what you need to play with to get more trees. increase this value a little at a time until you get the amount of trees that you want. You'll have to rerun Dragon each time you edit this, as it's calculated when it's run.

The X, Y, and Z are relative values from the point where Dragon calculates. For example:

Code:
//fallen log N/S
0001 0cf3 0000 0000 0000 0000 0cf4 0000 0000 0000 0001


The 0001 on the end tells Dragon to calucate the second item (in this case the other half of the log) to the south by one tile.

-Ryandor


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

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