Immediate news messages

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

Post Reply
hertogjan
Director
Director
Posts: 560
Joined: 03 Jan 2006 20:45
Location: Netherlands

Immediate news messages

Post by hertogjan »

On large maps, there are so many news messages that not all can be displayed. For accidents and disasters, it is crucial than you know about it as soon as possible to "fix" the problem. If you don't know about a vehicle crash, you may not be able to replace it in time, since crashed vehicles may disappear before the news message is displayed.

I wrote a little patch that addresses this issue. It adds an option to the message settings window by which you can enable immediate showing of messages about accidents and disasters. If you enable this option, you can immediately replace a crashed vehicle before it disappears and its orders are lost. Also for some disasters (e.g., UFOs) it may be useful.

There are two versions, one for merging against trunk, and one against MiniIN.
Attachments
patch_breakingnews_r5656-miniin_30-07-2006.patch
Breaking news patch - version 30-jul-2006 - r5656-MiniIN
(7.14 KiB) Downloaded 193 times
patch_breakingnews_r5656_30-07-2006.patch
Breaking news patch - version 30-jul-2006 - r5656 (trunk)
(6.91 KiB) Downloaded 189 times
richk67
Tycoon
Tycoon
Posts: 2363
Joined: 05 Jun 2003 16:21
Location: Up North
Contact:

Post by richk67 »

Brilliantly simple patch... straight in :)
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
hertogjan
Director
Director
Posts: 560
Joined: 03 Jan 2006 20:45
Location: Netherlands

Post by hertogjan »

It's not so brilliant that it was "lost" with the death of MiniIN.
Here is a new trunk version.
Attachments
patch_breakingnews_r7833_04-01-2007.patch
Breaking news patch - version 04-01-2007 - r7833
(7.59 KiB) Downloaded 139 times
richk67
Tycoon
Tycoon
Posts: 2363
Joined: 05 Jun 2003 16:21
Location: Up North
Contact:

Post by richk67 »

Hey - not my job to keep the sources of patches up to date....
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
WX6
Engineer
Engineer
Posts: 38
Joined: 24 Jun 2005 23:35

Post by WX6 »

Why not make a patch that lists all the messages displayed, sorta like a mailbox or something?
hertogjan
Director
Director
Posts: 560
Joined: 03 Jan 2006 20:45
Location: Netherlands

Post by hertogjan »

richk67 wrote:Hey - not my job to keep the sources of patches up to date....
Oh really? ;)
No, you are not the one to blame. No one is.
The patch was not really lost (codewise) — hence the quotation marks; currently there is just no version which has the patch included, which is a pity since it is so useful (i.e., it takes away a large annoyance when playing on large maps).
WX6 wrote:Why not make a patch that lists all the messages displayed, sorta like a mailbox or something?
Because there is already a window called "Messages history" that does this job perfectly.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 4 guests