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

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

More disasters [1.6.5] [+OTTD bugfixes]

Post by MeusH »

More disasters patch for OTTD, version 1.6.5
13st October 2005, 00:40 CET
diff against r3034
by Meush


Languages supported:
English


New:
- 1.6.5 - "Testing mode" disaster rate also turns off "affect already producting industries", so everything gets destroyed
- 1.6.5 - Small bugfixing related to the factory bombardment
- 1.6.5 - Added to the readme disaster times
- 1.6 - UFO disasters can be turned on\off via "configure patches"
- 1.6 - Volcano disaster can be turned on\off via "configure patches"
- 1.6 - Volcano disaster fireball enchanced (radius, density)
- 1.6 - Fireballs and volcano destroy industries, still need help with unmovables and tunnel\bridges
- 1.6 - Small bugfixes
- 1.6 - Submarines break ships down - this still needs enchancing

- 1.5 - Volcano disaster - Fully written by Luca
- 1.4 - Patch settings are saved into .cfg file
- 1.4 - Track disaster and it's news message (was too long) is fixed now
- 1.3 - Disaster frequency can be changed via "difficulity settings"
- 1.3 - UFO disasters can be turned on\off via "configure patches"
- 1.3 - Disasters affecting only industries already producting can be turn on/off via "configure patches"
- 1.3 - Track disaster: Dangerous damage has been spotted and buldozzer fixes it for a peroid of time
- 1.3 - Attempt to make disaster changing production: Oil rig fire (not working)
- 1.2 - Disaster frequency depends on number of industries (map size)
- 1.2 - Disaster frequency incerased
- 1.2 - Mine disasters lowers land (thanks to Luca)
- 1.2 - No flying saucers (toggleable in 1.3)
- 1.2 - Toy factory disaster
- 1.1 - Diamond mine shaft subsidence
- 1.1 - Disasters affect only industries producing something (toggleable in 1.3)
- 1.1 - More frequent disasters (changeable in 1.3)
- 1.1 - Cropduster behaves properly when crashing into food processing plants on high mountains
- 1.0 - Sawmill fire
- 1.0 - Paper mill fire
- 1.0 - Copper ore mine shaft subsidence
- 1.0 - Iron ore mine disaster
- 1.0 - Food processing plant disaster

OTTD bugfix:
- 1.4 - Submarines are now working properly
- 1.1 - File disaster_cmd.c now uses "TILE_SIZE" instead of value "16"
- 1.0 - Factory disaster affects tropical factory
- 1.0 - Helicopter fires its guns before factory, not 20 tiles past it

Future:

-More disasters that affect stations\tracks
-Disasters that halt production without destroying industry


Disaster times:
1925-1955 - Zeppelin
1945-1980 - Small UFO
1960-2040 - Rafinery explosion
1970-2050 - Factory explosion
2000-2100 - Big UFO
1940-1975 - Small submarine
1975-2010 - Big submarine
1925-2005 - Coal mine shaft subsidience
1925-2005 - Copper ore mine shaft subsidience
1925-2015 - Diamond mine shaft subsidience
1925-2015 - Sawmill fire
1925-2015 - Paper mill fire
1925-1985 - Iron ore mine explosion
1925-1985 - Cropduster crash into food processing plant
1925-2025 - Track damage
2000-2100 - Volcano (it will happen once per whole game, anyway)



Translators:
17 new strings

