News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

Rivers for pak128

Started by Fabio, January 28, 2009, 10:43:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fabio

Quote from: fabio on January 27, 2009, 03:30:46 PM
Rivers for PAK 128 are READY!!!









They are new channel named river.
ATM i disabled the icon, so that they are used only when you generate a new map (ver. 101.1-2266 28/01/09 or newer); yet with no icon the player can't build his own river, but only canals. If possible, it would be nice to have its icon for Public Services, as it happens with cityroads.
Max speed and max weight are trivial and can be adjusted.

Here are the sources:
[ obsolete - removed ]




sojo

Quote from: fabio on January 28, 2009, 10:43:39 AM
yet with no icon the player can't build his own river, but only canals.
At the moment, there is a problem. If you delete the crossing, the first remove is for the river. So you can not build the river, only a channel.
"English is a easy language. But not for me." ;) sojo

follow simutrans_de on Twitter
- A home for Simutrans (in german)

Roads

Looking great!  Many thanks to all who are working on it.  If possible, it would be good if the names were posted.  They deserve recognition!


DirrrtyDirk

  
***** PAK128 Dev Team - semi-retired*****

VS


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

whoami-test

Quote from: sojo on January 28, 2009, 10:57:27 AM
If you delete the crossing, the first remove is for the river.
I assume that this needs to be changed in the program. Would you mind opening a bug report, or do you want this post to be moved there? Canals+rivers should be removed last, due to their high cost, and the low probability of an alternative route.

Actually, IMO rivers shouldn't be deletable tile by tile in their middle, because the water needs to flow somewhere.

EDIT: stupid me used the wrong account.

IgorEliezer

#7
Quote from: whoami-test on January 28, 2009, 06:00:58 PMActually, IMO rivers shouldn't be deletable tile by tile in their middle, because the water needs to flow somewhere.

I think rivers could be deletable tile by tile in their middle only if you have build an alternative way for its course first. Also, if a river crosses a city, you will want to "change" the river course.

EDIT: topic name changed... and, seems we have a problem: the discussion about river development has split up into 3 topics... :(

Please, keep the discussion here on graphic approach.

DirrrtyDirk

Quote from: IgorTekton on January 28, 2009, 06:33:19 PM
the discussion about river development has split up into 3 topics... :(

And that's only here... some of it is duplicated in the German forum as well... talk about keeping track of this whole topic  ???
  
***** PAK128 Dev Team - semi-retired*****

VS

#9
Since it's now possible to have multiple types of river for different sizes, could you please try to make some more? :)

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Fabio

Sure, i will! but please tell me how should i code them in dats (i need te test them!!!)

sojo

At simuconf.tab:

river_type[x]=name

x=0...9 the highest is the smallest river. Will be 2 river to 1 so will be used the next x. And so one.

For rivers is max speed 0.

This has prissi written in the german forum. I hope I have it translated corectly.

Edit: My english is bad :(
"English is a easy language. But not for me." ;) sojo

follow simutrans_de on Twitter
- A home for Simutrans (in german)

wernieman

Or look at the PAK64 SVN. I think prissy code some river....

Or if you have some grafik, I could look of I could write the dat and pak it for you ...

@sojo:
My english is baaaaaaad tooooooooo  >:(
I hope you understand my English

Fabio

Quote from: wernieman on January 30, 2009, 10:30:31 AM
Or look at the PAK64 SVN. I think prissy code some river....

I have access only to pak 128 svn... can you provide me with a .dat file?

vilvoh

The SVN is public... you can access to it through Simutrans SF.net website: http://simutrans.svn.sourceforge.net/


Escala Real...a blog about Simutrans in Spanish...

Fabio

stupid me, i just realised this now...

anyway, thanks!!!

whoami

Quote from: sojo on January 30, 2009, 09:43:30 AM
For rivers is max speed 0.
Apparently, this is not required (pak64 waterways.dat), but by this, a river can be coded to be unusable by ships.

VS

Well, the way you made the first river was just what it needed. Now there is possibility to have more types, so it might be good to have more of them with varying sizes. The only requirements  for "rivers" (and not really enforced) are:
1) water waytype obviously
2) player can't build (probably better)
3) added in simuconf.tab as a river

I updated 128 to match this specification and added your river. If you update your wc (working copy of svn), it should be there... also check out the pak64 repo, as suggested, it uses two river sizes.

One thing that I wanted to tell you about your first river was, the end (start?) tile does not have to be covered completely with sand or what it is. Oh and one more. It is straight, straight, straight... Natural foramtions are all but that. For the largest river size it is fine, but smaller ones should have a bit more jagged edges, so that they don't look as abandoned canals.

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Fabio

