[WIP] Race Engineer (Spotter) plugin for rFactor 2

Discussion in 'Other' started by cosimo, Mar 19, 2014.

  1. Rich Goodwin

    Rich Goodwin Registered

    Joined:
    May 3, 2012
    Messages:
    1,219
    Likes Received:
    9
    Brilliant, that makes total sense.

    I got the civic name from opening the VEH file in carstat 2 so I assume that's the correct one.

    Thanks for the clarifications
     
  2. McFlex

    McFlex Registered

    Joined:
    Feb 23, 2012
    Messages:
    1,031
    Likes Received:
    317
    Which tire temp does the plugin mirror? Contact patch, Rubber, or carcass?
     
  3. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    The one defined in the DefaultRules.ini is InnerLayer ( between carcass and external) - so rubber
     
  4. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    Plugin v0.5 Available

    - Rework the NextSlower event (when you cut the start line and if you make a faster lap than him with a gap >=0.1 and <=3 seconds)
    - Rework the BehindFaster (when he cut the start line and if he make a faster lap than you with a gap >=0.1 and <=3 seconds)
    - Now Break Temp & Tire Temp are checked at UpdateScoring as soon as you are not in an initial lap (first lap after jumping from the monitor to the car)
    - New Pit Stop Count Down event. Once you have been once at your pit stop area (meaning speed near 0 in pilane), the next time you enter the pilane the spotter will tell you at how many seconds your are from your pit stop area (5 - 4 - 3 - 2 - 1). Usefull in NASCAR race where they are so many car in pitlane that you on't know were is your pit.
     
  5. Rich Goodwin

    Rich Goodwin Registered

    Joined:
    May 3, 2012
    Messages:
    1,219
    Likes Received:
    9
    BRILLIANT feature
     
  6. LeStrat

    LeStrat Registered

    Joined:
    Mar 17, 2013
    Messages:
    281
    Likes Received:
    145
    Thanks Gerald, this plugin is great.
     
  7. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    Plugin v0.6 Available

    - Add CarInRadius event (car at left, car at right, car both side, all clear) -> this event have a detail=3 so you can put maxDetailLevel=2 to avoid it
     
  8. TIG_green

    TIG_green Registered

    Joined:
    Jul 21, 2012
    Messages:
    3,038
    Likes Received:
    44
    Some feedback for 0.5:

    - No CTD anymore (didn't copy basic dll to 32bin becuase I'm using 64bit version, not sure if it affected)
    - Didn't get blue flag message (though I don't need one)
    - Didn't get "faster than you by X/slower than you by X" message if I was leading. It worked when I drove in the middle. If it doesn't work in lead because there isn't anybody in front then could you make it to say only "the car behind you have been X slower/faster than you in the few last laps"?

    Some suggestions:

    - Could you add that your spotter tells you your lap time like the ISI spotter. I know that there are other messages that come right after you finish a lap but could you programm it so it say it like 10 sec after you have completed a lap? message "your last lap was X"
    - Would be cool if you would get a message in the finish, like "Nice job, you won the race!", "Better luck next time", "Good job, you're on the podium" , "P5, we will get them next time" etc.
    - Could we get a message that tells you about worn tyres or damaged car? This would be really cool.

    Thanks for listening :)
     
  9. Rich Goodwin

    Rich Goodwin Registered

    Joined:
    May 3, 2012
    Messages:
    1,219
    Likes Received:
    9
    TIG it already gives an end of race message. I had "well done, we finished in the points" or something similar.

    I guess that's linked to the rules ini
     
  10. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    As i said, the default rules tell only "car behind you is faster...", and "car in front of you is slower...", so when you are the leader you will only have the "car behind you is faster..." - i checked and it works

    Some suggestions:
    Don't forget, the goal of the spotter is to be fully customizable, if the spotter don't have it (yet or never), you can add it yourself. For example this feature is already possible (just get the NUM_xxxx.wav of the ISI Commentary MAS and look the event PlayerLaptime from their ini, you will be able to add it in my spotter)

    Already exists

    Yes i will implements those things
     
  11. TIG_green

    TIG_green Registered

    Joined:
    Jul 21, 2012
    Messages:
    3,038
    Likes Received:
    44
    Didn't get those messages as a leading car (faster/slower behind/in front)... only a fact...otherwise it worked. Maybe you could check it?

    Do know how to mess with MAS files :p

    Raced two races but didn't get anything when I finished (P1 and P10)... please check what could be the reason :)

    Thanks for the last one :) looking forward to it!
     
  12. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    I just did a race, finished P1 and had the correct message. Will look if i find something but it seems to work.
     
  13. nickbalti

    nickbalti Registered

    Joined:
    Jan 12, 2012
    Messages:
    383
    Likes Received:
    8
    I copied the files to the correct directory but when I start a race the plugin icon on the top left is not showing. Can you try assist?
     
  14. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    Where did you put the dll and the config directory?
     
  15. nickbalti

    nickbalti Registered

    Joined:
    Jan 12, 2012
    Messages:
    383
    Likes Received:
    8
    Oops. My bad, it didn't work on single player but worked online. Thank you.


    Sent from my iPhone using Tapatalk
     
  16. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    No difference. It work on both
     
  17. matf1

    matf1 Registered

    Joined:
    Dec 27, 2011
    Messages:
    671
    Likes Received:
    2
    Hi Gerald, I just wanted to pass on my thanks for this wonderful work, it really adds to the experience and I cannot wait to see it develop.
    I'm not sure I hear the faster/slower messages but everything else is coming through ok. The only big issue I have is normalisation of the sound files. Sound was balanced for 0.5 and in 0.6 the computer generated voices are too low in volume.
     
  18. Rik

    Rik Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,174
    Likes Received:
    9
    For me 0.6 has good sound, but i've not tried 0.5
    what requirements must have the audio file?
     
  19. TIG_green

    TIG_green Registered

    Joined:
    Jul 21, 2012
    Messages:
    3,038
    Likes Received:
    44
    Haven't tried 0.6 yet... used 0.5 online yesterday and still didn't get any finish message. You probably have tested it with 64bit version too? (that's what I'm using)
     
  20. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    yes
     

Share This Page