STR_B007_COPPER_ORE_MINE_SUBSIDENCE_LEAVES :{BLACK}{BIGFONT}Copper ore mine subsidence leaves trail of destruction near {TOWN}!
STR_B008_SAWMILL_FIRE :{BLACK}{BIGFONT}Sawmill on fire near {TOWN}!
STR_B009_PAPERMILL_FIRE :{BLACK}{BIGFONT}Paper mill on fire near {TOWN}!
STR_B010_IRON_ORE_MINE_UNEXPECTED_EXPLOSION :{BLACK}{BIGFONT}Unexpected explosion destroyed iron ore mine near {TOWN}!
STR_B011_CROPDUSTER_BREAKDOWN_CRASH :{BLACK}{BIGFONT}Cropdusting plane crashed into food processing plant after breakdown near {TOWN}!
STR_B012_DIAMOND_MINE_SUBSIDENCE_LEAVES :{BLACK}{BIGFONT}Diamond mine subsidence leaves trail of destruction near {TOWN}!
STR_B013_PRODUCTION_HELD_AFTER_ACCIDENT :{BLACK}{BIGFONT}production at {STATION} has been held after dangerous fire!
STR_B014_TRACK_DAMAGE :{BLACK}{BIGFONT}Dangerously damaged track has been immediately secured for further repair!
STR_B015_VOLCANO :{BLACK}{BIGFONT}Volcano! {}Riots begin as fire falls from the sky!
STR_B016_SUBMARINE :{BLACK}{BIGFONT}Civil ship has been hit by an underwater unit of unknown origin!

STR_683V_OFF :Off
STR_683W_RARE :Rare
STR_683X_NORMAL :Normal
STR_683Y_FREQUENT :Frequent
STR_683Z_TESTING :Testing mode

STR_CONFIG_PATCHES_UFO_DISASTERS :{LTBLUE}Allow 'UFO' disasters
STR_CONFIG_PATCHES_VOLCANO :{LTBLUE}Allow volcano eruption disaster



Many thanks to translators:

Belugas for french translation
SLaY3r for spanish translation
sidew for italian translation
habell for dutch translation
BlazE for german translation

Additional credits:

Lucaspiller for the volcano disaster
Lucaspiller and Peter1138 for mine disasters lowering land
DaleStan for tip about tropical factories
Blathijs for information about "TILE_SIZE"
Tron and ThorRune for helping with setting up the compiler

***********************************************************

Downloads:

The .rar package contains english.lng, english.txt, openttd.exe (Win32 executable), the readme file
Attachments
disasters_1_6_5.rar
Unpack the .rar archive to your OpenTTD directory and have fun
(495.7 KiB) Downloaded 421 times
disasters_1_65_r3034_2005_10_13.patch
vs r3034
(42.26 KiB) Downloaded 370 times
Last edited by MeusH on 12 Oct 2005 23:06, edited 12 times in total.
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 »

Haven't had time to play with it. Looks COOOOL :D
Thanks
In the mean time, here's my contribution:

Update on 1.4:

Code: Select all

STR_B014_TRACK_DAMAGE                                           :{BLACK}{BIGFONT}Des portions dangereusement abimées de rail ont été sécurisée pour réparation.
Attachments
french.zip
Version 1.3 match
(71.5 KiB) Downloaded 175 times
Last edited by belugas on 01 Sep 2005 21:16, edited 3 times in total.
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

Thank you so much. Your help is greatly appreciated!
I'll check it out as soon as I come back to computer. :wink:

I have also noticed that cropduster falling into food processing plant generates message overlaping the newspaper window, if nearby town has long name (Durfbindurge Springs) - One or two words will be removed.
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

Version 1.1 relased.

Refer to the first post for what's new, what will be in the future and what are the bugfixes to OTTD. Downloads also there.
User avatar
SirkoZ
Tycoon
Tycoon
Posts: 1518
Joined: 06 Mar 2004 23:51
Location: The sunny side of Alps

Post by SirkoZ »

:idea: Please make the UFO "disasters"/annoyances toggle-able as they are very annoying and unrealistic.
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

Okay - I'll try to do something with the GUI, but any help in GUI would be greatly appreciated since it is bit... duh... wicked? difficult?
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 »

Updated french translation
Look at initial upload
User avatar
nicfer
Director
Director
Posts: 529
Joined: 03 May 2005 20:50
Location: Somewhere in a country called Argentina

Post by nicfer »

Wow... Look this. Also, there is no disasters in toyland, or there come on later (I start on 1930)

EDIT: Here are the strings in Spanish.

Code: Select all

