Killing the Engine via Qscript

Hi,
I'm new to scripting, but I was thinking about making a Qscript that would kill the engine when a button is pressed (say 'K')
Which int corresponds to which letter in:
Code:
is key <int> pressed
I'm hoping to use something like this (I'm aware of how ugly this code is..):
Code:
for 'eternity'
{
  is key K pressed
  {
      send stop engine to console
  }
}
Could anyone please guide me in the right direction?
Thx in advance!
 
Just make the S key a toggle for engine start/engine stop.

Racer used to do this, if the engine was running S would shut it off, or was it shift s?

I can't remember but it's best as a toggle I think...?!

Hmmm

Dave
 
i found the script....
here: klick

Been trying to get the script to work, but without success.
  • I've recompiled the script just in case..
  • racer.ini says that scripts are autoloaded
  • I have tried 'reload scripts'
  • I've changed my keyboard layout to English
  • Tried with Alt+088
I have no ideas left.. I guess that you don't need a loop in the rsx-file? It acts like a trigger?
 

Latest News

To join the OverTake Racing Club races I want them to be: (multiple choice)

  • Free to access

    Votes: 127 85.8%
  • Better structured events

    Votes: 25 16.9%
  • Better structured racing club forum

    Votes: 24 16.2%
  • More use of default game content

    Votes: 19 12.8%
  • More use of fixed setups

    Votes: 45 30.4%
  • No 3rd party registration pages

    Votes: 51 34.5%
  • Less casual events

    Votes: 14 9.5%
  • More casual events

    Votes: 46 31.1%
  • Other, specify in thread

    Votes: 9 6.1%
Back
Top