The International Simutrans Forum

Community => Simutrans Help Center => Topic started by: gauthier on May 23, 2010, 04:46:28 pm

Title: some recap on somethings about addon making ...
Post by: gauthier on May 23, 2010, 04:46:28 pm
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 ...
Title: Re: some recap on somethings about addon making ...
Post by: vilvoh on May 23, 2010, 04:50:33 pm
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.
Title: Re: some recap on somethings about addon making ...
Post by: jonasbb on May 23, 2010, 04:53:24 pm
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.
Title: Re: some recap on somethings about addon making ...
Post by: The Hood on May 24, 2010, 07:35:56 am
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).
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on May 24, 2010, 09:21:10 am
Quote
For the stations
I talk about station extensions, I don't know very well sourceforge, could you give me a link ?
Title: Re: some recap on somethings about addon making ...
Post by: Frank on May 24, 2010, 09:29:32 am
I talk about station extensions, I don't know very well sourceforge, could you give me a link ?

http://simutrans.svn.sourceforge.net/viewvc/simutrans/ (http://simutrans.svn.sourceforge.net/viewvc/simutrans/)
Title: Re: some recap on somethings about addon making ...
Post by: The Hood on May 24, 2010, 09:38:35 am
I thought for extensions you could only have 4 rotations, but platforms can have more.  Maybe I'm wrong though...
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on May 24, 2010, 05:02:04 pm
Quote
I 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  ???
Title: Re: some recap on somethings about addon making ...
Post by: Frank on May 24, 2010, 05:26:44 pm
Someone can confirm ? I really don't know  ???

the wiki can this

http://simutrans-germany.com/wiki/wiki/tiki-index.php?page=en_BackImage&no_bl=y#Dims (http://simutrans-germany.com/wiki/wiki/tiki-index.php?page=en_BackImage&no_bl=y#Dims)
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on May 24, 2010, 05:55:22 pm
these are dims for stations, not for extensions ...
Title: Re: some recap on somethings about addon making ...
Post by: prissi on May 24, 2010, 06:18:06 pm
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.
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on May 24, 2010, 06:31:58 pm
ok thanks ;)
(the orientation selection for extensions should be great ;)  )
Title: Re: some recap on somethings about addon making ...
Post by: Frank on May 24, 2010, 06:46:45 pm
these are dims for stations, not for extensions ...

extension is building

in the table 'Number of rotations for buildings '
Title: Re: some recap on somethings about addon making ...
Post by: VS on May 24, 2010, 06:51:33 pm
(the orientation selection for extensions should be great ;)  )
Is that what you get with ctrl + icon click?
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on May 24, 2010, 08:50:44 pm
 :o

I DIDN'T SEE IT !!!
thanks a lot  :-*
Title: Re: some recap on somethings about addon making ...
Post by: VS on May 25, 2010, 09:45:35 am
Thanks should go to z9999 and prissi who actually made this!
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on May 25, 2010, 05:22:03 pm
thanks to them auch  ;D
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on June 03, 2010, 08:14:26 pm
Can I have a list of smokes and sounds of pak128 please ?
Title: Re: some recap on somethings about addon making ...
Post by: VS on June 03, 2010, 08:31:23 pm
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
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on June 03, 2010, 08:53:56 pm
thanks a lot ;)
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on June 11, 2010, 04:45:44 pm
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 ?
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on June 17, 2010, 01:14:07 pm
Nobody can answer ?
Title: Re: some recap on somethings about addon making ...
Post by: vilvoh on June 17, 2010, 01:58:15 pm
Let's try it...


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.

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.

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.

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

Take a look at http://en.wiki.simutrans.com/index.php/Speed_bonus
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on June 17, 2010, 02:10:37 pm
Quote
Take a look at http://en.wiki.simutrans.com/index.php/Speed_bonus
ok but it doesn't explains the consequences of the speed bonus.
Title: Re: some recap on somethings about addon making ...
Post by: vilvoh on June 17, 2010, 02:22:27 pm
Quote
The speed bonus in Simutrans is used to reward the use of high-speed vehicles for p****engers, 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 overp**** the speedbonus speed limit.
Title: Re: some recap on somethings about addon making ...
Post by: VS on June 17, 2010, 03:27:39 pm
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.
Title: Re: some recap on somethings about addon making ...
Post by: Dwachs on June 17, 2010, 06:39:59 pm
EDIT ++ : Is where a way to force a tunnel to use the graphics of a way in underground ?
use
Code: [Select]
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.
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on June 18, 2010, 11:31:13 am
thanks for the tunnel way.

for the speed bonus : is there a mathematic calculation ?
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on June 23, 2010, 11:19:51 am
Does someone know the average distributionweight of citycars and pedestrians in pak128 ?
Title: Re: some recap on somethings about addon making ...
Post by: VS on June 23, 2010, 12:04:12 pm
DistributionWeight is typically 1-4 in these cases. Didn't check industries.
Title: Re: some recap on somethings about addon making ...
Post by: vilvoh on June 23, 2010, 12:21:37 pm
@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.
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on June 23, 2010, 01:01:17 pm
thanks ;)
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on June 24, 2010, 03:49:05 pm
Another question :

When creating a curiosity (type=cur) how to create a land curiosity or a city curiosity ?
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on July 02, 2010, 09:57:29 pm
hey nobody can answer me ?  ??? :-[
Title: Re: some recap on somethings about addon making ...
Post by: Combuijs on July 02, 2010, 11:38:11 pm
See the wiki with very extensive documentation, or else the pak64 sources.
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on July 03, 2010, 07:22:00 am
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 ...
Title: Re: some recap on somethings about addon making ...
Post by: Combuijs on July 03, 2010, 10:00:46 am
They can... by delving into the sources.  ;)
Title: Re: some recap on somethings about addon making ...
Post by: 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.
Title: Re: some recap on somethings about addon making ...
Post by: Isaac Eiland-Hall on July 03, 2010, 01:20:56 pm
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.
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on July 03, 2010, 01:48:33 pm
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 !
Title: Re: some recap on somethings about addon making ...
Post by: Isaac Eiland-Hall on July 03, 2010, 02:42:58 pm
I didn't say you didn't look for the answer. I was commenting on your comment:

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:

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.

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.
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on July 03, 2010, 02:47:36 pm
Quote
I 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).
Title: Re: some recap on somethings about addon making ...
Post by: DirrrtyDirk on July 03, 2010, 06:28:00 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.
Title: Re: some recap on somethings about addon making ...
Post by: Isaac Eiland-Hall on July 03, 2010, 07:25:41 pm
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.
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on July 03, 2010, 08:27:58 pm
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.
Title: Re: some recap on somethings about addon making ...
Post by: Isaac Eiland-Hall on July 03, 2010, 09:13:30 pm
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.
Title: Re: some recap on somethings about addon making ...
Post by: VS on July 03, 2010, 09:54:48 pm

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.

Quote
Do 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. (http://simutrans-germany.com/wiki/wiki/en_BackImage#ani) 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...
Title: Re: some recap on somethings about addon making ...
Post by: vilvoh on July 03, 2010, 10:02:25 pm
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.
Title: Re: some recap on somethings about addon making ...
Post by: gauthier on July 03, 2010, 10:47:38 pm
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.