News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

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 ?

Frank


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  ???


gauthier

these are dims for stations, not for extensions ...

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!

gauthier


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!

gauthier


gauthier

Can I have a list of smokes and sounds of pak128 please ?

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


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 ?

gauthier


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...

gauthier

QuoteTake a look at http://en.wiki.simutrans.com/index.php/Speed_bonus
ok but it doesn't explains the consequences of the speed bonus.

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 ?

gauthier


Combuijs

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

Programmer: No user, no bugs



gauthier

I don't find "extensive" documentation, I don't want to download sourcefiles of a complete pakset just for a question ... I touhg that the community could help me faster ...

Combuijs

Bob Marley: No woman, no cry

Programmer: No user, no bugs



gauthier

I didn't think that a simple .dat file parameter was so difficult for everyone, but THAAAAANKS for your help.

Isaac Eiland-Hall

Gauthier, I don't think people are withholding information they have any easier access than the methods they've told you. If it was a simple answer not taking any time, it would have taken less time to tell you.

At least, I hope that's not how this community works - and I don't think it is.

Now, granted, someone who asks a lot of easily-answered questions may get told to go read the wiki, but I don't think that's the case here at all.

gauthier

Of course I looked for the answer ! I take most of informations I need on the German wiki but this one wasn't there, that's why I ask if there is a parameter for curiosities which determines if it's built on land, in a city, etc ...
Just a parameter, don't tell me it's too long to explain !

Isaac Eiland-Hall

I didn't say you didn't look for the answer. I was commenting on your comment:

Quote from: gauthier on July 03, 2010, 12:27:46 PM
I didn't think that a simple .dat file parameter was so difficult for everyone, but THAAAAANKS for your help.

This sounds very sarcastic and bitter to my ear. Perhaps I completely misread it.

If it *is* sarcastic, it implies that someone has the information available and was willfully withholding it from you, which I do not think is true.

Perhaps I wasn't clear when I said:

Quote from: Isaac.Eiland-Hall on July 03, 2010, 01:20:56 PMNow, granted, someone who asks a lot of easily-answered questions may get told to go read the wiki, but I don't think that's the case here at all.

But what I meant was:

In some cases, people with questions that have simple answers are not given the answer, but rather sent off to find the answer for themselves. I do not believe that is what has happened here. I do not believe anyone has a simple answer that they are not giving you.

gauthier

QuoteI do not believe anyone has a simple answer that they are not giving you.

no of course nobody here knows how to build curiosity  :-X

all right VS sent me .dat files of pak128 curiosities (thanks to him).

DirrrtyDirk

Quote from: gauthier on July 03, 2010, 02:47:36 PM
no of course nobody here knows how to build curiosity  :-X

I'd say that, once again sound like an unnecessary bitter / sarcastic comment. I'd say quite a few people don't know it from memory but have to go and look it up themselves (be it in the wiki or existing dat files or whatever). And to be honest, I'm usually not in the mood to go and do this "work" for someone who has been around here long enough to do it himself.
  
***** PAK128 Dev Team - semi-retired*****

Isaac Eiland-Hall

Well, I'd started a discussion in the Devotee section to discuss precisely this...

Gauthier, many of us have noticed that you seem to occasionally post very sarcastic comments.

The vast majority of your posts are fine, and you are a valued member of this forum. But I'm hoping this feedback will help you in future.

gauthier

I post sarcastic comments when it's necessary for me.

I already spent a lot of time on wikis, if I ask a question here it's because I didn't find it in the wiki, no use to tell me two times to go and see in the wiki. I don't find nice from you that when someone has a simple question, you say him to go and find the answer himself, it's really not correct. I remember this kind of behaviour for the next time : when I have a question I won't bother you.

I think you could at least agree that you should answer me, sorry for sarcastic posts if you took them badly, it's not mean but just a way to say my disapointing seeing this.

Isaac Eiland-Hall

Please consider another method to express your discontent, then. It's not a personal problem for me, but one that garnered discussion among a number of people.

We want to keep this forum very friendly, and what I'm telling you is that the sarcasm you have expressed upon occasion has been found by multiple people to be problematic. Only barely enough of a problem to speak up now; but enough of a problem to speak up now, if you can see both sides of that.

VS

Quote from: gauthier on July 03, 2010, 08:27:58 PM
you should answer me

Would you appreciate answer "sorry, go find it yourself" ? You got that and didn't like it. So what kind of answer should be provided? And why is it that it "should" ?

What you are saying is that nobody cared for you. Unfortunately... nobody ever promised that. Wonder why? Since you want an answer, here you got a sample one for your email.

QuoteDo you know what is the metric of the parameter "animation_time" is the time of one picture or for the whole animation ?
Answer: milliseconds.

I did not know, so I opened wiki and typed that in. Voila. Do you feel that typing address and search is what we should do for you? Perhaps now you can understand why nobody wants to answer.

PS: Do you like my sarcastic comment? :P I don't...

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

Sarcasm may be dangerous, mainly because it's based on voice tone and that's something you can notice in written language. So, as Isaac said, you must be carefull when using it because that can lead to misunderstandings.

Going back to the topic, you are asking about a lot of things that are available at several Simutrans community sources. I guess you have enough experience here to know where do you have to search, but even if you don't know, please don't ask people to do what you can do with a little effort. We can suggest you to search along the wiki, but should be you who find the right page.

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

gauthier

ok sorry for sarcasm.

and for the 123th time I searched on the wiki but I don't know all of it...

I won't keep discussing on it, it's endless.