VStanced/mods
Submit a mod
Mods Guides Forum Submit a mod Log in Register

Forum

Questions, builds, help and the odd argument. The mods and guides are out front.

How would one go ab...
 
Notifications
Clear all

How would one go about adjusting the rarity of cars in the used car dealer?

7 Posts
4 Users
0 Reactions
3,102 Views
Peashooter26
(@peashooter26_28071)
Active Member
Joined: 9 years ago
Posts: 9
Topic starter   [#431]

I know it would involve editing the java files for the cars, but what file do I edit, and what part of that file do I edit?



   
Quote
JF1
 JF1
(@jf1_12736)
Noble Member
Joined: 12 years ago
Posts: 1166
 

If you want to change what?



   
ReplyQuote
Peashooter26
(@peashooter26_28071)
Active Member
Joined: 9 years ago
Posts: 9
Topic starter  

The rarity of cars in the used car dealer. For example, the stock cars are much too common, and some modded cars never appear at all.



   
ReplyQuote
JF1
 JF1
(@jf1_12736)
Noble Member
Joined: 12 years ago
Posts: 1166
 

Okay, just set up the stage one parts in the main javas for each model, and in the VT, change the ones with the descpower (or something similar) to have a slightly higher prevalance, relevant to the other cars installed.



   
ReplyQuote
RedCarDriver
(@redcardriver_1155)
Member Moderator
Joined: 15 years ago
Posts: 1125
 

If it's one of my mods where I forgot to fix this, there's a line at the bottom that says "prevalence *= 1000000.0;" or something like that. Delete that line and it should be fine.



   
ReplyQuote
Peashooter26
(@peashooter26_28071)
Active Member
Joined: 9 years ago
Posts: 9
Topic starter  

ok well with most cars the VT file is not in a format that I can edit.



   
ReplyQuote
UltimateStance
(@ultimatestance_12236)
Estimable Member
Joined: 12 years ago
Posts: 129
 

If it does not come with javas (an 'src' folder inside the scripts with a (name)_VT in it), then you can't do anything with that car. Either delete it altogether or keep it with its current prevalence.



   
ReplyQuote
Share: