More disasters [1.6.5] [+OTTD bugfixes]

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
nicfer
Director
Director
Posts: 529
Joined: 03 May 2005 20:50
Location: Somewhere in a country called Argentina

Post by nicfer »

I have near 6 trains running, and the reconstruction happens on a junction tile. A possibility is that a train is crossing the railtrack when the disaster happens.
Sorry for my english I am argentinian
TTO don't crashes in Windows XP; XP crashes TTO

Formerly known as UnderBuilder.

MyMiniCity
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

Well, the dummy vehicle looks for a random tile with rail. Then it checks if there are no vehicles (same check as with removing rails, placing signals, etc). If there are no vehicles on the train, track is being owned by a city (the only way to do this... I was trying with UNMOVABLEs but game automaticly rendered lighthouses, transmitters, signs or statues... And I anyway think owning track by a city is the best way to do this since track won't be destroyed and train won't enter it.
User avatar
lucaspiller
Tycoon
Tycoon
Posts: 1228
Joined: 18 Apr 2004 20:27

Post by lucaspiller »

Here is a new disaster you might want to add to your patch, you can probably guess what it is. Enjoy. :D
Attachments
volcano.patch
(5.83 KiB) Downloaded 141 times
No longer active here, but you can still reach me via email: luca[at]stackednotion[dot]com
User avatar
belugas
OpenTTD Developer
OpenTTD Developer
Posts: 1507
Joined: 05 Apr 2005 01:48
Location: Deep down the deepest blue
Contact:

Post by belugas »

lucaspiller wrote:Here is a new disaster you might want to add to your patch, you can probably guess what it is. Enjoy. :D
Can you post a screenshot? I would really like to see it work!
Too bad I do not compile C code.... One day, I should get myself into that :(
In the mean time, french translation :

Code: Select all

STR_B007_VOLCANO                                :{BLACK}{BIGFONT}Éruption volcanique!{}Émeutes de panique sous des averses de feu!
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

Thank you Lucaspiller, I'll check this one as soon as I can, this means tommorow.
Nappe1
Traffic Manager
Traffic Manager
Posts: 175
Joined: 19 Jan 2004 17:25
Location: kotka or Savitaipale, Finland
Contact:

Post by Nappe1 »

MeusH: I got this funny idea of new "disaster"... :)
it does not in fact destroy anything, but freezes trains in the station.

It's called Bomb Threat and it could effect like trains get stuck to station which is threathened. For big busy station, it causes small havoc. For example you make it so that for each carriage on the train that is in station loading/unloading time triples, because police is looking for a bomb.

just an idea... feel free to develop it further, if it sounds reasonable. :)
User avatar
SirkoZ
Tycoon
Tycoon
Posts: 1518
Joined: 06 Mar 2004 23:51
Location: The sunny side of Alps

Post by SirkoZ »

Nappe1 wrote:MeusH: I got this funny idea of new "disaster"... :)
it does not in fact destroy anything, but freezes trains in the station.

It's called Bomb Threat and it could effect like trains get stuck to station which is threathened. For big busy station, it causes small havoc. For example you make it so that for each carriage on the train that is in station loading/unloading time triples, because police is looking for a bomb.

just an idea... feel free to develop it further, if it sounds reasonable. :)
What's going to be called? Government/local_authority terrorism? :roll:
Nappe1
Traffic Manager
Traffic Manager
Posts: 175
Joined: 19 Jan 2004 17:25
Location: kotka or Savitaipale, Finland
Contact:

Post by Nappe1 »

SirkoZ wrote:
Nappe1 wrote:MeusH: I got this funny idea of new "disaster"... :)
it does not in fact destroy anything, but freezes trains in the station.

It's called Bomb Threat and it could effect like trains get stuck to station which is threathened. For big busy station, it causes small havoc. For example you make it so that for each carriage on the train that is in station loading/unloading time triples, because police is looking for a bomb.

just an idea... feel free to develop it further, if it sounds reasonable. :)
What's going to be called? Government/local_authority terrorism? :roll:
okay, does the loaders' strike sound any better?

there's lot's of reasons why train can't leave as soon as planned... Bomb Threat being the worst one on passenger station. (notice that I didn't define in which kind of stations this could happen...)
User avatar
SirkoZ
Tycoon
Tycoon
Posts: 1518
Joined: 06 Mar 2004 23:51
Location: The sunny side of Alps

