Welcome, Please Register or Login

Forums \ Street Legal Series \ F.A.Q / Help Section \ Need Help Adding a Part

Author Message
#1\2017-03-17 20:16
Apologies if whatever I'm doing wrong seems noobish, but I really can't tell what I'm doing wrong.

I'm trying to turn the scoop from the Pro Stock Camaro into a standalone part. I've used the RPK Creator & I believe I've set up the data folder correctly, however I cannot seem to get the part to show up in game.

I've attached the files I think I need to change & any help is appreciated, thanks

Files
#2\2017-03-17 21:05

Administrator
9
Offline

Posts: 2245


us United States

Use this for your java file


Also at the very bottom of your rpk delete the "sl" in the file directory.
GOM-Team Zookeeper
#3\2017-03-17 21:20
Thanks Defiant, its now in the catalog, would I then need to add a slot onto the car's hood for this to attach - I want it on top of a cowl induction hood on another car - and if so, what would I type? I'm somewhat familiar with adding slots & adjusting positions, but I'm not sure which slot this takes up
#4\2017-03-17 21:40

Administrator
9
Offline

Posts: 2245


us United States

Yeah you would need to add a slot in the cfg for the hood and also create a matching attach id in the cfg of the scoop. I would personally just put a wing slot in the cfg so it could attach to any car.
GOM-Team Zookeeper
#5\2017-03-17 21:48
That works, just two more things I need sorry, how do I make it paintable & why can't I move it with the adjustable parts scripts? I know I can do it in cfg but it seems a bit of a hassle to have to do that for every car I want to put it on
#6\2017-03-17 22:38

Administrator
9
Offline

Posts: 2245


us United States

oh my fault the java code I posted should've said: import java.game.parts.bodypart.*;


to make a part paintable it needs to be set that way in a 3d program first.
GOM-Team Zookeeper
#7\2017-03-18 07:21
Should it be adjustable with that change? Because it still won't let me move it
#8\2017-03-18 12:46

Content Admin
6
Offline

Posts: 4231


00

I use this to move parts:
http://streetlegalmods.com/downloads/game/misc-parts/2733-Parts-moved-complete--2-pattern-script-set

WARNING!!! YOU WILL NEED TO START A NEW CAREER!!!