Author Message

Bigg Boss93

Posts: 3768
Location: Italy - Sardegna
Occupation: About to make you quit
Age: 24
V$: More than you can afford, pal.
#120347   2017-04-21 05:48          
# theblockishot : Sorry for asking so many questions but how does this work

public void addStockParts( Descriptor desc )
// stock 1 stuffs //

if (desc.power > 0.0)
stock_parts_list_E = new int[2];
stock_parts_list_E[ 0] = parts.engines.Einvagen_Duhen_Ishima_Focer:0x000000DFr; // "IshiBox 2.4L I4" //
stock_parts_list_E[ 1] = parts:0x000053FFr; // "stock battery" //

In this you see there the stock parts list only has the block but in game the whole engine builds but if you change it to anything else for example, the nonus engine it only loads with the block in game and you have to add each part to the stock part list individually. How does it work?

That's basically a shortcut for another list in another file(an engine kit), you cant sadly use out of stock cars unless you rescript the thing, which makes it longer than just writing part by part what you need in your java.

Just check any mod by me or Harrison or Jaziba or whoever did good mods and you'll see how it has to be done :P

Added 1 minute later:

# Uncle Benon : How do I install MrSir's 326Power coilovers (LINK) without having SLRR crash on me whenever I check the shocks?

I dont have that so i cant help
With so much drama in the V-S-T, it's kinda hard being Bigg B-O-double-S-ninetythree B)