VStanced/mods
Submit a mod
Mods Guides Forum Submit a mod Log in Register

Forum

Questions, builds, help and the odd argument. The mods and guides are out front.

Help with RDB editi...
 
Notifications
Clear all

Help with RDB editing

10 Posts
2 Users
0 Reactions
4,708 Views
Soharuda
(@soharuda_24105)
Active Member
Joined: 10 years ago
Posts: 5
Topic starter   [#514]

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.



   
Quote
Bigg_Boss93
(@bigg_boss93_1370)
Member Admin
Joined: 15 years ago
Posts: 3835
 

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. 😛



   
ReplyQuote
Soharuda
(@soharuda_24105)
Active Member
Joined: 10 years ago
Posts: 5
Topic starter  

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.



   
ReplyQuote
Bigg_Boss93
(@bigg_boss93_1370)
Member Admin
Joined: 15 years ago
Posts: 3835
 

You're defo missing something, that's too few infos to tell what tho ._.



   
ReplyQuote
Soharuda
(@soharuda_24105)
Active Member
Joined: 10 years ago
Posts: 5
Topic starter  

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.



   
ReplyQuote
Bigg_Boss93
(@bigg_boss93_1370)
Member Admin
Joined: 15 years ago
Posts: 3835
 

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).



   
ReplyQuote
Soharuda
(@soharuda_24105)
Active Member
Joined: 10 years ago
Posts: 5
Topic starter  

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.

/d/3914-rev-physics-alpha



   
ReplyQuote
Bigg_Boss93
(@bigg_boss93_1370)
Member Admin
Joined: 15 years ago
Posts: 3835
 

Ehm, did you try installing THIS before? 😃



   
ReplyQuote
Soharuda
(@soharuda_24105)
Active Member
Joined: 10 years ago
Posts: 5
Topic starter  

No, simply because there is no source so I can't do the needed changes to update the code to be compatible 100%



   
ReplyQuote
Bigg_Boss93
(@bigg_boss93_1370)
Member Admin
Joined: 15 years ago
Posts: 3835
 

Source like this /d/4031-mistersir-s-running-gear-beta-v0-1-w-source ?



   
ReplyQuote
Share: