Welcome, Please Register or Login

Forums \ Street Legal Series \ F.A.Q / Help Section \ Car parts appearing in every other car's catalog.

Author Message
#1\2017-04-14 17:44

Members
2
Offline

Posts: 126


es Spain

I've been wandering back and forth, and i haven't found the solution, so I'm asking for a helping hand.

I've been fixing some mods lately, and a couple of them have their body parts always in the catalog, even while I switch to a different car. They are just there.

¿Where did I made the mistake? ¿How to solve it?

Thanks in advance.
#2\2017-04-14 18:54

Content Admin
6
Offline

Posts: 1256

W3ST
gb United Kingdom

Change the super i'ds.

#3\2017-04-15 05:59

Members
2
Offline

Posts: 126


es Spain

Thanks for trying, but that wasn't helpful at all...

EDIT: Never mind, found the way myself.

If you assign directly a catalog super ID to a part, it will appear for every car. You have to create a new category linked to that super ID first, assign it a type ID, and then refer the parts you want to that type ID.


This post was edited by Caballo (2017-04-15 06:26, 5 months ago)
#4\2017-04-15 09:44

Members
2
Offline

Posts: 131


us United States

Caballo, that's really helpful, I had noticed a rescript I worked on was doing this and now I know how to fix it for the update. Thank you.
#5\2017-04-15 09:54

Forum Moderator
5
Offline

Posts: 1201


pt Portugal

or just open the javas of the car parts that's showing in all cars parts and change carCategory from COMMON to PACKAGE.
#6\2017-04-15 10:12

Members
2
Offline

Posts: 131


us United States

I have the civic I worked on set up like that Gorgoil but in 2.2.1 LE2MWM the parts still show for all cars. doesn't for 2.3.1 though.

edit: I'm fairly certain I'll also have to set the parent Id's in rpk, at least to make it work right in LE2MWM.
This post was edited by Krimzon (2017-04-15 10:24, 5 months ago)
#7\2017-04-15 11:03

Members
2
Offline

Posts: 126


es Spain

2017-04-15 15:54#282151 gorgoil : or just open the javas of the car parts that's showing in all cars parts and change carCategory from COMMON to PACKAGE.

That was the first step I took, and it doesn't work. At least not in 2.2.1.


2017-04-15 15:44#282150 Krimzon : Caballo, that's really helpful, I had noticed a rescript I worked on was doing this and now I know how to fix it for the update. Thank you.

I can make a more elaborated example if you need one now I know how to do it.
#8\2017-04-15 11:22

Members
2
Offline

Posts: 131


us United States

I understand what you're saying completely, and I know how to implement it myself now that you've brought it to light. You might work on a well structured tut and drop it in the tutorial section as it is definitely a helpful piece of info.

I can confirm that what Gorgoil mentioned works in 2.3.1, maybe even 2.3.0, but as we both noticed it isn't enough for 2.2.1.
#9\2017-04-15 13:48

Administrator
9
Offline

Posts: 2248


us United States

This is what I did to fix the Fox body stock/replacement catalog. Same principle applies to parts appearing in every catalog. Just posting this here for people who search for this answer so they can copy & paste it.

<FILE 00000496.res >
typeof 8
superid 0x0004F242
typeid 0x00000184
alias >Replacement
isparentcompatible 1.00
</FILE>
<FILE 00000496.rsd >
lod_amp 3.000
</FILE>
<FILE 00000497.res >
typeof 8
superid 0x00000184
typeid 0x0000011D
alias F
isparentcompatible 1.00
</FILE>
<FILE 00000497.rsd >
script cars\racers\Mustang_Foxbody_data\scripts\Mustang_Foxbody_F_bumper_2.class
native part cars\racers\Mustang_Foxbody_data\scripts\F_bumper_2.cfg
lod_amp 3.000
</FILE>
GOM-Team Zookeeper