Ryandor.com

Forums
It is currently Sun Jul 06, 2025 3:47 am

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Snow Forests
PostPosted: Sat May 08, 2004 11:19 am 
Offline
The Defenestrator
The Defenestrator
User avatar

Joined: Mon Oct 27, 2003 5:37 am
Posts: 245
Location: Netherlands
My question is aimed for the dragon scripts, which I don't get at all. I've tried looking into them today when trying to make a forest in the snow lands. When trying to build this I thought it would be easiest to assign a new color to these special snowlands. The standard snow lands will then only carry some rocks or a very low amount of trees. The new assigned color will spread forests around the snow lands, just like forest does in grass.

A similiar thing Im trying to build is specially assigned oasis in deserts.

Now, my question is how. I'm not the brightest in this. When looking in maptrans.txt I don't see where I have to place the color code (if I have to do that at all). It's just very confusing to me.

I wonder if there's any sort of tutorial on this (I've searched, but not found any, unfortunately. Maybe again because I'm not the brightest :p)

_________________
Wands don't kill people, wizards kill people


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 08, 2004 5:47 pm 
Offline
Slayer of Fools
Slayer of Fools
User avatar

Joined: Tue Jul 02, 2002 4:54 pm
Posts: 1289
Ok, let's take for example an excerpt from the mod10 maptrans.txt for 1.5 executeable (1.3 versions are different).
Code:
// (07) Snow
85 07 000 011a 011b 011c 011d
86 07 002 011a 011b 011c 011d

85 means color 85...that means row 8 (and first row is 0), column 5 (again first column is 0)
07 means group 07, then we have 000 for altitude, after that we have 011a-011d, those of course are snow tiles to be placed at random.
The next line is all the same, but altitude of 2.
Now let's say you changed that line to read:
Code:
86 28 000 011a 011b 011c 011d

That would be group 28, which would be your new group, snow at alt 0.
Granted you aren't going to want to cut that particular line but you'll have to find something to sacrifice. Mod11 I've got a little more flexibility planned. Now if you use the 1.362 exe your maptrans will be the same except for the group, group isn't included there but in it's own groups.txt file.
Next step is items.txt, your going to add something like:
Code:
28 0130 0000 0000 6143 4095 SnowForest.txt

And of course you have to create a snowforest.txt script to place your trees and crap.

I still really don't recommend adding new groups for statics placements without heavy consideration. Most times it is avoidable. For instance your oasis would be easy enough to seperate the jungle in that area with a different items script because the jungle in question is going to be surrounded by desert and not even close to your normal jungles.

Now your snowy forest would be tough because you are going to have it interspersed with your normal snow. My suggestion would be to make it say normal dirt for the forest area floor and then again through items.txt change it up.

Depending what stage you are at with this, I could just whip you up some custom scripts to accomplish this if we spent a little time on it.

_________________
This space for rent.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 09, 2004 3:55 am 
Offline
The Defenestrator
The Defenestrator
User avatar

Joined: Mon Oct 27, 2003 5:37 am
Posts: 245
Location: Netherlands
Thanks, I'm going to try that out and post questions when I have any. This got me a lot further ;)

_________________
Wands don't kill people, wizards kill people


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