Welcome, Please Register or Login

Forums \ Street Legal Racing \ F.A.Q / Help Section \ Kit Engine Scripts

12>>>

Author Message
#1\2017-08-22 01:29

Members
2
Offline

Posts: 55

Brasilia
br Brazil

Hi, guys! I have some troubles with kit engines scripts. In some engines I put scripts of kits and it works, and anothers simplely don't accept these scripts. I don't found the errors in any id or lines in src.
Can someone, that know about kit engine, help me?
#2\2017-08-22 01:46

Members
2
Offline

Posts: 521


00

Show us a screenshot of the kit text you're talking about.
#3\2017-08-22 12:01

Forum Moderator
5
Offline

Posts: 1219


pt Portugal

Wellington have you added the kit class to rpk?!
The ids in the engine kit are correct and in the correct order of building?
#4\2017-08-22 12:37

Members
2
Offline

Posts: 521


00

I was going to say that. But after I'd checked through his script.
#5\2017-08-22 17:51

Members
2
Offline

Posts: 55

Brasilia
br Brazil

#6\2017-08-23 01:48

Members
2
Offline

Posts: 521


00

Change the Type Ids to be like this (0x00000B19 rather than 0x00001F14, so letter then number), and make sure it's Super Ids are for Engine Kits.
#7\2017-08-23 21:23

Members
2
Offline

Posts: 55

Brasilia
br Brazil

Don't work!
The super id's correct. I changed type id as you said, but crashes again.
The log shows the same message everytime:

!Script error

Thread: THRD-RUNVMI Dummy.handleEvent
Error: Thread::run: [illegal methodcall] null.currentPrice() type:Ljava.game.parts.Part;

java.game.InventoryItem_Part:getPrice (line:92)
java.game.InventoryItem_Folder:getPrice (line:59)
java.game.CatalogInventory:update (line:1871)
java.game.CatalogInventory:downScroll (line:1797)
java.game.Catalog:osdCommand (line:1294)
java.render.osd.Gadget:sendMessage (line:211)
java.render.osd.Button:click (line:31)
java.render.Group:handleEvent (line:178)

How in this fuckin engine give this error if in another I use the same script and super id and works?
This is annoying! --'

I tried with two, and one kit rather than three. Crashes again...
Thx for help.
#8\2017-08-24 04:05

Members
2
Offline

Posts: 521


00

You're using a single piece engine. So it becomes harder I expect.
#9\2017-08-24 15:23

Members
2
Offline

Posts: 55

Brasilia
br Brazil

This happened with multi parts engines too, but in these time I put the engine to come with the car or I was looking on catalog, the kit had not necessity, so I excluded of rpk.
I'll look the rpk in detail and try see what is lacking in relation the Boxer 4 that kit works.
#10\2017-08-25 20:22

Forum Moderator
5
Offline

Posts: 734


00

slredline.prv.pl

idk if u know basics BUT: make sure that TYPEID's are unique around ur RPK

and now example:

<FILE external_links >
system\
parts\ <=== 0x0002

typeof	8
superid	0x0002_________F23C
typeid	0x000000B9
alias	kit_engine

about engine kit, 1st make sure u see it in game, so u can see it in catalog with price, and start from 1 kit with only engine_block, no other parts.
u might have problem cuz one of ur parts (ids) is empty - doesnt exist.
also the order is important in kit java, very.

and ffs, get notepad++ or editplus!
If u need help in modding (rpk, cfg, phys, 3dsm) - [email protected], ill try to help, reply ASAP.
-Dave.
Modding slrr since 2004

12>>>