Ryandor.com

Forums
It is currently Sun Jul 06, 2025 12:45 pm

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Beaches
PostPosted: Tue Oct 21, 2003 9:39 am 
Offline
Young
Young

Joined: Fri Jun 14, 2002 11:02 am
Posts: 14
Location: Phoenix
I've got another question, does dragon do beaches? Oo
Sand at the same elevation as water, I was expecting a beach, guess I was wrong, how do I go about that?

_________________
http://www.runuo.com/


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 21, 2003 10:07 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Sun Jun 02, 2002 8:01 pm
Posts: 1473
Location: CO, USA
Beaches are basically the same as desert as far the map goes. What makes a beach is what on it (statics-wise). I thought this script was included in the distro, but apparently not (that will be fixed in the upcoming next release)

Create a file beach.txt with the following
Code:
// -----------------------------------------------------------------------------------------
// Syntax :
// [Frqequency] [ItemGroup1] [ItemGroup2] [ItemGroup3] ...
//
// Itemgroup = [Item(hex)] [ZLevel(dec)] [Color(hex)] [Xmovement(dec)] [Ymovement(dec)]
// -----------------------------------------------------------------------------------------
//Original Dragon scripts modified by StormCrow 5-23-01
//Here is the beach file for all you beachbums out there. No babes in bikinis unfortunately, you'll have to find your own.

// Beach

//Shells
0040 0fc4 0000 0000 0000 0000
0040 0fc5 0000 0000 0000 0000
0040 0fc6 0000 0000 0000 0000
0040 0fc7 0000 0000 0000 0000
0040 0fc8 0000 0000 0000 0000
0040 0fc9 0000 0000 0000 0000
0040 0fca 0000 0000 0000 0000
0040 0fcb 0000 0000 0000 0000
0040 0fcc 0000 0000 0000 0000

//Fishing net
0010 0dca 0000 0000 0000 0000

// Coconut palm
0040 0c95 0000 0000 0000 0000

// Date palm
0001 0c96 0000 0000 0000 0000

// Small palm
0010 0c99 0000 0000 0000 0000
0010 0c9a 0000 0000 0000 0000
0010 0c9b 0000 0000 0000 0000
0010 0c9c 0000 0000 0000 0000
0010 0c9d 0000 0000 0000 0000

// Ponytail palm
0010 0ca6 0000 0000 0000 0000

// Grasses
0010 0d32 0000 0000 0000 0000
0010 0d33 0000 0000 0000 0000

// Brambles
0001 0d3f 0000 0000 0000 0000
0001 0d40 0000 0000 0000 0000

// Rocks
0010 1363 0000 0000 0000 0000
0010 1364 0000 0000 0000 0000
0010 1365 0000 0000 0000 0000
0010 1366 0000 0000 0000 0000
0010 1367 0000 0000 0000 0000
0010 1368 0000 0000 0000 0000
0010 1369 0000 0000 0000 0000
0010 136a 0000 0000 0000 0000
0010 136b 0000 0000 0000 0000
0010 136c 0000 0000 0000 0000
0010 136d 0000 0000 0000 0000
//0010 1771 0000 0000 0000 0000
//0005 1772 0000 0000 0000 0000
//0020 1773 0000 0000 0000 0000
//0020 1774 0000 0000 0000 0000
//0010 1775 0000 0000 0000 0000
//0005 1776 0000 0000 0000 0000
//0020 1777 0000 0000 0000 0000
//0020 1778 0000 0000 0000 0000
//0010 1779 0000 0000 0000 0000
//0005 177a 0000 0000 0000 0000
//0020 177b 0000 0000 0000 0000
//0020 177c 0000 0000 0000 0000

//Flowers
0004 0d2f 0000 0000 0000 0000

//Century Plant
0020 0d30 0000 0000 0000 0000
0020 0d31 0000 0000 0000 0000

//Grass
0010 0d32 0000 0000 0000 0000


Place this file into /dragon/scripts/items
Edit /dragon/scritps/items.txt to include this line:
Code:
05 0010 0000 0000 6143 4095 beach.txt

Leave the 05, this is the group that Dragon looks for.
0010 is the ditribution of items, roughly a percentage of tiles covered in the form of 001.0%, adjust as needed or adjust individual item in the beach.txt (first number, rough %)

