New cheat patch

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
Slower
Engineer
Engineer
Posts: 3
Joined: 01 Mar 2013 13:21

New cheat patch

Post by Slower »

Hello,
I have programmed feature with new cheat available in the single player game. It disables penalty for (un)loading for over sized train in station.
Attachments
cheat.patch
against commit r25186
(4.91 KiB) Downloaded 93 times
Supercheese
Tycoon
Tycoon
Posts: 1660
Joined: 16 Dec 2007 22:24
Location: Idaho, USA

Re: New cheat patch

Post by Supercheese »

Seems reasonable enough -- I actually hard-remove (comment out) this loading speed penalty in my custom-compiled OTTD, so a soft-remove like this would be an improvement. Without actually patching and compiling, I offer this suggestion:

For the cheat menu text, rather than "Long trains will not get penalty in stations", I would phrase it more like "Disable loading speed penalty for trains longer than stations".
Eyecandy Road Vehicles | Fake Subways | Supercheese's NewObjects

"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton
Slower
Engineer
Engineer
Posts: 3
Joined: 01 Mar 2013 13:21

Re: New cheat patch

Post by Slower »

Thanks for advises, I never know how should I describe the funcionality in few words :)
Attachments
cheat2.patch
against r25189
(8.61 KiB) Downloaded 70 times
Supercheese
Tycoon
Tycoon
Posts: 1660
Joined: 16 Dec 2007 22:24
Location: Idaho, USA

Re: New cheat patch

Post by Supercheese »

You should probably submit this to Flyspray (http://bugs.openttd.org/), I'm pretty sure that's the preferred process for reviewing patches if you want to have them considered for trunk inclusion. :)
Eyecandy Road Vehicles | Fake Subways | Supercheese's NewObjects

"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: New cheat patch

Post by Zuu »

Regarding the patch, you should omit the changes to projects/openttd_vs100vcxproj in your patch. Those appear to only be local for compilation on your system. Thus they shouldn't be included in the patch.

Eg. do

Code: Select all

svn diff src > my.patch
or in case of mercurial queues:

Code: Select all

hg qdiff src > my.patch

With mercurial patch queues, I usually put a patch at the start of the queue which contain removal of DirectMusic. This way, I make sure none of my real patches contain changes to the project files.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Slower
Engineer
Engineer
Posts: 3
Joined: 01 Mar 2013 13:21

Re: New cheat patch

Post by Slower »

Oh, sorry, I've forgotten to omit project file. Should I create the task on FS? or is the patch post this way fine too?
Attachments
cheat.patch
r25193
(4.92 KiB) Downloaded 66 times
Eddi
Tycoon
Tycoon
Posts: 8272
Joined: 17 Jan 2007 00:14

Re: New cheat patch

Post by Eddi »

general rule: post here if you want more feedback from players, post on flyspray if you want more feedback from developers (but try to have this as "finished" as possible before doing so)
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 16 guests