News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

some recap on somethings about addon making ...

Started by gauthier, May 23, 2010, 04:46:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gauthier

1) I remembered a patch of tunnel merging when built one next to each over (don't know if it was a dream or if it's real ... don't remember very well). Is it implemented ? If yes how to use it (dat files of tunnels) ?

2) How to use 8 and 16 layouts station's extensions ?

3) How to write the dat file of a good ?

4) How to write parameters for an industry ?

5) Dat of a way object ?

6) How to make a crossing ?

7) How to make a townhall ?

8) How to make powerlines ?

All for the moment ...

vilvoh

Most of the information is available at the wiki (object parameters article), and you have examples of almost all at the SVN (dat files are common to all paksets so you can use ones from other paksets), just do a little search in both places.

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

jonasbb

Look in the wiki: http://simutrans-germany.com/wiki/wiki/tiki-index.php?page=en_dat_Files&machine_translate_to_lang=&no_bl=y

The tunnel patch is included, but you need makeobj51 (not released) to create such a tunnel. The definition of broad tunnel is in the wiki.

The Hood

For the stations, pak128.Britain has examples of 8 and 16 rotations - take a look at the sources on sourceforge for a template (or for any others of these except for tunnels).

gauthier

QuoteFor the stations
I talk about station extensions, I don't know very well sourceforge, could you give me a link ?


The Hood

I thought for extensions you could only have 4 rotations, but platforms can have more.  Maybe I'm wrong though...

gauthier

QuoteI thought for extensions you could only have 4 rotations, but platforms can have more.  Maybe I'm wrong though...

Someone can confirm ? I really don't know  ???



prissi

There are no extensions with more than four views. The problem is, that for an extension it is not easy to say, whether it is in north-east or south west as it contains no rails. I had also sometimes a code in there, that just tried to mimic the code of any adjacent building, but this was removed, as it caused errors in more common situations.

A situation like blocks could indeed get to use 8 (or if directional even 16) layouts. But this is not implemented.

gauthier

ok thanks ;)
(the orientation selection for extensions should be great ;)  )

Frank

Quote from: gauthier on May 24, 2010, 05:55:22 PM
these are dims for stations, not for extensions ...

extension is building

in the table 'Number of rotations for buildings '

VS

Quote from: gauthier on May 24, 2010, 06:31:58 PM
(the orientation selection for extensions should be great ;)  )
Is that what you get with ctrl + icon click?

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!


VS

Thanks should go to z9999 and prissi who actually made this!

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!



VS

Smokes:

industry_smoke
Steam
Steam2
Steam_ship
Diesel
Diesel_black
Diesel_small

Sounds:

aircraft-jet_stop.wav
boing.wav
cash.wav
click.wav
dock.wav
engine-start-diesel-0.wav
engine-start-diesel-1.wav
engine-start-diesel_d.wav
engine-start-petrol-0.wav
engine-start-petrol-1.wav
engine-start-petrol-2.wav
explosion.wav
gavel.wav
horsegallop2.wav
jackhammer.wav
ship-horn_a.wav
ship-horn_b.wav
train-horn-diesel-0.wav
train-horn-electric-0.wav
train-horn-steam-0.wav
train-horn-steam-1.wav

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!


gauthier

#20
what is a ground object ?

EDIT + : what are the default DistributionWeight  for citycars, monuments, etc ... ?

EDIT ++ : Is where a way to force a tunnel to use the graphics of a way in underground ?

EDIT +++ : what's exactly the speedbonus ?


vilvoh

Let's try it...

Quote from: gauthier on June 11, 2010, 04:45:44 PM
what is a ground object ?

It's an object that you as player, can't interact with. They can be static (rocks, small pounds, watch towers) or dinamic (clouds, ballons, bunches of birds, flocks of sheep) Actually, they're idle objects that provide a realism touch to maps.

Quote from: gauthier on June 11, 2010, 04:45:44 PM
EDIT + : what are the default DistributionWeight  for citycars, monuments, etc ... ?

The DistributionWeight attribute is not available for all kinds of objects, for example monuments, but I think the default value might depend on the object type.

Quote from: gauthier on June 11, 2010, 04:45:44 PM
EDIT ++ : Is where a way to force a tunnel to use the graphics of a way in underground ?

As far as I know, it's not possible yet but I think there's an extension request about that issue somewhere.

Quote from: gauthier on June 11, 2010, 04:45:44 PM
EDIT +++ : what's exactly the speedbonus ?

Take a look at http://en.wiki.simutrans.com/index.php/Speed_bonus

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


vilvoh

QuoteThe speed bonus in Simutrans is used to reward the use of high-speed vehicles for passengers, mail and products that need to be transported fast.

It's a reward for using high-speed vehicles, at the expense of slower ones. If you want to earn more money transporting goods, try to use high speed vehicles with pathways where they can overpass the speedbonus speed limit.

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

VS

Speed bonus modifies income according to speed. It is important source of problems when balancing pakset... and maybe also important source of fun for player.

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!

Dwachs

Quote from: gauthier on June 11, 2010, 04:45:44 PM
EDIT ++ : Is where a way to force a tunnel to use the graphics of a way in underground ?
use

way=steel_track

the 'way' parameter is the name of an existing way-object (ie way.*.pak). The graphics of the way are then used underground.
Parsley, sage, rosemary, and maggikraut.

gauthier

thanks for the tunnel way.

for the speed bonus : is there a mathematic calculation ?

gauthier

Does someone know the average distributionweight of citycars and pedestrians in pak128 ?

VS

DistributionWeight is typically 1-4 in these cases. Didn't check industries.

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!

vilvoh

@gauthier: In case you want to get stats from pak128, you can use JimsViewer to extract the dat attributes from the pak files. It allows you to filter the results too.

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


gauthier

#32
Another question :

When creating a curiosity (type=cur) how to create a land curiosity or a city curiosity ?


Combuijs

See the wiki with very extensive documentation, or else the pak64 sources.
Bob Marley: No woman, no cry

Programmer: No user, no bugs