thank you for your suggestion, i started working exactly the way you told me now...
i hope i'll manage to finish it next week (i'm a bit caught these days, but i'm working on it)

VS

Don't hurry, I prefer quality. Take as long as you need :)

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

IgorEliezer

Quote from: VS on January 30, 2009, 05:55:05 PM
2) player can't build (probably better)

If a river crosses through a city and I want to change its course. How could I do it? ;D

VS

#21
As a public service... Frank enabled their icons and made them special item (system_type=255) and I just now changed menuconf to show them in editor toolbar for PA.

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

wernieman

I don't want to make you angry but ....

Have you the river next week?
I hope you understand my English

hApo

Rivers...
And what about the lakes or waterfalls?

Fabio

The work is almost done, i want to test them better.

Lighter water is for streams (not navigable), darker (= canals and sea) for navigable rivers.







TODO list:
- some ice for winter images
- some shadows
- small details at stream source (maybe also in rapids?)


gerw


VS

Excellent!

/jumps on bandwagon

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Combuijs

Bob Marley: No woman, no cry

Programmer: No user, no bugs



jamespetts

I love the streams! Very nice. Any possibility of slightly reducing the contrast between streams and rivers to produce a smoother transition?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Ashley

Suggestion - Add white water/flowing animation (not sure if this is possible for ways nowadays) for the slope bits.

Otherwise this looks very nice :)
Use Firefox? Interested in IPv6? Try SixOrNot the IPv6 status indicator for Firefox.
Why not try playing Simutrans online? See the Game Servers board for details.

VS

Oh, one idea (perhaps for after this is done) - it might be possible to add some stuff in turns where is enough empty space. Like reed or such... putting that on straight sections is not good because of repetitions. But that is just cherry on top :) For now, thee streams absolutely rock as they are.

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Fabio

Thank you all, guys!

Quote from: jamespetts on February 09, 2009, 02:51:20 PM
Any possibility of slightly reducing the contrast between streams and rivers to produce a smoother transition?
I could, painting the streams lighter than rivers - yet LESS light than they are now

Quote from: Timothy on February 09, 2009, 02:55:59 PM
Suggestion - Add white water/flowing animation (not sure if this is possible for ways nowadays) for the slope bits.
I would put animations for ALL, if it were possible...

Quote from: VS on February 09, 2009, 03:00:36 PM
it might be possible to add some stuff in turns where is enough empty space. Like reed or such...
I'll look into something like this...

Fabio

#32
There are 5 types of river: 2 streams and 3 navigable rivers.
I fixed the winter images and the source.
I smoothed the colour difference between streams and rivers and i smoothed the edges of rivers' intersections.
I didn't add reeds or bushes as intended: i wasn't pleased with the outcome.

Here are the sources:
river_2_0_src.zip

and here the paks to test:
river_2_0_pak.zip NEW

Some screenshots:






Christiansen

Not Found

The requested URL /public/simutrans/way.river.pak was not found on this server.
Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.8b DAV/2 PHP/5.1.2 Server at gonella.eu Port 80

this write

Fabio


prissi

Very nice. WHy no completely frozen in winter for the smallest?

(I wish somebody would make nice rivers like those for pak64 ... )

wernieman

Could we put it in the official PAK128?
I hope you understand my English

vilvoh

IMHO, some of them are too sinuous, with a lot of curves, specially narrow ones (see last three images). However, the frozen ones are simply cool...I'll take a look at the sources to see if I can do some tests for a possible pak64 version. Are they animated?

Escala Real...a blog about Simutrans in Spanish...

Fabio

Thank you all

Quote from: prissi on February 12, 2009, 03:28:23 PM
WHy no completely frozen in winter for the smallest?
This was my first choice, but they almost disappeared and i was unpleased. But it would be very easy to make them freeze, if requested ;)

Quote from: vilvoh on February 12, 2009, 03:44:39 PM
IMHO, some of them are too sinuous, with a lot of curves, specially narrow ones
streams are intended to be like this. they are much better when they don't go in a straight line, though...

Quote from: vilvoh on February 12, 2009, 03:44:39 PMAre they animated?
no is it possible to make animated ways? How? i would be VERY interested...

Quote from: vilvoh on February 12, 2009, 03:44:39 PM
I'll take a look at the sources to see if I can do some tests for a possible pak64 version.
Would you like the GIMP source as well? it's multilayer, it could help you...

Quote from: wernieman on February 12, 2009, 03:32:26 PM
Could we put it in the official PAK128?
This is what i hope, ihihihihihihih 8)