Post by SirkoZ »

Well, I guess it's OK, but has to be optional.
Nappe1
Traffic Manager
Traffic Manager
Posts: 175
Joined: 19 Jan 2004 17:25
Location: kotka or Savitaipale, Finland
Contact:

Post by Nappe1 »

SirkoZ wrote:Well, I guess it's OK, but has to be optional.
sure thing.
(besides, these were just ideas... not that they would be in "have to have" list. :) MeusH additional disasters so far have been quite good imho.)
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

Thank you, I'll reinstall my C++VS6 ad keep some things running.
User avatar
Telekoman
Chairman
Chairman
Posts: 844
Joined: 05 Mar 2004 19:01
Location: Madrid (spain)

Post by Telekoman »

Nappe1 wrote: okay, does the loaders' strike sound any better?
Make it drivers' strike, more realistic. they wont work until their pay is risen :lol:
Due to cutbacks, the light at the end of the tunnel has been turned off.
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

I'll merge Luca's volcano and I'll relase 1.5 - I hope so.
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

1.5 is launched. The main feature is the volcano disaster my Lucaspiller.

1.5. comes with english language only since 1.6 will be relased really soon.

I'd like you (players) and you (Luca) what to do with the volcano. Since Luca is author, he shall decide. Since you are the players, you shall decide, too.

In my opinion, more effects should be made around the volcano, screen shaking would decerase while distance from volcano incerases, finally destroyed tiles should be dense around the volcano and should be rare far away from the mountain. Maybye covering with rocks (volcano + destroyed tiles around the map) would be good, too?
Also I think this shouldn't happen often... That's not armageddon, my mom!
Attachments
disasters_r3009_2005_10_03.patch
Diff against r3009
(38.12 KiB) Downloaded 110 times
disasters_1_5.rar
Windows binary+languages. Just unpack to your OpenTTD directory.
(496.16 KiB) Downloaded 124 times
User avatar
nicfer
Director
Director
Posts: 529
Joined: 03 May 2005 20:50
Location: Somewhere in a country called Argentina

Post by nicfer »

Image

This error I get when start my game. I use WinXp Sp2.

P.D.: Which are the new strings?

[EDIT]I think that it be caused because I extracted the new disasters over an old version of the new disasters and not over r3009. But I can't find r3009 executables in nightly.openttd.org. Where are them?[/EDIT]
Last edited by nicfer on 03 Oct 2005 22:40, edited 1 time in total.
Sorry for my english I am argentinian
TTO don't crashes in Windows XP; XP crashes TTO

Formerly known as UnderBuilder.

MyMiniCity
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

The new texts are probably the sections of english.txt prepended with '+' in the patch file. Look them up yourself; it's not that hard.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
belugas
OpenTTD Developer
OpenTTD Developer
Posts: 1507
Joined: 05 Apr 2005 01:48
Location: Deep down the deepest blue
Contact:

Post by belugas »

I have been plyaing with the version 1.5 for a while, close to an hour, and sadly enough, the volcano did not erupted :( , although I have set the test mode in disaster setting.
Does it occur only on a specific climate?

I had time to watch the UFOs... they always seem to hit the ground (station, vehicle..) quite at the same few places, as if they were drawned by those particular spots...

What are submarines supposed to do? Block ports? Damage ships?
I think they are moving a bit too fast.

Don't get me wrong, though. I really like it. It is such a refreshing view to see almost every corner of the map been blown away one time or the other!
:twisted:
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7595
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

would be cool if the submarines could sink Oil Ships. (sinking a passenger ship is just not cool). It would be in a similar style to the factory/oil refinery explosions except it actually hurts your company.
Image
User avatar
SirkoZ
Tycoon
Tycoon
Posts: 1518
Joined: 06 Mar 2004 23:51
Location: The sunny side of Alps

Post by SirkoZ »

Even sinking an oil ship "is just not cool". :shock:
User avatar
habell
Transport Coordinator
Transport Coordinator
Posts: 374
Joined: 04 Mar 2004 12:47
Location: Veenendaal, The Netherlands

Post by habell »

Dutch translation updated to version 1.4
see this post.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 17 guests