STR_B007_COPPER_ORE_MINE_SUBSIDENCE_LEAVES                            :{BLACK}{BIGFONT}Hundimiento de mina de cobre destruye zona cercana a {TOWN}!
STR_B008_SAWMILL_FIRE                                 :{BLACK}{BIGFONT}Aserradero en llamas cerca de {TOWN}!
STR_B009_PAPERMILL_FIRE                                 :{BLACK}{BIGFONT}Papelería en llamas cerca de {TOWN}!
STR_B010_IRON_ORE_MINE_UNEXPECTED_EXPLOSION                                 :{BLACK}{BIGFONT}Explosión de causas no conocidas destruyen mina de hierro cerca de {TOWN}!
STR_B011_CROPDUSTER_BREAKDOWN_CRASH                                 :{BLACK}{BIGFONT}Un avión se estrella contra una planta procesadora de alimentos cerca de {TOWN}!
STR_B012_DIAMOND_MINE_SUBSIDENCE_LEAVES                            :{BLACK}{BIGFONT}Hundimiento de mina de diamantes destruye zona cercana a {TOWN}!
Attachments
Senton Transport, 1st Jan 1931.jpg
Senton Transport, 1st Jan 1931.jpg (201.79 KiB) Viewed 939 times
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 »

Thank you for the translation!
As for disasters for toyland, one thing I can think about is helicopter destroying toy factory. I don't play this climate and I know most people do not, too.

Anyway, I'll make coal shaft subsidences and fires happen earlier in game (1925?)
User avatar
nicfer
Director
Director
Posts: 529
Joined: 03 May 2005 20:50
Location: Somewhere in a country called Argentina

Post by nicfer »

Here are more screenies! Good work, Meush, thats really funny! Also, the planes that destroy food processing plants are showed as submarines. And in toyland, the disasters available are the UFO's and submarines.
Attachments
Sendingstone Transport, 20th Mar 1945.jpg
Sendingstone Transport, 20th Mar 1945.jpg (91.01 KiB) Viewed 1066 times
Sendingstone Transport, 1st Oct 2001.jpg
Sendingstone Transport, 1st Oct 2001.jpg (68.97 KiB) Viewed 1080 times
Sendingstone Transport, 12th Jul 2001.jpg
Sendingstone Transport, 12th Jul 2001.jpg (112.78 KiB) Viewed 1094 times
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 »

SLaY3r, I've just fixed the graphical bug, download 1.2 and have fun.
Toyland toy factory gets bombed, too

I think the best feature is disaster frequency depending on map size (to be exac - number of industries). Bigger map = more disasters.
I know it is still way from a good mod, I just need to make GUI so every player can set up disaster options and frequency.

Also a nice feature is lowering land by the mines - thank to Lucaspiller and Peter.

In 1.2 you won't see ufos, but submarines will still pop up.

There is a bug in (O)TTD that makes submarines stand still - I am either going to fix that or nuke the submarines. I'm sure devs would like to have the submarines fixed, so I'll work on this, I think.


If you have any ideas or you've found a bug, please post it here and I'll take a closer look at it. Thank you for your time
User avatar
sidew
Engineer
Engineer
Posts: 115
Joined: 31 Aug 2005 06:46
Location: Milan, Italy
Contact:

Post by sidew »

There is my small contribution, the italian translation:

Code: Select all

STR_B007_COPPER_ORE_MINE_SUBSIDENCE_LEAVES   :{BLACK}{BIGFONT}Cedimento in una miniera di rame lascia tracce di distruzione vicino a {TOWN}!
STR_B008_SAWMILL_FIRE               :{BLACK}{BIGFONT}Incendio alla segheria vicino {TOWN}!
STR_B009_PAPERMILL_FIRE            :{BLACK}{BIGFONT}Incendio alla cartiera vicino {TOWN}!
STR_B010_IRON_ORE_MINE_UNEXPECTED_EXPLOSION   :{BLACK}{BIGFONT}Una inaspettata esplosione distrugge la miniera di ferro vicino {TOWN}!
STR_B011_CROPDUSTER_BREAKDOWN_CRASH      :{BLACK}{BIGFONT}Aereo agricolo precipita su una azienda alimentare in seguito ad un guasto vicino {TOWN}!
STR_B012_DIAMOND_MINE_SUBSIDENCE_LEAVES      :{BLACK}{BIGFONT}Cedimento in una miniera di diamanti lascia tracce di distruzione vicino a {TOWN}!
Sidewinder

