Author Message

Hinata23

de
Posts: 695

Location: Germany Sauerland
Occupation: Am I even here?
Age: 20
V$: 14.420
#1   2014-10-10 15:52          
Hey guys.

Just a quick question: Is it anyhow possible to prevent the stock SLRR cars to appear in used car dealership? I'd like to see only modded vehicles there. Right now my used car dealer usually looks like this:

-Einvagen
-Einvagen
-Duhen
-Duhen

But I would like it to have only the cars I added to the game. I'm on STAGE1 btw

Thanks in advance and greets, Hinata


I'm a noob :3

Supremen96

us
Posts: 439

Location: United States Ventura Bay
Occupation: Being Mustang fan
Age: 20
V$:
#2   2014-10-10 16:13          
It'll be removed in BB93's SLRR :P

Hinata23

de
Posts: 695

Location: Germany Sauerland
Occupation: Am I even here?
Age: 20
V$: 14.420
#3   2014-10-10 16:26          
Very constructive ._.

Is there any way to do this on my own? I don't think it's too difficult


I'm a noob :3

mindeliszz

lt
Posts: 547

Location: Lithuania
Occupation: Occupied
Age: 22
V$: One Million Kebabs
#4   2014-10-10 16:34          
i think those 4 cars appears until you buy one of them, but if you want to remove them, i suggest to look at sl/Scripts/game/CarMarket.java
try to remove lines from 66 to 116, the ones which starts with "result"
yes

Hinata23

de
Posts: 695

Location: Germany Sauerland
Occupation: Am I even here?
Age: 20
V$: 14.420
#5   2014-10-10 16:45          
Did that and now there's one modded car and 3 stock ones..


I'm a noob :3

Facepalm

gr
Posts: 1431

Location: Greece
Occupation: dunno
Age: 17
V$: -------
#6   2014-10-10 17:31          
Your best chance is to exit the dealer, change day, and re-enter the Dealership.
I'm trying to figure a way though.

Hinata23

de
Posts: 695

Location: Germany Sauerland
Occupation: Am I even here?
Age: 20
V$: 14.420
#7   2014-10-10 19:36          
Okay, next problem. I found a way to get my addons to the used car dealer. I did all this to start a realistic career in SLRR. But now, every racer by day is a Nissan 370Z without parts and also in the used car dealer, there is only this car since I made a new save..


I'm a noob :3

Facepalm

gr
Posts: 1431

Location: Greece
Occupation: dunno
Age: 17
V$: -------
#8   2014-10-10 19:47          
Ah that. It's not something strange. It happens with the Fiero too.
Go to the car's "*Carname*/Scripts/source" folder, and find the *car*_vt.class file.
Open it and then find this line:
//		prevalence *= 1000.0;
If it's set higher than 1000.0, then lower it to 1000.0

Hinata23

de
Posts: 695

Location: Germany Sauerland
Occupation: Am I even here?
Age: 20
V$: 14.420
#9   2014-10-10 19:49          
Will this get the car off the street only or also off the dealer?


I'm a noob :3

Facepalm

gr
Posts: 1431

Location: Greece
Occupation: dunno
Age: 17
V$: -------
#10   2014-10-10 19:57          
It will reduce the chances of it appearing. It won't be completely vanished, but it should appear less often, I hope. I don't really remember if it worked with the Fiero.
Also, who is that on your profile pic?

stonedmonster

au
Posts: 466

Location: Australia
Occupation:
Age:
V$:
#11   2014-10-10 19:57          
it should keep it there but it won't take over as such like it has so it wont be the only mod it will be randomised like the rest of the cars

Hinata23

de
Posts: 695

Location: Germany Sauerland
Occupation: Am I even here?
Age: 20
V$: 14.420
#12   2014-10-10 20:07          
# Facepalm : Also, who is that on your profile pic?
Look at my occupation :p

@topic: So to get rid of those chassis without parts that are driving around, I should set prevalence to 0.0?