0000 0000 6143 4095
The x-min y-min x-max y-max of the area on the map you want to set as beach.

If you have additional areas, add a line, copy the beach.txt to beach2.txt and use that file (each txt file must be unique for each line)

Let me know there's any other questions regarding this.

-Ryandor


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 21, 2003 12:13 pm 
Offline
Young
Young

Joined: Fri Jun 14, 2002 11:02 am
Posts: 14
Location: Phoenix
Tried it and I get Beach to Cliff to Water.

_________________
http://www.runuo.com/


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 21, 2003 6:16 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Sun Jun 02, 2002 8:01 pm
Posts: 1473
Location: CO, USA
I guess I misunderstood the question. You were refering to the actual translation.

Ok, then in that case, there's not an existing script in place for that. Howevr, it can be created. I actually thought it was in there, but looking, it doesn't appear so. In the upcoming mod there will be one.

-Ryandor


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 21, 2003 6:59 pm 
Offline
Dread Pirate
Dread Pirate
User avatar

Joined: Sun Oct 12, 2003 11:28 pm
Posts: 759
Location: Denver, CO
I am interested aswell, how bout a little tutorial ry? Cause you sooo smat

lol :wink:

_________________
http://ax-n.net Admin X's News and Resources


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 21, 2003 7:16 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Sun Jun 02, 2002 8:01 pm
Posts: 1473
Location: CO, USA
See the news I'm about to post.
-Ryandor


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 21, 2003 10:20 pm 
Offline
Dread Pirate
Dread Pirate
User avatar

Joined: Sun Oct 12, 2003 11:28 pm
Posts: 759
Location: Denver, CO
ok got the news, just one clerification thing, how does dragon know the difference between desert and beach is there a new special color i should use in dragon to paint beach tiles? For reference i am using mod8

_________________
http://ax-n.net Admin X's News and Resources


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 21, 2003 11:54 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Sun Jun 02, 2002 8:01 pm
Posts: 1473
Location: CO, USA
Creating two colors would be a waste of colors in the colortable.
There's going to be two scripts for the map transitions.
sand2water-dark (like the existing cliff type)
sand2water-light (like the beach type)

There could be a third type possible using the tiles from 0x1b9 - 0x1d1

You would enable/disable the scripts you want in the betweentrans.txt script.

For the statics, it would be similiar, you'd enable/disable the scripts you want from the items.txt script.

After the mod 10 is complete, the map making tutorial will be expanded on how to customize the script to do just that.

-Ryandor


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 23, 2003 9:25 pm 
Offline
Dread Pirate
Dread Pirate
User avatar

Joined: Sun Oct 12, 2003 11:28 pm
Posts: 759
Location: Denver, CO
awsome thanks ry

_________________
http://ax-n.net Admin X's News and Resources


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 30, 2003 1:52 am 
Offline
Slayer of Fools
Slayer of Fools
User avatar

Joined: Tue Jul 02, 2002 4:54 pm
Posts: 1289
See what I said here:
http://www.ryandor.com/forum/viewtopic.php?t=1050

Doesn't mean it can't be done. Just means it's non-trivial.

_________________
This space for rent.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 05, 2003 9:28 pm 
Offline
Peanut Gallery
Peanut Gallery
User avatar

Joined: Sun Jun 02, 2002 8:53 pm
Posts: 1864
Location: Hayward, CA
I wonder what happens if you have both desert and beach on the same map... or both types of transitions?

_________________
Blog: http://www.sydius.org
Web: http://www.sydius.net


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 06, 2003 11:32 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Sun Jun 02, 2002 8:01 pm
Posts: 1473
Location: CO, USA
Over the past few days, I've been very sick, but I have played around with the beaches coast a little. I'm hoping with the one additional color for beach, combined with the "fake" transition for it gett decent beaches shouldn't be too difficult. I'm still tweaking it for appearance at this point.

-Ryandor


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 06, 2003 12:39 pm 
Offline
Master
Master

Joined: Thu Oct 09, 2003 5:13 pm
Posts: 267
Location: New York City
ty Ryandor, hope you get better soon.

_________________
Image


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

All times are UTC - 7 hours [ DST ]


Who is online

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