Author | Message |
Soharuda
Posts: 5
Location: United States Occupation: Age: V$: |
#1 2016-11-06 03:37 |
Been working on updating the Rev Physics mod into the steam release of SLRR. So far I have most of it converted over, ready to start on chassis.java but I wanted to go ahead and get the parts into the game. The swaybars were a nice simple drag-drop (thank god). I am trying to get the spring and strut from the mod to build into the game. I have tried editing parts.rpk and even making my own rpk file. This is what I have:
<FILE external_links > system\ cars\ cars\racers\ parts\ particles\ parts\engines\Einvagen_Duhen_Ishima_Focer\ </FILE> <FILE 00000001.res > typeof 8 superid 0x0004F229 typeid 0x00000001 alias MrSir_Suspension_1 isparentcompatible 1.00 </FILE> <FILE 00000001.rsd > </FILE> <FILE 00000002.res > typeof 8 superid 0x00000099 typeid 0x00000E01 alias MrSir_Spring isparentcompatible 1.00 </FILE> <FILE 00000002.rsd > script parts\MrSir_RG\scripts\spring\MrSir_Spring.class native part parts\running_gear\scripts\spring.cfg </FILE> The game is still not building a class file for the newly added spring. This post was edited by Soharuda (2016-11-06 03:52, ago) |
|
Bigg Boss93
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 2016-11-06 14:25 |
May sound stupid, but, did you put the source in its own folder?
Otherwise the game is not going to build something it doesnt have. |
|
Soharuda
Posts: 5
Location: United States Occupation: Age: V$: |
#3 2016-11-06 15:29 |
Yes, The directory I have linked to is the same directory that the source is in, plus the SRC directory for the java file. Currently don't have a class file for this as since the game wont build it.
|
|
Bigg Boss93
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 2016-11-06 16:50 |
You're defo missing something, that's too few infos to tell what tho ._.
|
|
Soharuda
Posts: 5
Location: United States Occupation: Age: V$: |
#5 2016-11-06 18:17 |
What would be needed? I'm new to modding SLRR code and adding new scripts to the game. I am decent in the Java language though so that's the only reason i've gotten this far.
|
|
Bigg Boss93
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. |
#6 2016-11-06 18:25 |
Check the error.log file, it's in your game's root, there should be some error.
In case, when you move something from an rpk to another you have to make sure to copy all the 4 main sections of anything(aka part, object or whatever you're copy-pasting), they are: Scripts(the one you posted above) Render Mesh Click And with them you have to copy-paste the relative files, .scx, .cfg and .java/class. If you miss any of these, they game will most probably crash or just not do what you're expecting it to do, so just make sure you copied all these. You gotta also check that the cfg you copy-pasted have unique IDs, otherwise it'll conflict with the other rpk object that uses the same IDs(but this seems quite obvious). |
|
Soharuda
Posts: 5
Location: United States Occupation: Age: V$: |
#7 2016-11-06 18:50 |
Problem is with the mod that I chose it contained no RPK with reference to these 2 files, so its given me a challenge that I am 100% unfamiliar with.
*LINK* |
|
Bigg Boss93
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. |
#8 2016-11-06 19:47 |
Ehm, did you try installing *THIS* before?
|
|
Soharuda
Posts: 5
Location: United States Occupation: Age: V$: |
#9 2016-11-07 21:04 |
No, simply because there is no source so I can't do the needed changes to update the code to be compatible 100%
|
|
Bigg Boss93
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. |
#10 2016-11-08 00:48 |
Source like this *LINK* ?
|
|