EDIT: Which program am I supposed to use to open the *car*_VT.class file? Notepad++ won't work...

This post was edited by Hinata23 (2014-10-10 20:17, 929 days ago)


I'm a noob :3

Facepalm

gr
Posts: 1431

Location: Greece
Occupation: dunno
Age: 17
V$: -------
#13   2014-10-10 20:17          
Yep :)

Daniel

no
Posts: 3313

Location: Norway
Occupation: Making NK748 jelly since 2009 :O
Age: 20
V$: 18,347
#14   2014-10-10 20:19          
YOU CAN'T OPEN .CLASS FILES.

"Spiritually, everything should be turbocharged" - Turbo Yoda.

Hinata23

de
Posts: 695

Location: Germany Sauerland
Occupation: Am I even here?
Age: 20
V$: 14.420
#15   2014-10-10 20:20          
Well, thank you, Daniel. How am I supposed to edit it then?


I'm a noob :3

Facepalm

gr
Posts: 1431

Location: Greece
Occupation: dunno
Age: 17
V$: -------
#16   2014-10-10 20:32          
Fiiine! Jeez, don't eat me!
I edited the .class file with Notepad++ IDK if there's a specific program for editing .class files.

Daniel

no
Posts: 3313

Location: Norway
Occupation: Making NK748 jelly since 2009 :O
Age: 20
V$: 18,347
#17   2014-10-10 20:35          
Java files create the .class files. And again, you cant edit .class files......

You need java files for what you want to edit.

"Spiritually, everything should be turbocharged" - Turbo Yoda.

Facepalm

gr
Posts: 1431

Location: Greece
Occupation: dunno
Age: 17
V$: -------
#18   2014-10-10 20:39          
I just remembered: It's the .CFG file, not the class file. Typing error.

Hinata23

de
Posts: 695

Location: Germany Sauerland
Occupation: Am I even here?
Age: 20
V$: 14.420
#19   2014-10-10 20:41          
So I would basically have to ask the creator of the mod?

Why not like this right away, Daniel?


I'm a noob :3

Facepalm

gr
Posts: 1431

Location: Greece
Occupation: dunno
Age: 17
V$: -------
#20   2014-10-10 20:45          
Well, I posted instructions. I'll repost them here, now fixed:
Go to the car's "*Carname*/Scripts/source" folder, and find the *car*_vt.cfg file.
Open it and then find this line:
// prevalence *= 1000.0;
If it's set higher than 1000.0, then lower it to 1000.0

Hinata23

de
Posts: 695

Location: Germany Sauerland
Occupation: Am I even here?
Age: 20
V$: 14.420
#21   2014-10-10 20:58          
But that file doesn't exist.. I have no idea how you did it..


I'm a noob :3

stonedmonster

au
Posts: 466

Location: Australia
Occupation:
Age:
V$:
#22   2014-10-10 21:32          
he is trying to send you to a folder that doesnt exist because you dont have the source files(src) which you would see a src folder in the cars scripts which would look like slrr/cars/racers/example/scripts/src im pretty sure but yeah unless you have the source(src) its not editable

Hinata23

de
Posts: 695

Location: Germany Sauerland
Occupation: Am I even here?
Age: 20
V$: 14.420
#23   2014-10-10 21:40          
Ah, I understand... At last. If I trust the surces google gave me, you can't turn class files back to the source. So this problem is not solvable for now. Thank you, guys.


I'm a noob :3

stonedmonster

au
Posts: 466

Location: Australia
Occupation:
Age:
V$:
#24   2014-10-10 21:46          
# Hinata23 : Ah, I understand... At last. If I trust the surces google gave me, you can't turn class files back to the source. So this problem is not solvable for now. Thank you, guys.
it is depending on 2-3 things
1:the creator of the mod is still active
2:he still has the src files
3:he wants to let others use them

ILLKING

us
Posts: 126

Location: United States
Occupation: ILLKING
Age: 26
V$:
#25   2014-10-10 23:39          
If you are careful, You can make src files for it.