Jump to content


- - - - -

Macro To Restart A Race?


  • Please log in to reply
11 replies to this topic

#1 Brett77

Brett77

    John Surtees

  • Members
  • PipPipPipPipPipPipPip
  • 38 posts
  • Gender:Male
  • Interests:Grand Prix Legends
    Formula One
    Motor racing
  • Sim interest:GPL and P&G

Posted Feb 06 2017 - 06:40 PM

In my older and time poor life I find when I sit down to race i end up doing the following routine... (dont laugh) a lot.

Crash.. press escape/enter, move mouse to red button.. push save practise session results.. push green button.. use saved practice.. then green to restart race..

I'd love a way to have this routine happen faster and/or automatically, without killing the system.

I have no right to ask as I know I shouldnt be crashing and it serves me right but this is a request area..

Feels like an code hack.. but maybe theres a trick windows macro to do the job (clearly im no expert)...

Thanks in advancea to all for their thoughts and humor..

#2 John Woods

John Woods

    Be Somebody

  • GPLLinks Team
  • PipPipPipPipPipPipPipPipPipPip
  • 2,176 posts
  • Gender:Male
  • Interests:Too Much Fun
  • Sim interest:GPL

Posted Feb 07 2017 - 04:34 AM

Have made a shift-R macro for a steering wheel button and use it to reset car and continue racing.
Emphasis on "continue the race."

Sometimes don't lose position, sometimes...all the way to the back.
That avoids restarting routine and even more down time.
Then challenge is to at least make it back to position before the crash.
Or crash again.

Good idea. Think the green/red buttons are what keeps it just an idea.
But maybe not?

#3 John Woods

John Woods

    Be Somebody

  • GPLLinks Team
  • PipPipPipPipPipPipPipPipPipPip
  • 2,176 posts
  • Gender:Male
  • Interests:Too Much Fun
  • Sim interest:GPL

Posted Feb 07 2017 - 09:29 AM

Although, maybe not...this is from the Help document for TrkCamEdit.

TrkCAMEdit Help © 2000 by Joachim Blum of C.A.R.E. said:


The "Record new script"-button:
This button will only be enabled if a correct path to GPL is set. A click on it launches GPL and then records a sequence of maximum 256 mouseclicks. Every successful recorded click will be confirmed by a beep of your pc-speaker. To stop the recording, press F5 while being either on the playback screen or in the main menu of GPL. GPL will be shut down automatically.
The recorded sequence will be played back when you click the "Test"-button on the main screen and have this option enabled. The idea behind all this is to remote control GPL in order to quickly test your edited camera set by one single click on the main screen.
I give you a little example: Before you start editing, I recommend to drive a not too fast lap around the whole track and save the replay. When in TrkCAMEdit and after having set up the path to the right GPL-installation (I suggest making a separate installation for editing purposes), click on the "Record new script"-button. GPL will be launched. After the splash screen the main menu of GPL appears. Click on "View replay". In the replay screen, click on the previously recorded one-lap-replay (click on the slider-bar if necessary, but don't slide it down, because only clicks are recorded, no drag-movements!) and then on the green button. After the replay has been loaded, wind it to the point you want and hit the "Play"-button. Stop the recording by pressing F5. GPL will automatically shut down. You can now playback this sequence whenever you click on the "Test"-button on the main screen. Edit a camera, save the *.cam-file and then let TrkCAMEdit do all the stupid work for you. GPL will fire up, all the mouseclicks will be performed and you can watch the replay without having to navigate through the menus. After the last mouseclick has been played, a beep announces that TrkCAMEdit waits for you to press F5. If you do so, TrkCAMEdit will shut down GPL and you can immediately continue with editing.
Hints for recording:
- Click slowly: Press the button down, hold it down just a few microseconds longer than usual and then let it go.
- Listen to the pc-speaker.
- Click exact, especially when you choose the replay that has to be played. Click in the middle of that small row.
- Test the recorded script by clicking on the "Test sript"-button. If the script does not behave like you expected (most errors happen during the selection of the replay-file), record it again.
- And don't forget: Set the resolution of GPL to 640x480!

Edited by John Woods, Feb 07 2017 - 09:32 AM.


#4 Brett77

Brett77

    John Surtees

  • Members
  • PipPipPipPipPipPipPip
  • 38 posts
  • Gender:Male
  • Interests:Grand Prix Legends
    Formula One
    Motor racing
  • Sim interest:GPL and P&G

Posted Feb 07 2017 - 05:26 PM

Interesting stuff, thanks for weighing in.

#5 Pete Gaimari

Pete Gaimari

    Jim Clark

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 3,276 posts
  • Gender:Male
  • Location:Colorado
  • Interests:Racing and Muzzleloader Hunting
  • Sim interest:GPL

Posted Feb 19 2017 - 04:07 PM

Time would be better spent on not crashing. ;)