vilvoh

Quote from: fabio on February 12, 2009, 04:13:16 PM
streams are intended to be like this. they are much better when they don't go in a straight line, though...

Well, I'm not telling they must be straight, but less curved. Sometimes look like blue skinny snakes.. :)

Quote from: fabio on February 12, 2009, 04:13:16 PM
no is it possible to make animated ways? How? i would be VERY interested...

...I didn't know they were coded as ways. In that case, I'm afraid it's not possible....yet.

Quote from: fabio on February 12, 2009, 04:13:16 PM
Would you like the GIMP source as well? it's multilayer, it could help you...

As you prefer, could you please upload them in graphics.simutrans.com?

Escala Real...a blog about Simutrans in Spanish...

zengrath

This is very cool, good job. I just started playing again and downloaded latest nightly and the rivers was first thing i noticed.

Very cool :)

sojo

Can you send me the GIMP source for pak96.comic too?
"English is a easy language. But not for me." ;) sojo

follow simutrans_de on Twitter
- A home for Simutrans (in german)

Fabio

#42
Quote from: vilvoh on February 12, 2009, 04:40:14 PM
As you prefer, could you please upload them in graphics.simutrans.com?
Quote from: sojo on February 12, 2009, 07:02:26 PM
Can you send me the GIMP source for pak96.comic too?

Here you have!
River.zip ~1MB UPDATED

layers select river and select back use simple colours (blue and grey), you can scale them and use whatever texture you like better.
there is also a shadows layer. If you use them, please, credit me.
(I forgot to credit MHz for pak64 rivers, as i used part of its image for the sources, and the author of groundobjects, from where i took the rocks used in rapids).
Enjoy it!

(the link will work when upload is ended...)

jamespetts

Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

PatrickN

Oh...my...goodness!

I am looking forward to my interest in simutrans returning this summer. :)

Painter, in and out of retirement.

sojo

Thank you. I will it use as a template. This grafics are wonderfull.

But next time you can make a zip. That will be only 1MB. So you have not so a big upload.
"English is a easy language. But not for me." ;) sojo

follow simutrans_de on Twitter
- A home for Simutrans (in german)

Dwachs

good work ! I like these rivers.
Parsley, sage, rosemary, and maggikraut.

Frank

Quote from: fabio on February 12, 2009, 12:10:34 PM
...
and here the paks to test:
river_2_0_src.zip
...

oh, paks for self create  ;)

pleace changed to pak file zip

Fabio

Quote from: sojo on February 12, 2009, 08:06:41 PM
But next time you can make a zip. That will be only 1MB. So you have not so a big upload.
Quote from: Frank on February 12, 2009, 08:45:31 PM
pleace changed to pak file zip

Done both, i'm sorry for the inconvenience.

And thank you all for your feedback

VS

Ok, they are in next nightly!

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Mac_#71

I apologize, but I downloaded the pak for the rivers and I put them in / pak128, I edited simuconf.tab but does not create the rivers!
I have sim-wingdi 102 r2325, help!
La supposizione è la madre di TUUUTTE le stronzate...
Ricordatevelo!

The assumption is the mother of ALL the **** ...
Remember!

Fabio

nevermind the download, the latest nighlies have them by default

Silver

#52
I do not see any the river and i got the latest update of nightly

# now river stuff
# first river type (should be defined in pak dependent file)
# The highest number is the smallest. A river with max_speed==0 is not navigavable by ships.
#river_type[0] = river
#river_type[1] = small_river
#river_type[2] = just_the source

# river number (16 gives a few nicely branched rivers)
#river_number = 16

# min length
#river_min_length = 16

# max length
#river_max_length = 320


Any error in the code?
Why not work?


I try this but not working!
# now river stuff
# first river type (should be defined in pak dependent file)
# The highest number is the smallest. A river with max_speed==0 is not navigavable by ships.
river_type[0] = river
river_type[1] = small_river
river_type[2] = just_the source

# river number (16 gives a few nicely branched rivers)
river_number = 16

# min length
river_min_length = 16

# max length
river_max_length = 320

VS

"latest" nightly of pak is now 458, same version where is the last change making rivers really work. I downloaded it from the page and used in game. Works nice.

Maybe you are missing also program nightly and using 101.0 ?

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Silver

#54
I use this program and if the 101.0 but does not work

I do not see the river

wernieman

Use a newer version than the 101. See at the nightly-Page
I hope you understand my English

Silver

o.k.
I download this:

Windows/SDL Version: 102-2325
with the PAK128 Version: 458

O.K.  :award: work!!!!