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.

Diesel Engine?
 
Notifications
Clear all

Diesel Engine?

4 Posts
2 Users
0 Reactions
5,243 Views
jesse096
(@jesse096_5135)
Eminent Member
Joined: 14 years ago
Posts: 35
Topic starter   [#267]

There is an option for Diesel Oil for fuel, but is there a legit diesel engine? Or how can I make one?

-Jesse



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

open your fuel rail java, paste this and edit the colored parts 🙂

package java.game.parts.engines.ENGINE_FOLDER_NAME;

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

public class FILE_NAME_WITHOUT_EXTENSION extends FuelInjectorSystem
{
public FILE_NAME_WITHOUT_EXTENSION( int id )
{
super( id );
name = "CATALOG NAME";
description = "CATALOG DESCRIPTION";

	value = tHUF2USD(4*5+12);
	brand_new_prestige_value = 33.53;
	setMaxWear(kmToMaxWear(330000.0));

	max_fuel_consumption	= 0.025;
	default_mixture_ratio	= 14.5;
	default_fuel_type	= FT_DIESEL;
	mixture_ratio		= default_mixture_ratio;
	fuel_type		= default_fuel_type;
	calcStuffs();

	check4warnings();
}

}

Added 5 minutes later:

ps: if you was talking about the sound, you must rip it from somewhere and edit the engine block java and rpk to fit your sound



   
ReplyQuote
jesse096
(@jesse096_5135)
Eminent Member
Joined: 14 years ago
Posts: 35
Topic starter  

Where would I access that?

-Jesse



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

javas are in the engine folder(slrr\parts\engines*your engine*\scripts\src



   
ReplyQuote
Share: