[REL] rF2 Spotter Plugin

Discussion in 'Other' started by Gerald Jacobson, Oct 17, 2014.

  1. jefcam

    jefcam Registered

    Joined:
    Feb 10, 2011
    Messages:
    261
    Likes Received:
    108
    This command File=[DriverName] is good only to call you name only and not for other drivers.

    I was experimenting with the command: NumVehicleB], but had no luck. It seems that also this command is giving the same results.

    I tried this but had no luck:
    Input 3 is NumVehicle

    // Tell when a car is going to pit (in race and it it is not me)
    Event=AnyCarPitIn
    {
    // Event properties (note that these are not applied if this event is played by another event)
    Detail=2
    Spacing=0.0
    Priority=1
    Probability=1.0
    TTL=15.0
    Break=0.25

    // Repeat until duration ends
    Repeat=Off
    Duration=0.0

    // Volume can be set before individual Files if necessary
    Volume=1.0

    Variable=Session {
    Value=10,13 {
    Variable=Input1
    {
    Value=0 {
    Variable=Input2
    {
    File=driver_at.wav
    PlayEvent=PlaceNum


    Variable=Input3
    {
    Value=01 {
    File=jeffrey camilleri.wav
    }
    Value=02 {
    File=jason muscat.wav
    }
    Value=03 {
    File=riccardo flask.wav
    }
    Value=04 {
    File=louis camilleri.wav
    }
    Value=05 {
    File=noel attard.wav
    }
    Value=06 {
    File=kevin sammut.wav
    }
    Value=07 {
    File=andrew porsella-flores.wav
    }
    Value=08 {
    File=mark buttigieg.wav
    }
    Value=09 {
    File=noel attard.wav
    }
    Value=10 {
    File=mark buttigieg.wav
    }
    Value=11 {
    File=andrew porsella-flores.wav
    }
    Value=12 {
    File=kevin sammut.wav
    }

    }



    File=going_to_pit.wav
    }
    }
    }
    }
    }
    }
     
  2. Rik

    Rik Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,174
    Likes Received:
    9
    Italian translation
     
    Last edited by a moderator: Apr 13, 2015
  3. PRC Steve

    PRC Steve Registered

    Joined:
    Sep 27, 2012
    Messages:
    1,301
    Likes Received:
    11
  4. Juergen-BY

    Juergen-BY Registered

    Joined:
    Jun 16, 2012
    Messages:
    3,089
    Likes Received:
    440
  5. jimcarrel

    jimcarrel Registered

    Joined:
    Jan 15, 2012
    Messages:
    1,720
    Likes Received:
    24
    I've been using this plugin for about 1 week, just the original download (newest) with no tweaks. The thing is, I always get the low tire temp warning, no matter tire temps, nor track, nor car.

    Is this output broken? Should I just zero out it's probability so it no longer gives bogus information. Or is there a fix??

    Sometimes I miss correct corner entrance because I find myself arguing in my mind as to why can't I do something about this.

    Other than that, it's enjoyable.
     
  6. argo0

    argo0 Registered

    Joined:
    Jan 22, 2012
    Messages:
    624
    Likes Received:
    8
    You can configure the plugin to tell you about low and high tyre temps that would be correct for the mod your using. Problem is, I don't know the correct temps and haven't got time to research them. Or the time to enter them all in the correct place in the ini. I'm afraid that sort of thing takes me hours, so I've been putting up with it warning me about temps incorrectly. Shame really because the plugin is really great.
    I'd love for someone who is able to do that sort of thing quickly and correctly to upload an ini with all this info already present and correct. I'm not lazy, it just really doesn't come very naturally to me. Would take me ages and I'd no doubt bugger it up.
     
  7. Juergen-BY

    Juergen-BY Registered

    Joined:
    Jun 16, 2012
    Messages:
    3,089
    Likes Received:
    440
    Let do CarStat2 the Job, takes Seconds, to figure out, wich are the right Temps ;)

    View attachment 16415
     
  8. Rinussie

    Rinussie Registered

    Joined:
    Jan 11, 2012
    Messages:
    75
    Likes Received:
    9
    First of al great plugin and I love your work.

    Did you tested the plugin during a driver swap already as you stated Here
     
  9. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
  10. jefcam

    jefcam Registered

    Joined:
    Feb 10, 2011
    Messages:
    261
    Likes Received:
    108
    Any update of this great plugin?

    I think it needs:

    1. When spotter says time splits they are the best splits and not the self splits.

    2. Drivers callnames (i've tested a lot with File=[DriverName] but had no luck.
     
  11. argo0

    argo0 Registered

    Joined:
    Jan 22, 2012
    Messages:
    624
    Likes Received:
    8
    Hi,
    Still using this great plugin(thanks Gerald)but having trouble getting the spotter to read the tyre too hot/cold' info from the vehicle class ini. I've tried this entry -
    [KartJunior_2014]
    category.name=KJ
    v:brakeTooHot=350
    v:brakeTooCold=170
    v:tireTooHot=100
    v:tireTooCold=45
    but it isnt working, or at least, its telling me the tyres are too cold when they are above 45 according to the MFD.
    What am I doing wrong?
     
  12. shiet

    shiet Registered

    Joined:
    Nov 3, 2014
    Messages:
    455
    Likes Received:
    217
    Hi,

    thank you for this awesome mod. Finally I have a spotter in rF2 after 2 years... :D
    I would like to ask a question: is it possible to assign multiple "sentences" to an action?
    For example there is a car on my left. Right now the spotter tells me only one time "car left" but it would be nice if after the first warning it would tell me "still there" or "keep right" or "hold your line" (randomly) until it's clear.
     
  13. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,010
    Likes Received:
    1,072
    I'd love someone to adapt the JJ Spotter pack for n2k3 for this mod! :D
     
  14. Juergen-BY

    Juergen-BY Registered

    Joined:
    Jun 16, 2012
    Messages:
    3,089
    Likes Received:
    440
    should be possible, because it`s working similar with best laptimes (random sentences)
     
  15. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,010
    Likes Received:
    1,072
    Not sure anyone else has found this but the spotter plugin crashes dev mode in 64 and 32 bit.
     
  16. MaD_King

    MaD_King Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,827
    Likes Received:
    611
    Do you added the configuration files into the <Data>/ModDev/UserData/player folder too, like you do in the <Data>/Userdata/player for the Single Player?
     
  17. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,010
    Likes Received:
    1,072
    Thanks, you are a star :)
     
  18. jefcam

    jefcam Registered

    Joined:
    Feb 10, 2011
    Messages:
    261
    Likes Received:
    108
    Any updates for this spotter?
     
  19. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    Hi,
    No, and i just made the test for using filename using driver names and it works like expected.

    To Test it:
    I have added a rule.29 in DefaultRules.ini and change the rule number
    Code:
    Rules.count=29
    ...
    ...
    ...
    [Rule.29]
    Trigger=PitOut
    Event=PitOut
    
    Then i've updated the PitOut event in the defaultEvents.ini
    Code:
    Event=PitOut
    {
    // Event properties (note that these are not applied if this event is played by another event)
      Detail=1  
      Spacing=0.0
      Priority=0.4
      Probability=1.0
      TTL=5.0
      Break=0.25
      
      // Repeat until duration ends
      Repeat=Off
      Duration=0.0
    
      Volume=1.0
    
    	File=[DriverName]
    }
    
    And i have created files for the drivers in the game.
    ex: if a driver name is displayed as "Michael Alesh" i have created a file "Michael Alesh.wav" under "Spotter/Sounds/Drivers" directory

    And each time a car exit the pit, it play the wav corresponding to its name
     
  20. jefcam

    jefcam Registered

    Joined:
    Feb 10, 2011
    Messages:
    261
    Likes Received:
    108
    Hi Gerald good to see you back on this wonderful plugin.

    I will test your script tomorrow but changing it to PitIn as it makes more sense.

    However once I did this and did not work for me:

    // Tell when a car is going to pit (in race and it it is not me)
    Event=AnyCarPitIn
    {
    // Event properties (note that these are not applied if this event is played by another event)
    Detail=2
    Spacing=0.0
    Priority=1
    Probability=1.0
    TTL=15.0
    Break=0.25

    // Repeat until duration ends
    Repeat=Off
    Duration=0.0

    // Volume can be set before individual Files if necessary
    Volume=1.0

    Variable=Session {
    Value=10,13 {
    Variable=Input1
    {
    Value=0 {
    Variable=Input2
    {
    File=driver_at.wav
    PlayEvent=PlaceNum
    File=[DriverName]
    File=going_to_pit.wav
    }
    }
    }
    }
    }
    }
     

Share This Page