Welcome, Please Register or Login

Tutorials \ Street Legal Modding Tutorials \ Engine in one single piece

Author / Submitted by: Davidov

Engine in one single piece

A neat trick to h4x0r your friends with

I finally cracked the puzzle about how to make engine with only a single mesh (of the engine)

You make an entire engine model with NO separate parts and export it all in one piece, as the engine block.

You do the scripts just like in any other engine, only this time you only add the 'mesh' and 'click' lines to the engine block's .cfg.

Something like

mesh 0x0006E050
click 0x0006E0E3

The other parts DO NOT have those lines in the .cfg !

Then in the .rpk
You set every part's SuperID to 0x00000000, except for the egnine kit(s) that is(are) created.

Like so

<FILE 00000811.res >
typeof 8
superid 0x00000000
typeid 0x0000CE25
alias intake
isparentcompatible 1.00
<FILE 00000811.rsd >
script parts/engines/yourengine/scripts/intake.class
native part parts/engines/yourengine/scripts/intake.cfg

Then you create an engine kit with all the parts included

inv.insertItem( parts.engines.yourengine:0x000000F9r [*that's the TypeID of the part you want to add, but with an 'r' in the end*]); // block
*more parts*
inv.insertItem( parts.engines.yourengine:0x0000010Br ); // the last part to be added

And only the engine kits have an assigned SuperID, that is 0x0002F23C - the universal catalog SuperID for the 'Engine Kits' section

<FILE 00000708.res >
typeof 8
superid 0x0002F23C
typeid 0x000067B9
alias kit_engine
isparentcompatible 1.00
<FILE 00000708.rsd >
script parts/engines/yourengine/scripts/kit_engine.class

And so, when you install an engine you only have one mesh, but because the scripts and javas say that those parts are actually fitted to the block, it tricks the game into believing you have an entire engine, even though you have a single mesh ;b

Now have fun h4x0ring your n00b friends;b

P.S. In the .rpk you actually have back slashes insted of forward slashes, but they keep disappearing so I replaced them for this tut ;b Tags: No tags

18. andy1810

2010-12-02 00:24

can someone tell me wats rpk im new here and dont know how to add any parts are cars

17. Davidov

2009-06-19 12:10

Yeah. And you don't have to aplly this to the whole engine. You can do it just to a few parts.

Anyway, this is NOT the way to impress people, but, as I said, on a 1-day-convert project, it helps a lot.


16. robban_9000

2009-06-18 19:07

how is this anti slrr? now people will start making engines that has never tryed it before, and we can probebly release most of the cars we make with its original engines.

15. Rolts

2009-06-18 08:40

I think you're missing the bigger point here. With this you can essentially make a 1 mesh engine without ever modeling the internals. But the anti SLRR part is true more or less...

14. MisterSir

2009-06-18 08:01

just open the rpk for the engine u wana make, get the source code for a one of those crate kits, and dump the typeids for the engine parts in the proper order in it, then add a reference to it in the rpk and there u go u have a 1 click engine done without taking away the part by part.

13. Davidov

2009-06-18 06:08

Anti-SLRR or not, it's the lazy man's way to making an engine.

12. Rolts

2009-06-18 00:41

The only way I see this being useful, is for example my Lycoming T53, which I still haven't gotten running. As for regular engines, they should be made the old fashioned way:lol

11. LEWI007

2009-06-18 00:23

Id never use a 1 piece engine, or make one, i also think its an anti slr mod :P

10. Davidov

2009-06-17 15:57

Okay, it's not AS attractive as a part by part engine, but sometimes you just want to make a quick but cool 1-day-convert. For those times it's the winning detail.

lol Crate engine...yeah, sort of.

9. JAG

2009-06-17 15:09

Oh wow, that's cool! Can you say Crate Motors?


8. robban_9000

2009-06-17 14:33

u got a point drifter.. this is really awsome, since now it doesent take that mutch time if u wana make an original engine for every car u make :) thanx for sharing.

7. Davidov

2009-06-17 14:26

Uhm...okay then. Care making an engine piece by piece for every single car you make ?

6. MisterSir

2009-06-17 14:23

just have the engine kits that install the engine with all its parts instead of making a single mesh, its alot let hastle and it doesnt cut out the engine modification that is keeping SLRR still alive. i find this sort of anti SLRR mod, it kills the beauty of the game.


5. Yummy

2009-06-17 14:02

Now hald making me engine for datsun :)

4. Davidov

2009-06-17 13:32

Because it's a quick and easy way to make every car an engine.


Total: 18, on page: 15

Only registered users can post new comments

Administration panel

Contact Info

Put your e-mail, skype, phone numbers or any other contact information here so that your visitors could easily get in touch with you.