Italian Town names patch for OTTD (R5266) now in trunk since 0.4.8
For typo, errors or bug on OTTD italian translation, please PM me.
unofficial italian TTD/OpenTTD forum: http://wolf01.game-host.org/forum/index.php
Horse
Transport Coordinator
Transport Coordinator
Posts: 325
Joined: 10 Sep 2004 20:25

Post by Horse »

please no ufo,s and other unrealistic stuff.
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

Sidew, thank you very much, it will be added to More Disasters 1.3
Horse wrote:please no ufo,s and other unrealistic stuff.
Meush wrote:In 1.2 you won't see ufos
User avatar
habell
Transport Coordinator
Transport Coordinator
Posts: 374
Joined: 04 Mar 2004 12:47
Location: Veenendaal, The Netherlands

Post by habell »

There is my contribution, the dutch translation:

Code: Select all

STR_B007_COPPER_ORE_MINE_SUBSIDENCE_LEAVES   :{BLACK}{BIGFONT}Koperertsmijn instorting laat een spoor van vernieling achter nabij {TOWN}! 
STR_B008_SAWMILL_FIRE               :{BLACK}{BIGFONT}Houtzagerij staat in brand nabij {TOWN}! 
STR_B009_PAPERMILL_FIRE            :{BLACK}{BIGFONT}Papierfabriek staat in brand nabij {TOWN}! 
STR_B010_IRON_ORE_MINE_UNEXPECTED_EXPLOSION   :{BLACK}{BIGFONT}Onverwachte explosie vernietigd ijzerertsmijn nabij {TOWN}! 
STR_B011_CROPDUSTER_BREAKDOWN_CRASH      :{BLACK}{BIGFONT}Sproeivliegtuig door defect neergestort in voedselfabriek nabij {TOWN}! 
STR_B012_DIAMOND_MINE_SUBSIDENCE_LEAVES      :{BLACK}{BIGFONT}Diamantmijn instorting laat een spoor van vernieling achter nabij {TOWN}!
BlazE
Engineer
Engineer
Posts: 20
Joined: 09 Aug 2005 08:19
Location: Germany
Contact:

Post by BlazE »

Here is the German translation:

Code: Select all

STR_B007_COPPER_ORE_MINE_SUBSIDENCE_LEAVES   :{BLACK}{BIGFONT}Bergsenkung durch den Abbau von Kupfererz nahe {TOWN} hinterlässt ein Bild der Zerstörung!
STR_B008_SAWMILL_FIRE                        :{BLACK}{BIGFONT}Brand in Sägewerk nahe {TOWN}!
STR_B009_PAPERMILL_FIRE                      :{BLACK}{BIGFONT}Brand in Papierfabrik nahe {TOWN}!
STR_B010_IRON_ORE_MINE_UNEXPECTED_EXPLOSION  :{BLACK}{BIGFONT}Unvorhergesehene Explosion zerstört Eisenerzbergwerk nahe {TOWN}!
STR_B011_CROPDUSTER_BREAKDOWN_CRASH          :{BLACK}{BIGFONT}Bestäubungs-Flugzeug stürzt nach Maschinenschaden in Bauernhof nahe {TOWN} ab!
STR_B012_DIAMOND_MINE_SUBSIDENCE_LEAVES      :{BLACK}{BIGFONT}Bergsenkung durch den Diamantenabbau nahe {TOWN} hinterlässt eine Spur der Verwüstung!
User avatar
nicfer
Director
Director
Posts: 529
Joined: 03 May 2005 20:50
Location: Somewhere in a country called Argentina

Post by nicfer »

MeusH wrote:- MUST - GUI elements to set disaster options like flying saucers or frequency
This feature will enable disabling one disaster (i.e., food processing plant explosion) or only will activate/deactivate UFO's? And a question: What make submarines? I see that the unique action that they make is stand in the edges of the map, aside of the bug of OTTD that holds they in the edges.

EDIT: Aditionaly, can make disasters happen ever, or a GUI element to set year of appearment?

