Author Message

EliasFD3S

fr
Posts: 47

Location: France
Occupation: Karting driver
Age: 19
V$:
#1   2018-04-19 13:46          
Hey , im working on the 4AGE and i want to add Turbo Setups. I added the turbo and the exhaust header but i cant make them attachables.
In my turbocharger CFG there is this :
# Vehicle importer wizard generated part configuration file #
# resource ID of this part: 0x000007BF
# resource alias of this part: "turbo1"




lot 0.000 0.000 0.000 0.000 0.000 0.000 750 ; turbo_gas_in_OUT
attach 0x0000A016 750 ; turboheader1->turboheader1_turbo_IN

slot 0.011 -0.112 0.223 0.000 0.000 0.000 752 ; turbo_gas_out_IN

slot 0.021 -0.006 -0.041 0.000 0.000 0.000 753 ; turbo_air_in_IN

slot 0.173 0.143 -0.246 0.000 0.000 0.000 754 ; turbo_air_out_IN

eof

And in my header cfg this :
# Vehicle importer wizard generated part configuration file #
# resource ID of this part: 0x0000A016
# resource alias of this part: "turboheader1"





slot 0.000 0.00 0.000 0.000 0.000 0.000 27 ; exhaust_head_OUT
attach 0x0000A005 13 ; Emer_StreetGT_cylinder_head->cylinder_head_exhaust_header_1_to_3_IN
attach 0x0000A006 13 ; Emer_MotorSport_GT2_cylinder_head->cylinder_head_exhaust_header_1_to_3_IN

slot -0.020 -0.124 0.049 0.000 0.000 0.000 750 ; turboheader1_turbo_IN

slot 0.000 0.000 0.000 0.000 0.000 0.000 500 ; exhaust

I dont know where is the error. Someone could help me ?

Bigg Boss93

it
Posts: 4024
http://rdbl.co/1Hmg5XL
Location: Italy - Sardegna
Occupation: Swimming out of the shit pool
Age: 30
V$: More than you can afford, pal.
#2   2018-04-19 14:06          
YOU PICC'D THE WRONG MANIFOLD, FOOL!


But actually, cant understand crap from this unformatted text, upload tge two cfgs and the rdb or paste them into a [ pre ] tag(preformatted) and a spoiler so i can check them better.
Diegorborges about my Valo fix: "Now all of you must have your slrr folder like this: C:/BIGBOSSisMYlordANDiamHISbitch/SLRR LOL" :O




EliasFD3S

fr
Posts: 47

Location: France
Occupation: Karting driver
Age: 19
V$:
#3   2018-04-19 14:11          
Turbo header CFG:
# Vehicle importer wizard generated part configuration file #
# resource ID of this part: 0x0000A016
# resource alias of this part: "turboheader1"



render 0x0000D016 ;


mesh 0x0000B016
click 0x0000C016

body 0.0 0.0 0.0 0.0 0.0 0.0 9.2 sphere 0.1
noclick
nocollision

category 1


slot 0.000 0.00 0.000 0.000 0.000 0.000 27 ; exhaust_head_OUT
attach 0x0000A005 13 ; Emer_StreetGT_cylinder_head->cylinder_head_exhaust_header_1_to_3_IN
attach 0x0000A006 13 ; Emer_MotorSport_GT2_cylinder_head->cylinder_head_exhaust_header_1_to_3_IN

slot -0.020 -0.124 0.049 0.000 0.000 0.000 750 ; turboheader1_turbo_IN

slot 0.000 0.000 0.000 0.000 0.000 0.000 500 ; exhaust

eof

  • Turbo CFG :
    # Vehicle importer wizard generated part configuration file #
    # resource ID of this part: 0x000007BF
    # resource alias of this part: "turbo1"

    lods 3 0.001 1 2

    render 0x000006BF
    lod 0 0 //lo-res

    render 0x000006BF ; "turbocharger - 1 1"
    lod 1 1 //hi-res

    render 0x000006BF
    lod 2 2 //extr-hi-res


    mesh 0x000004BF
    click 0x000005BF

    body 0.0 0.0 0.0 0.0 0.0 0.0 4.5 sphere 0.1
    noclick
    nocollision

    category 1
    slot 0.000 0.000 0.000 0.000 0.000 0.000 750 ; turbo_gas_in_OUT
    attach 0x0000A016 750 ; turboheader1->turboheader1_turbo_IN

    slot 0.011 -0.112 0.223 0.000 0.000 0.000 752 ; turbo_gas_out_IN

    slot 0.021 -0.006 -0.041 0.000 0.000 0.000 753 ; turbo_air_in_IN

    slot 0.173 0.143 -0.246 0.000 0.000 0.000 754 ; turbo_air_out_IN

    eof

  • Bigg Boss93

    it
    Posts: 4024
    http://rdbl.co/1Hmg5XL
    Location: Italy - Sardegna
    Occupation: Swimming out of the shit pool
    Age: 30
    V$: More than you can afford, pal.
    #4   2018-04-19 21:46          
    It looks alright, more or less, but i noticed that turbo id isnt on your rdb, so there is surely something wrong going on.
    Diegorborges about my Valo fix: "Now all of you must have your slrr folder like this: C:/BIGBOSSisMYlordANDiamHISbitch/SLRR LOL" :O




    EliasFD3S

    fr
    Posts: 47

    Location: France
    Occupation: Karting driver
    Age: 19
    V$:
    #5   2018-04-20 15:50          
    What id ? I dont understand , can you explain ?

    Added 2 minutes later:

    The rdb isnt full on the post so i paste here the part with the header and the turbo
    <FILE 00000534.res >
    typeof 5
    superid 0x00030001
    typeid 0x000000BF
    alias turboheader
    isparentcompatible 1.00
    </FILE>
    <FILE 00000534.rsd >
    sourcefile parts\engines\Toyota_4A_GE\meshes\turbo\Turbo_header_1.scx
    </FILE>
    <FILE 00000535.res >
    typeof 9
    superid 0x00030007
    typeid 0x000001BF
    alias turboheaderclick
    isparentcompatible 1.00
    </FILE>
    <FILE 00000535.rsd >
    shape parts\engines\Toyota_4A_GE\meshes\turbo\Turbo_header_1.scx
    </FILE>
    <FILE 00000536.res >
    typeof 14
    superid 0x00030002
    typeid 0x000002BF
    alias render
    isparentcompatible 1.00
    </FILE>
    <FILE 00000536.rsd >
    mesh 0x000000BF
    texture 0x00000000
    </FILE>
    <FILE 00000537.res >
    typeof 8
    superid 0x00020282
    typeid 0x000003BF
    alias script
    isparentcompatible 1.00
    </FILE>
    <FILE 00000537.rsd >
    script parts\engines\Toyota_4A_GE\scripts\turbo\Turbo_header_1.class
    native part parts\engines\Toyota_4A_GE\cfg\turbo\Turbo_header_1.cfg
    </FILE>
    <FILE 00000538.res >
    typeof 5
    superid 0x00030001
    typeid 0x000004BF
    alias Turbo1
    isparentcompatible 1.00
    </FILE>
    <FILE 00000538.rsd >
    sourcefile parts\engines\Toyota_4A_GE\meshes\turbo\Turbocharger.scx
    </FILE>
    <FILE 00000539.res >
    typeof 9
    superid 0x00030007
    typeid 0x000005BF
    alias Turbo1click
    isparentcompatible 1.00
    </FILE>
    <FILE 00000539.rsd >
    shape parts\engines\Toyota_4A_GE\meshes\turbo\Turbocharger.scx
    </FILE>
    <FILE 00000540.res >
    typeof 14
    superid 0x00030002
    typeid 0x000006BF
    alias Turbo1render
    isparentcompatible 1.00
    </FILE>
    <FILE 00000540.rsd >
    mesh 0x000004BF
    texture 0x0000E025
    texture 0x00000000
    </FILE>
    <FILE 00000541.res >
    typeof 8
    superid 0x00020281
    typeid 0x000007BF
    alias Turbo1script
    isparentcompatible 1.00
    </FILE>
    <FILE 00000541.rsd >
    script parts\engines\Toyota_4A_GE\scripts\turbo\Turbocharger.class
    native part parts\engines\Toyota_4A_GE\cfg\turbo\Turbocharger.cfg
    </FILE>

    amilmand

    00
    Posts: 259

    Location: ---
    Occupation:
    Age:
    V$:
    #6   2018-04-20 18:54          
    Can you post the scripts aswell? The rdb and cfg definitions as BB said look fine (if they are indeed on the path you define in the rdb) I think the next possible culprits are the scripts

    EliasFD3S

    fr
    Posts: 47

    Location: France
    Occupation: Karting driver
    Age: 19
    V$:
    #7   2018-04-20 21:14          
    Turbo header java:
    package java.game.parts.engines.Toyota_4A_GE;
    import java.util.*;
    import java.util.resource.*;
    import java.game.*;
    import java.game.parts.*;
    import java.game.parts.enginepart.*;


    public class Turbo_header_1 extends ExhaustHeader
    {
    public Turbo_header_1( int id )
    {
    super( id );
    name = "Toyota 4A-GE exhaust turbo header";
    description = "";

    value = tHUF2USD(170);
    brand_new_prestige_value = 38.32;
    setMaxWear(kmToMaxWear(200000.0));

    efficiency = 2.90;

    check4warnings();

    }
    }

    Turbo java:
    package java.game.parts.engines.Toyota_4A_GE;
    import java.util.*;
    import java.util.resource.*;
    import java.game.*;
    import java.game.parts.*;
    import java.game.parts.enginepart.*;
    import java.game.parts.enginepart.airfueldeliverysystem.charger.*;

    public class Turbocharger extends TurboCharger
    {
    public Turbocharger( int id )
    {
    super( id );
    name = "Stage 1 turbocharger";
    description = "";

    value = tHUF2USD(59.423);
    brand_new_prestige_value = 71.50;

    calculateOptandRange (3400.0, 12000.0);
    P_turbo_max = 2.0;
    default_P_turbo_waste = 0.45;
    P_turbo_waste = default_P_turbo_waste;

    max_waste = 1.8;
    min_waste = 0.45;
    }

    public void updatevariables()
    {
    setMaxWear(kmToMaxWear(200000.0));
    }

    public String isDynoable()
    {
    Part p;

    p = partOnSlot( 754 );
    if (!p)
    return "The engine is missing the turbocharger to intake pipe.";

    return super.isDynoable();
    }
    }

    amilmand

    00
    Posts: 259

    Location: ---
    Occupation:
    Age:
    V$:
    #8   2018-04-20 22:00          
    The turbo header you are attaching in the turbo's cfg is defined in these files (looking at the rdb) :

    script parts\engines\Toyota_4A_GE\scripts\stock\Toyota_4A_GE_exhaust_header.class
    native part parts\engines\Toyota_4A_GE\cfg\stock\Toyota_4A_GE_exhaust_header.cfg

    The turbo header java you pasted I think can not be the java referenced in the rdb because if the first class name does not match the .class file name slrr crashes (I seem to remember)
    Are you sure you are referencing the correct files in the rdb? (the ones you shared)
    (the javas look good aswell as far as I can tell)

    EliasFD3S

    fr
    Posts: 47

    Location: France
    Occupation: Karting driver
    Age: 19
    V$:
    #9   2018-04-20 22:10          
    script parts\engines\Toyota_4A_GE\scripts\turbo\Turbo_header_1.class
    native part parts\engines\Toyota_4A_GE\cfg\turbo\Turbo_header_1.cfg

    Nop its correct.
    All is good in the rpk because the Turbo header is in the game , the turbo too but the turbo doesnt want to attach on the header.

    amilmand

    00
    Posts: 259

    Location: ---
    Occupation:
    Age:
    V$:
    #10   2018-04-20 22:33          
    FILE 00000127.res
    typeof	8
    superid	0x00020282
    typeid	0x0000A016
    alias	Toyota_4A_GE_exhaust_header
    isparentcompatible	1.00
    /FILE
    FILE 00000127.rsd
    script parts\engines\Toyota_4A_GE\scripts\stock\Toyota_4A_GE_exhaust_header.class
    native part parts\engines\Toyota_4A_GE\cfg\stock\Toyota_4A_GE_exhaust_header.cfg
    /FILE

    The above is not in the rdb? It is in the one you pasted above LINK and you are referencing that resource in the cfg with the lines:

    slot	0.000 0.000 0.000 0.000 0.000 0.000	750	; turbo_gas_in_OUT
    attach	0x0000A016 750	; turboheader1->turboheader1_turbo_IN

    Those files:

    script parts\engines\Toyota_4A_GE\scripts\turbo\Turbo_header_1.class
    native part parts\engines\Toyota_4A_GE\cfg\turbo\Turbo_header_1.cfg

    are under the typeID 0x000003BF:

    FILE 00000537.res 
    typeof	8
    superid	0x00020282 
    typeid	0x000003BF
    alias	script
    isparentcompatible	1.00
    /FILE
    FILE 00000537.rsd 
    script parts\engines\Toyota_4A_GE\scripts\turbo\Turbo_header_1.class
    native part parts\engines\Toyota_4A_GE\cfg\turbo\Turbo_header_1.cfg
    /FILE

    You should attach that in the cfg.

    EliasFD3S

    fr
    Posts: 47

    Location: France
    Occupation: Karting driver
    Age: 19
    V$:
    #11   2018-04-20 22:49          
    Oh i havent paid attention about that , thx amilmand lol . Boss , you can close the topic ;)

    This post was edited by EliasFD3S (2018-04-21 01:30, ago)

    amilmand

    00
    Posts: 259

    Location: ---
    Occupation:
    Age:
    V$:
    #12   2018-04-20 22:55          
    np EliasFD3S :)

    Bigg Boss93

    it
    Posts: 4024
    http://rdbl.co/1Hmg5XL
    Location: Italy - Sardegna
    Occupation: Swimming out of the shit pool
    Age: 30
    V$: More than you can afford, pal.
    #13   2018-04-21 13:15          
    No need to close the topic, though, you should use one of the pre-made help threads the next time, such as *LINK* and *LINK* ;)
    Diegorborges about my Valo fix: "Now all of you must have your slrr folder like this: C:/BIGBOSSisMYlordANDiamHISbitch/SLRR LOL" :O