Menu

#25 Manual transmission

Unstable_(example)
open
nobody
None
1
2020-03-12
2020-03-04
No

Hi,

This patch adds an option to use manual transmission. By default the transmission is set to automatic. To try the manual option:

  1. Apply the patch to r981.
  2. Either delete your local configuration file for the 0.6.7 version and run the game to regenerate the config file or edit the file and add the required options (see the changes made in trigger-rally.config.defs in the attached patch).
  3. In your local config file, change the option transmission from "auto" to "manual" and run the game. You should be able to upshift using 'a' and downshift using 'z' (it is possible to change these keys in the config file).

The changes made on PSim/engine.cpp could probably be simplified a bit as I'm handling manual transmission separately from automatic.

Feel free to do any modifications if you think this or something similar could be implemented in the game, including changing the names I chose for the config file and the default upshift/downshift keys.

1 Attachments

Discussion

  • Onsemeliot

    Onsemeliot - 2020-03-05

    Hi kirada,

    tank you very much for your patch. I will test it as soon as possible. But I have to admit that even if it works flawlessly I will surely not become a regular user of the option because I have the feeling that handling the cars reasonably well is enough exitement for me already.

    It's nice to see that you care enough about the game that you did actually take the time to create this patch. :)

     
  • Emanuele Sorce

    Emanuele Sorce - 2020-03-05

    Thanks Kirada for your patch
    Can I ask if there was some issue in particular with the automatic transimission, so that you would prefer using manual transmission?

     
  • Anonymous

    Anonymous - 2020-03-05

    Can I ask if there was some issue in particular with the automatic transimission, so that you would prefer using manual transmission?

    Not really, it's just that manual transmission gives a bit more control and the possibility to hard brake without switching to reverse.

     
  • Onsemeliot

    Onsemeliot - 2020-03-11

    Sorry, I'm unfortunately not capable of applying the patch file. I copied it in my trigger-rally root folder (where the src folder resides) and tried to use:

    $ svn patch manual-transmission.patch
    

    I did get the feedback:

    svn: E155007: '/trigger-rally-0.6.7' is not a working copy
    

    Could that be because I am already at revision 982 and the patch file starts from 981?

     
  • Anonymous

    Anonymous - 2020-03-12

    I was able to apply the patch to revision 982 without having any conflicts, so that shouldn't be the problem. Maybe the .svn directory is not present inside your trigger rally root folder?

    I think the easiest thing you can do is to get the source code at revision 981 using the following command:

    svn checkout -r 981 https://svn.code.sf.net/p/trigger-rally/code/ trigger-rally-code-981
    

    Or removing -r 981 if you want to try with the lastest revision.

    Then copy the patch file to the folder trigger-rally-code-981 and apply the patch using svn patch.

    Maybe what I'm saying is obvious to you, but I don't know another easy way to do this.

     

Log in to post a comment.