Author | Message |
g4tnt
Posts: 383
Location: Ireland Occupation: Age: 38 V$: |
#1 2013-01-28 02:59 |
is it possible to add a new part in the main car java iv tried but it doesnt show up or am i doing something wrong
stock_parts_list_F = new int[4]; stock_parts_list_F[ 0] = cars.racers.Nissan_Skyline_GTR_R34:0x0000010Fr; // "F bumper" // stock_parts_list_F[ 1] = cars.racers.Nissan_Skyline_GTR_R34:0x0000010Dr; // "hood" // stock_parts_list_F[ 2] = cars.racers.Nissan_Skyline_GTR_R34:0x0000010Br; // "F windshield" // stock_parts_list_F[ 2] = cars.racers.Nissan_Skyline_GTR_R34:0x0000010Fr; // "F bumper lip" // this is what iv added in red but no joy im assuming i need to do somthing els to get it to show up in game the mod is diman 333's GT-R R34 |
|
its all about the mods
|
|
RedCarDriver
Posts: 1211
Location: United States Arizona Occupation: it's complicated... more complicated than my relationships Age: 30 V$: 86310 |
#2 2013-01-28 05:05 |
You have to change "stock_parts_list_F[ 2]" to "stock_parts_list_F[ 3]". Otherwise it will try to overwrite the part already at position 2 in the array.
|
|
|
|
g4tnt
Posts: 383
Location: Ireland Occupation: Age: 38 V$: |
#3 2013-01-28 14:00 |
cheers for the reply but it's still not showing up on the car will i need to edit more then just the java file
|
|
its all about the mods
|
|
Mario
Posts: 703
Location: Bulgaria Sofia Occupation: Fast way Age: 121 V$: |
#4 2013-01-28 18:34 |
You should make it in the bumper java
This post was edited by Mario (2013-01-28 18:39, ago) |
|
|
|
g4tnt
Posts: 383
Location: Ireland Occupation: Age: 38 V$: |
#5 2013-01-28 20:17 |
ill try that now will let you know how i get on
ok now noob moment where in the bumper java do i add the lip sorry now still kinda new to this This post was edited by g4tnt (2013-01-28 20:39, ago) |
|
its all about the mods
|
|
Mario
Posts: 703
Location: Bulgaria Sofia Occupation: Fast way Age: 121 V$: |
#6 2013-01-28 22:07 |
It's should work from the main java too, but see this:
stock_parts_list_F = new int[4]; stock_parts_list_F[ 0] = cars.racers.Nissan_Skyline_GTR_R34:0x0000010Fr; // "F bumper" // stock_parts_list_F[ 1] = cars.racers.Nissan_Skyline_GTR_R34:0x0000010Dr; // "hood" // stock_parts_list_F[ 2] = cars.racers.Nissan_Skyline_GTR_R34:0x0000010Br; // "F windshield" // stock_parts_list_F[ 2] = cars.racers.Nissan_Skyline_GTR_R34:0x0000010Fr; // "F bumper lip" // Are you have them in this way ? with the same ID's The name after the ID doesn't matter, it's just for you. But ID need to be the proper one Open the cfg of the lip, there is Resource ID line. Copy/paste the ID from there This post was edited by Mario (2013-01-28 22:15, ago) |
|
|
|
g4tnt
Posts: 383
Location: Ireland Occupation: Age: 38 V$: |
#7 2013-01-28 22:46 |
thanks mate i got it now cant belive i didnt spot it, was meant to be
stock_parts_list_F[ 3] = cars.racers.Nissan_Skyline_GTR_R34:0x0000110Fr; // "F bumper lip" // but it works now thanks again much appreciated |
|
its all about the mods
|