Ok this is my first tutorial,and im not really good at this but i will try 😃
So... you may want to play "LEGALY" by instead of going to vehicle catalog,you want to go to dealer and get a car which most of the times it's cheaper... It's quite simple...First go to the car's VT.java you want to edit (where at the fck is that?) that is in SLRR/cars/racers/carname*/scripts/src,there you will find a java that ends with "VT" Let's take a car like... hmm Jesus christ's
Ok
Here is a sample(this is the Duhen_VT java from Jesus christ's EK9) i didn't take whole part but only last lines... (whole java is around 300 lines)
Spoiler: // SunStrip 1.8 DVC //
vmd=new VehicleModel( cars.racers.Duhen:0x00000126r, VS_DRACE );
vtdarr.addElement( vmd );
vmd.prevalence = 2050.0;
vmd.minPower = 1.0; vmd.maxPower = 1.75;
vmd.minOptical = 1.0; vmd.maxOptical = 2.0;
vmd.minTear = 1.0; vmd.maxTear = 1.0;
vmd.minWear = 1.0; vmd.maxWear = 1.0;
vmd.stockPrestige=292; vmd.fullPrestige= 313;
vmd.stockQM = qm_stock_Duhen_SunStrip_1_8_DVC; vmd.fullQM = qm_full_Duhen_SunStrip_1_8_DVC;
vmd.vehicleName = "Duhen SunStrip 1.8 DVC";
prevalence += vmd.prevalence;
vmd=new VehicleModel( cars.racers.Duhen:0x00000126r, VS_NRACE );
vtdarr.addElement( vmd );
vmd.prevalence = 650.0;
vmd.minPower = 1.7; vmd.maxPower = 2.0;
vmd.minOptical = 1.0; vmd.maxOptical = 2.0;
vmd.stockPrestige=292; vmd.fullPrestige= 313;
vmd.stockQM = qm_stock_Duhen_SunStrip_1_8_DVC; vmd.fullQM = qm_full_Duhen_SunStrip_1_8_DVC;
vmd.vehicleName = "Duhen SunStrip 1.8 DVC";
// SunStrip 2.2 DVC //
vmd=new VehicleModel( cars.racers.Duhen:0x00000127r, VS_DRACE );
vtdarr.addElement( vmd );
vmd.prevalence = 650.0;
vmd.minPower = 1.0; vmd.maxPower = 1.5;
vmd.minOptical = 1.0; vmd.maxOptical = 2.0;
vmd.minTear = 1.0; vmd.maxTear = 1.0;
vmd.minWear = 1.0; vmd.maxWear = 1.0;
vmd.stockPrestige=297; vmd.fullPrestige= 317;
vmd.stockQM = qm_stock_Duhen_SunStrip_2_2_DVC; vmd.fullQM = qm_full_Duhen_SunStrip_2_2_DVC;
vmd.vehicleName = "Duhen SunStrip 2.2 DVC";
prevalence += vmd.prevalence;
vmd=new VehicleModel( cars.racers.Duhen:0x00000127r, VS_NRACE );
vtdarr.addElement( vmd );
vmd.prevalence = 950.0;
vmd.minPower = 1.7; vmd.maxPower = 2.0;
vmd.minOptical = 1.0; vmd.maxOptical = 2.0;
vmd.stockPrestige=297; vmd.fullPrestige= 317;
vmd.stockQM = qm_stock_Duhen_SunStrip_2_2_DVC; vmd.fullQM = qm_full_Duhen_SunStrip_2_2_DVC;
vmd.vehicleName = "Duhen SunStrip 2.2 DVC";
// Racing SunStrip 2.0 CDVC //
vmd=new VehicleModel( cars.racers.Duhen:0x00000128r, VS_DRACE | VS_NRACE );
vtdarr.addElement( vmd );
vmd.prevalence = 800.0;
vmd.minPower = 1.0; vmd.maxPower = 2.0;
vmd.minOptical = 1.0; vmd.maxOptical = 2.0;
vmd.minTear = 0.75; vmd.maxTear = 1.0;
vmd.minWear = 0.75; vmd.maxWear = 1.0;
vmd.stockPrestige=458; vmd.fullPrestige= 482;
vmd.stockQM = qm_stock_Duhen_Racing_SunStrip_2_0_CDVC; vmd.fullQM = qm_full_Duhen_Racing_SunStrip_2_0_CDVC;
vmd.vehicleName = "Duhen Racing SunStrip 2.0 CDVC";
prevalence += vmd.prevalence;
vmd=new VehicleModel( cars.racers.Duhen:0x00000128r, VS_RRACE );
vtdarr.addElement( vmd );
vmd.prevalence = 800.0;
vmd.minPower = 1.4; vmd.maxPower = 2.0;
vmd.minOptical = 1.0; vmd.maxOptical = 2.0;
vmd.minTear = 1.0; vmd.maxTear = 1.0;
vmd.minWear = 1.0; vmd.maxWear = 1.0;
vmd.stockPrestige=458; vmd.fullPrestige= 482;
vmd.stockQM = qm_stock_Duhen_Racing_SunStrip_2_0_CDVC; vmd.fullQM = qm_full_Duhen_Racing_SunStrip_2_0_CDVC;
vmd.vehicleName = "Duhen Racing SunStrip 2.0 CDVC";
// make color indexes //
addColorIndex(GameLogic.RID_CARCOLOR_Baiern_Devils_eye_red);
addColorIndex(GameLogic.RID_CARCOLOR_Baiern_Spring_yellow);
addColorIndex(GameLogic.RID_CARCOLOR_Einvagen_Zucker);
addColorIndex(GameLogic.RID_CARCOLOR_Einvagen_Tornado_rot);
addColorIndex(GameLogic.RID_CARCOLOR_Einvagen_Nacht);
addColorIndex(GameLogic.RID_CARCOLOR_Einvagen_Smaragd);
addColorIndex(GameLogic.RID_CARCOLOR_Einvagen_Black_mage);
addColorIndex(GameLogic.RID_CARCOLOR_Einvagen_Hamvas_Grun);
addColorIndex(GameLogic.RID_CARCOLOR_Einvagen_Indigo);
addColorIndex(GameLogic.RID_CARCOLOR_Einvagen_Jazz);
addColorIndex(GameLogic.RID_CARCOLOR_Einvagen_Antracit);
addColorIndex(GameLogic.RID_CARCOLOR_Einvagen_Mercator_Blau);
addColorIndex(GameLogic.RID_CARCOLOR_Einvagen_Murano);
addColorIndex(GameLogic.RID_CARCOLOR_Einvagen_Champagner);
addColorIndex(GameLogic.RID_CARCOLOR_Einvagen_Ozean);
addColorIndex(GameLogic.RID_CARCOLOR_Einvagen_Reflex);
addColorIndex(GameLogic.RID_CARCOLOR_Einvagen_Saratoga);
// prevalence *= 1000.0;
}
Edit this orange number to change car's appeareance in dealers,lower value to make it appear less often and higher the value to make the car appear more often in the car dealer,simple right?
WARNING: If you do that with the stock slrr cars,if there are not any other addon cars to appear,dealer will be empty and game will just CRASH.
Comment below if you didn't undestand something,and remember... SLRR FTW!
No file was attached to this page.
Archived from VStanced • Street Legal Racing Tutorials • 2013-06-22