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

Thank you, and yes it would be perfect for me if you use the vehicle class instead of the name.

Additionnaly, i think a way to be able to take into account tire type, for exemple
[Megane Trophy V6]
[Megane Trophy V6.<TireType>]
[Megane Trophy V6.<OtherTireType>]

And so the plugin will look first at [<Class>.<TireType>] and if not found, it will load at [<Class>] and if not found it will look at [DEFAULT]

Finally, i will recheck the megane break range, as i found 130<->500 when looking with the carstat application
 
Hi Gerald, had a race on sunday with the spotter. Was really good. Buuut ;) one thing i noticed. Driver x entered the pit i heard some times. Didn't know if it was correct. But later i was in 4 and heard: driver in 3 place enters pit, but he was right in front of me...
 
Thanks, for the feedback, i will make more tests.

V1.2 available
- fix "finish" message who is played several time
- enhance spotter message (car at right, car at left, etc...) to avoid playing obsolete message
 
Where do I find the vehicle class?

Gerald can you give me an example of how I would script the different tires?
 
OK, my silly mistake ... works fine now. I put the dll's in the /bin folders, but not down to the bin/plugin folder ... duh.

FYI, for those having trouble, there is a text announcement in the chat when the spotter loads, so you know it's installed.

Thanks to all, a great addition
 
There are files in ".mas" under userdata/installed/vehicle/.....


hmm my folder structure is different to yours for some reason

documents/rfactor2/Installed/Vehicles in there I find folders for each vehicle containing mas files and mft file

does that sound like the right place to be looking for the vehicle class names?
 
Hey MOD43, Open the MAS2.exe in the rFactor 2 folder. Click File > Open, then browse for the *.mas file you want to check. Open the *_Team(s).mas and right click on the *.veh file and extract.

Now you can open it in a text editor.
 
Hey MOD43, Open the MAS2.exe in the rFactor 2 folder. Click File > Open, then browse for the *.mas file you want to check. Open the *_Team(s).mas and right click on the *.veh file and extract.

Now you can open it in a text editor.

Thanks for your advice

below is a copy of one I have opened. Is the vehicle class for the DW12 "Indycar" ?


DefaultLivery="DW12_77.DDS"

HDVehicle=DW12.hdv
Graphics=DW12.gen
Spinner=DW12_Spinner.gen
Upgrades="DW12_Upgrades.ini" // Vehicle upgrades information
GenString=DW12 // Used to generate GMT names in *.gen file
Cameras=DW12.cam // Defaults to cams.cfg in UserData directory
Sounds=DW12.sfx
HeadPhysics=headphysics.ini // Affects driver eyepoint only
Cockpit=DW12_cockpitinfo.ini
AIUpgradeClass=IndyCar_2014_Honda

BaseVehiclePrice=0
UnlockExperience=0

//////////////////////////TEAM HISTORY AND INFORMATION/////////////////////////////////////////

Number=77
Team="Team Stock"
PitGroup="Group2"
Driver="Ethan Paginer"
Description="Dallara DW12 #77"
Engine="Honda"
Manufacturer="Dallara"
Classes="Indycar"

FullTeamName="Team Stock"
TeamFounded=2005
TeamHeadquarters="Benton Harbour, USA"
TeamStarts=0
TeamPoles=0
TeamWins=0
TeamWorldChampionships=0


Category="Indycar"
 
Updated
- now in alphabetical order
- correct vehicle class
- additional cars added


500AssettoCorse

v:breakTooHot=
v:breakTooCold=

v:tireTooHot=
v:tireTooCold=

1979_un

v:breakTooHot=
v:breakTooCold=

v:tireTooHot=
v:tireTooCold=

Brabham BT20

v:breakTooHot=555
v:breakTooCold=300

v:tireTooHot=
v:tireTooCold=

Caterham

v:breakTooHot=
v:breakTooCold=

v:tireTooHot=
v:tireTooCold=

Clio_Cup

v:breakTooHot=500
v:breakTooCold=300

v:tireTooHot=
v:tireTooCold=

Eve_F1

v:breakTooHot=555
v:breakTooCold=300

v:tireTooHot=
v:tireTooCold=

Eve_ F2

v:breakTooHot=555
v:breakTooCold=300

v:tireTooHot=
v:tireTooCold=

Eve_ F3

v:breakTooHot=555
v:breakTooCold=300

v:tireTooHot=
v:tireTooCold=

F1ASR92V1

v:breakTooHot=
v:breakTooCold=

v:tireTooHot=
v:tireTooCold=

FIAGT3 799R GT3

v:breakTooHot=
v:breakTooCold=

v:tireTooHot=
v:tireTooCold=

F2_2012

v:breakTooHot=
v:breakTooCold=

v:tireTooHot=
v:tireTooCold=

FISI_2012

v:breakTooHot=688
v:breakTooCold=411

v:tireTooHot=
v:tireTooCold=


FR3.5_2014

v:breakTooHot=
v:breakTooCold=

v:tireTooHot=
v:tireTooCold=

GT1_GTR

v:breakTooHot=700
v:breakTooCold=400

v:tireTooHot=
v:tireTooCold=

GT2_C6R

v:breakTooHot=530
v:breakTooCold=485

v:tireTooHot=
v:tireTooCold=

GT3_Camaro

v:breakTooHot=595
v:breakTooCold=300

v:tireTooHot=
v:tireTooCold=

GT4_370z

v:breakTooHot=595
v:breakTooCold=300

v:tireTooHot=
v:tireTooCold=

Howston_G6_MkI_65

v:breakTooHot=
v:breakTooCold=

v:tireTooHot=
v:tireTooCold=

IFS3

v:breakTooHot=700
v:breakTooCold=200

v:tireTooHot=
v:tireTooCold=


Indycar

v:breakTooHot=
v:breakTooCold=

v:tireTooHot=
v:tireTooCold=


KartF1_2014

v:breakTooHot=
v:breakTooCold=

v:tireTooHot=
v:tireTooCold=

Marussia_MR01

v:breakTooHot=
v:breakTooCold=

v:tireTooHot=
v:tireTooCold=

Megane_Trophy

v:breakTooHot=650
v:breakTooCold=300

v:tireTooHot=
v:tireTooCold=


Panoz_Roadster

v:breakTooHot=495
v:breakTooCold=275

v:tireTooHot=
v:tireTooCold=

Quad_2014

v:breakTooHot=
v:breakTooCold=

v:tireTooHot=
v:tireTooCold=


Skip_Barber_Regional

v:breakTooHot=560
v:breakTooCold=265

v:tireTooHot=
v:tireTooCold=

Spark_F1

v:breakTooHot=555
v:breakTooCold=300

v:tireTooHot=
v:tireTooCold=

Spark_F2
v:breakTooHot=555
v:breakTooCold=300

v:tireTooHot=
v:tireTooCold=

Spark_F3

v:breakTooHot=555
v:breakTooCold=300

v:tireTooHot=
v:tireTooCold=

StockV8
v:breakTooHot=
v:breakTooCold=

v:tireTooHot=
v:tireTooCold=
 
V1.2 available
- fix "finish" message who is played several time
- enhance spotter message (car at right, car at left, etc...) to avoid playing obsolete message
Thanks for your effort, Gerald. :cool:

I have noticed that the file for the vehicle classes is named "vehiculeClass.ini". Should this file be renamed to "vehicleClass.ini"?
 
Back
Top