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.

How to create runni...
 
Notifications
Clear all

How to create running gear kits?

9 Posts
6 Users
0 Reactions
6,059 Views
Coprone
(@coprone_9681)
Noble Member
Joined: 13 years ago
Posts: 1288
Topic starter   [#873]

Title says it all.
I'm getting very lazy buying everytime new suspension etc things when I've beought a car to stance. So, I figured to ask how to make it here. I want to put GSM suspensions, then Bilstein shocks & springs & brakes into one kit I can buy from Running gear kits catalog/section



   
Quote
Holy_Shit_Man
(@holy_shit_man_3240)
Member Moderator
Joined: 14 years ago
Posts: 2251
 

It's easy, as all the kits. You just need to know superIDs. Then list them in kit's java



   
ReplyQuote
Coprone
(@coprone_9681)
Noble Member
Joined: 13 years ago
Posts: 1288
Topic starter  

I have no idea where are the script files located & about parts ID's etc.



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

you can take parts typeids from cfgs or rpk/rdb, then create a kit.java(which you can find in the java pack in our download area) and add it on the part rpk

Spoiler:

package java.game.parts.FOLDERNAME;

import java.util.*;
import java.util.resource.*;
import java.game.*;
import java.game.parts.*;


public class JAVANAMEWITHOUTSPACES extends Set
{
	public JAVANAMEWITHOUTSPACES( int id )
	{
		super( id );
		name = "KIT NAME";
		description = "KIT DESCRIPTION.";
	}

public void build( Inventory inv )
{
	inv.insertItem( parts.FOLDERNAME:0x000000XXr ); // part description
	inv.insertItem( parts.FOLDERNAME:0x000000XXr ); // part description
	inv.insertItem( parts.FOLDERNAME:0x000000XXr ); // part description
}
}


   
ReplyQuote
Holy_Shit_Man
(@holy_shit_man_3240)
Member Moderator
Joined: 14 years ago
Posts: 2251
 

Well, that's pretty easy.
First, you need to know how to decode rpk.,
Then, you need to know, which scripts are for which parts in-game
Third is writting a proper java. For your first time (and many more "times" 🙂) you can use Shimubitsu 380hp kit's java from 2.2.1. java pack, and replace superIDs in it.

Tutorials should be in tutorials section, if not, look in Google 😉



   
ReplyQuote
Coprone
(@coprone_9681)
Noble Member
Joined: 13 years ago
Posts: 1288
Topic starter  

Sorry if being a bit not too smart this time, where's the shimu 380hp kit java in java pack?
I also do not know where to put the .java if I'm done :/ not the smartest person in here



   
ReplyQuote
David_2709
(@david_2709_7791)
Noble Member
Joined: 13 years ago
Posts: 1882
 

Why don't you try the vstanced suspension? it comes with a kit you only have to add the brakes.



   
ReplyQuote
shaun2568
(@shaun2568_11265)
Eminent Member
Joined: 12 years ago
Posts: 17
 

https://www.youtube.com/playlist?list=PLD790AE9B1DAC654D

maybe this may help some ppl its way over my head i spent two days trying to get the asphalt CFG file how i wanted it i managed to get it looking right but it laged my game bad lol



   
ReplyQuote
BluExplosions
(@bluexplosions_7736)
Reputable Member
Joined: 13 years ago
Posts: 356
 

Hey Coprone if you needed help, you could have just asked me on our thread!



   
ReplyQuote
Share: