Kart Racing Pro Official Forum

Mods => Other Addons => Topic started by: PiBoSo on November 14, 2013, 04:41:17 PM

Title: Bodyworks
Post by: PiBoSo on November 14, 2013, 04:41:17 PM
To create a new bodywork:
1: decide on a new ID for your bodywork ( for example, "cage" ) and which chassis and category you want it to be compatible with.
2: create a new folder in the "bodyworks" directory, and name it as the ID.
3: inside the new folder, create an INI file, a CFG file and a GEOM with the same name of the ID ( for example, cage.ini, cage.cfg, cage.geom ).
4: create another text file, named gfx.cfg
5: open the 4 text files and copy data from an existing bodywork.
6: in the INI file, set "chassis_type" to the proper value

0: T chassis
1: T chassis with metal rear bumper
2: C chassis
3: C chassis with metal rear bumper
4: B chassis
5: B chassis with metal rear bumper
6: C mini chassis

7: in the INI file, set "type" to the ID ( unless the bodywork is a modified version of an existing bodywork, sharing the same paints ).
8: in the INI file, set "name" to a name you choose ( for example, "Roll Cage" ).

This is just an introduction. Feel free to ask for more info.
Title: Re: Bodyworks
Post by: PiBoSo on November 14, 2013, 04:44:17 PM

For the number plate to work correctly, create and assign a 128x128 texture with name prefix "w_" ( for example, w_plate.tga ).
Then set the texture name in the file gfx.cfg
Title: Re: Bodyworks
Post by: LauZzZn on November 14, 2013, 05:28:30 PM
thanks piboso!
Title: Re: Bodyworks
Post by: LauZzZn on November 14, 2013, 06:16:48 PM
i got a problem. i set all the values and made the sidepods, but no shadows etc just to test it. but when i want to select it in the game, the game crashes. could someone help me?
Title: Re: Bodyworks
Post by: oppolo on November 16, 2013, 04:39:29 PM
Quote from: PiBoSo on November 14, 2013, 04:41:17 PM

1: T chassis with metal rear bumper

3: C chassis with metal rear bumper

5: B chassis with metal rear bumper


when I try to use those, game freezes
Title: Re: Bodyworks
Post by: PiBoSo on November 19, 2013, 12:10:57 AM
Quote from: oppolo on November 16, 2013, 04:39:29 PM
Quote from: PiBoSo on November 14, 2013, 04:41:17 PM

1: T chassis with metal rear bumper

3: C chassis with metal rear bumper

5: B chassis with metal rear bumper


when I try to use those, game freezes

Please make sure to set the correct "type" in the CFG file:
T: type = tk_mb
C: type = nl_mb
B: type = fl_mb

Unless you create new karts with a new "type".
Title: Re: Bodyworks
Post by: oppolo on November 19, 2013, 12:53:36 PM
Quote from: PiBoSo on November 19, 2013, 12:10:57 AM
Quote from: oppolo on November 16, 2013, 04:39:29 PM
Quote from: PiBoSo on November 14, 2013, 04:41:17 PM

1: T chassis with metal rear bumper

3: C chassis with metal rear bumper

5: B chassis with metal rear bumper


when I try to use those, game freezes

Please make sure to set the correct "type" in the CFG file:
T: type = tk_mb
C: type = nl_mb
B: type = fl_mb

Unless you create new karts with a new "type".
thank you, well done
Title: Re: Bodyworks
Post by: LauZzZn on November 27, 2013, 08:46:15 PM
has someone got an idea or a plan how to do the shading for a templaze like pibosos templates? i got some shading issues with my bodywork it just looks weird, you cant see the shape of it, no edges. it looks like a box with a texture
Title: Re: Bodyworks
Post by: EVO on November 28, 2013, 06:37:55 PM
use gradients. then change the type to fade from solid to transparent in the top left (second from left drop down).
Title: Re: Bodyworks
Post by: Cory_Hayes on November 30, 2013, 08:41:58 AM
Any idea how to make a template for your own bodyworks?
Title: Re: Bodyworks
Post by: Cory_Hayes on November 30, 2013, 02:53:24 PM
+  how do you make it solid
Title: Re: Bodyworks
Post by: EVO on November 30, 2013, 07:08:05 PM
UVW unwarp. Larents knows best though. What do you name them so they can have paints applied?
Title: Re: Bodyworks
Post by: LauZzZn on November 30, 2013, 08:40:52 PM
Quote from: EVO on November 30, 2013, 07:08:05 PM
UVW unwarp. Larents knows best though. What do you name them so they can have paints applied?
just use the name piboso used ;) or rename it in one of the files in dont know atm which one:/ then name the bodyworks in max with the same name
Title: Re: Bodyworks
Post by: LauZzZn on December 01, 2013, 12:35:42 AM
Quote from: Cory_bro on November 30, 2013, 08:41:58 AM
Any idea how to make a template for your own bodyworks?
yes evo ist right. then you have to try out several methods to make a nice template but its quite easy. for the best result, select of your spoiler for example, where you can see, this is split up with an edge just like pibosos templates. then just try the quick peel option in the edior and drag it and size it how you need it. its quite easy.
what do you mean with solid?
Title: Re: Bodyworks
Post by: Cory_Hayes on December 01, 2013, 01:54:56 AM
like so you can run into a wall and the wall doesnt just go through the bodykit
Title: Re: Bodyworks
Post by: Cory_Hayes on December 01, 2013, 03:23:58 AM
What am I meant to do once I unwrap UVW
Title: Re: Bodyworks
Post by: LauZzZn on December 01, 2013, 12:47:53 PM
didnt tried out yet. i am still modeling. not much time atm
Title: Re: Bodyworks
Post by: Cory_Hayes on December 01, 2013, 01:02:49 PM
Do you know how to make it solid so you crash into stuff and the object doesnt just go through the bodywork?
Title: Re: Bodyworks
Post by: LauZzZn on December 01, 2013, 02:20:12 PM
i need to try it out ill answer you as fast as possible
Title: Re: Bodyworks
Post by: Cory_Hayes on December 01, 2013, 02:25:34 PM
ok, thank you
Title: Re: Bodyworks
Post by: Robin Mayer on December 18, 2014, 09:22:20 PM
I did it exactly as you said it but when I select it ingame there is no kart. Do you know why?
Title: Re: Bodyworks
Post by: Alessandro Ceronetti on June 23, 2016, 07:51:10 PM
how do i create INI and all the other files?
Title: Re: Bodyworks
Post by: LauZzZn on June 23, 2016, 08:44:52 PM
Copy the ones from a PiBoSo bodywork
Title: Re: Bodyworks
Post by: Martin_rysstad on March 16, 2023, 04:47:09 PM
Can you make same toturial but with chassis?