EDIT2: I readed two old posts that contains some disasters:

http://www.tt-forums.net/viewtopic.php?t=19883 and

http://www.tt-forums.net/viewtopic.php?t=14818
Last edited by nicfer on 31 Aug 2005 19:57, edited 2 times in total.
Sorry for my english I am argentinian
TTO don't crashes in Windows XP; XP crashes TTO

Formerly known as UnderBuilder.

MyMiniCity
User avatar
SirkoZ
Tycoon
Tycoon
Posts: 1518
Joined: 06 Mar 2004 23:51
Location: The sunny side of Alps

Post by SirkoZ »

Well - for starters disable UFOs button would be enough, eventually all could be configurable...
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

SLaY3r wrote:
MeusH wrote:- MUST - GUI elements to set disaster options like flying saucers or frequency
This feature will enable disabling one disaster (i.e., food processing plant explosion) or only will activate/deactivate UFO's? And a question: What make submarines? I see that the unique action that they make is stand in the edges of the map, aside of the bug of OTTD that holds they in the edges.
The GUI is working, it just needs some small fixes like default settings.
Submarines should go around randomly, but they are bugged (I'll try to fix that). They do nothing by the way.
SLaY3r wrote:EDIT: Aditionaly, can make disasters happen ever, or a GUI element to set year of appearment?
I think making disasters happening at any time should be toggleable in 1.4, but I'm not with setting custom years to disasters - it would be pain to code that and that would ruin bit of surprise for new players and game feel.
SLaY3r wrote:EDIT2: I readed two old posts that contains some disasters:

http://www.tt-forums.net/viewtopic.php?t=19883 and

http://www.tt-forums.net/viewtopic.php?t=14818
Thank you.


Now I'm uploading v1.3, please check out the first post, soon
User avatar
nicfer
Director
Director
Posts: 529
Joined: 03 May 2005 20:50
Location: Somewhere in a country called Argentina

Post by nicfer »

Here is updated spanish new strings.

Code: Select all

STR_B007_COPPER_ORE_MINE_SUBSIDENCE_LEAVES                            :{BLACK}{BIGFONT}Hundimiento de mina de cobre destruye zona cercana a {TOWN}!
STR_B008_SAWMILL_FIRE                                 :{BLACK}{BIGFONT}Aserradero en llamas cerca de {TOWN}!
STR_B009_PAPERMILL_FIRE                                 :{BLACK}{BIGFONT}Papelería en llamas cerca de {TOWN}!
STR_B010_IRON_ORE_MINE_UNEXPECTED_EXPLOSION                                 :{BLACK}{BIGFONT}Explosión de causas no conocidas destruyen mina de hierro cerca de {TOWN}!
STR_B011_CROPDUSTER_BREAKDOWN_CRASH                                 :{BLACK}{BIGFONT}Un avión se estrella contra una planta procesadora de alimentos cerca de {TOWN}!
STR_B012_DIAMOND_MINE_SUBSIDENCE_LEAVES                            :{BLACK}{BIGFONT}Hundimiento de mina de diamantes destruye zona cercana a {TOWN}!
STR_B013_PRODUCTION_HELD_AFTER_ACCIDENT      :{BLACK}{BIGFONT}Oil production at {STATION} has been held after dangerous fire!
STR_B014_TRACK_DAMAGE            :{BLACK}{BIGFONT}Dangerous track damage has been noticed! The area has been immediately secured for further repair!
STR_683V_OFF                  :No
STR_683W_RARE                  :Rara vez
STR_683X_NORMAL               :Normal
STR_683Y_FREQUENT               :Frecuente
STR_683Z_TESTING               :Para pruebas o diversión
STR_CONFIG_PATCHES_DISASTERS_ACTIVE_INDUSTRIES   :{LTBLUE}Los desastres afectan solo industrias que producen material
STR_CONFIG_PATCHES_DISASTERS_UFO         :{LTBLUE}Activar desastres de OVNI's
Sorry for my english I am argentinian
TTO don't crashes in Windows XP; XP crashes TTO

Formerly known as UnderBuilder.

MyMiniCity
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 9 guests