#6 Brett77

Brett77

    John Surtees

  • Members
  • PipPipPipPipPipPipPip
  • 38 posts
  • Gender:Male
  • Interests:Grand Prix Legends
    Formula One
    Motor racing
  • Sim interest:GPL and P&G

Posted Feb 19 2017 - 08:04 PM

Hah... well yes.. the first lap of monaco is killing me at the moment..

#7 Pete Gaimari

Pete Gaimari

    Jim Clark

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 3,276 posts
  • Gender:Male
  • Location:Colorado
  • Interests:Racing and Muzzleloader Hunting
  • Sim interest:GPL

Posted Feb 20 2017 - 10:36 AM

Yeah, that can be a tough start if you're not on the 1st row. I try to stay on the inside with my right side tires on the curb for the 1st turn. The AI will usually give me enough room if I do that. It's always a :crap: shoot though.

If i'm doing a full GP race I don't bother to qualify, because I have so much time to pick them off in the race. Starting from the back is easy to stay out of trouble until everybody settles down. I can't catch Jimmy doing that, but if I work hard I can work up to a 2-3 place. My goal is always to just finish a 2 hour race at Monaco. It's impossible to do unless I don't touch anything on the track or another car that will give me damage. I use pro mode and the slightest touch will throw out alignment. I'm not a big fan of the track. I like more open natural tracks in the country.

#8 gliebzeit

gliebzeit

    Targa Fan

  • Supporter
  • PipPipPipPipPipPipPipPipPipPip
  • 1,721 posts
  • Gender:Male
  • Location:Florida - USA
  • Interests:Old guy stuff...
  • Sim interest:GPL

Posted Feb 20 2017 - 04:56 PM

Have you guys been using Pavel's last set of Monaco / Monacane AI files?  They are very much improved over the last ones that I had been using.

They are U/L in Post #15 here:
http://srmz.net/inde...aco#entry107504

Edited by gliebzeit, Feb 20 2017 - 04:57 PM.


#9 Pete Gaimari

Pete Gaimari

    Jim Clark

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 3,276 posts
  • Gender:Male
  • Location:Colorado
  • Interests:Racing and Muzzleloader Hunting
  • Sim interest:GPL

Posted Feb 20 2017 - 05:09 PM

Tanks.

#10 gliebzeit

gliebzeit

    Targa Fan

  • Supporter
  • PipPipPipPipPipPipPipPipPipPip
  • 1,721 posts
  • Gender:Male
  • Location:Florida - USA
  • Interests:Old guy stuff...
  • Sim interest:GPL

Posted Feb 22 2017 - 02:48 PM

Did ya'll give the Monaco AI files a test?  ... or are they the same that you've been using?  :)

Yeah, Dundrod is more my cup of tea.

#11 Pete Gaimari

Pete Gaimari

    Jim Clark

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 3,276 posts
  • Gender:Male
  • Location:Colorado
  • Interests:Racing and Muzzleloader Hunting
  • Sim interest:GPL

Posted Feb 22 2017 - 02:56 PM

Not yet. I'm conserving my energy for the 55 mod. :D

#12 Brett77

Brett77

    John Surtees

  • Members
  • PipPipPipPipPipPipPip
  • 38 posts
  • Gender:Male
  • Interests:Grand Prix Legends
    Formula One
    Motor racing
  • Sim interest:GPL and P&G

Posted Feb 26 2017 - 07:29 PM

I'll give them a go now, thank you.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Sim Racing Links