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.

Notifications
Clear all

A/F ratio?

4 Posts
3 Users
0 Reactions
3,250 Views
Rollcage
(@rollcage_4341)
Eminent Member
Joined: 14 years ago
Posts: 14
Topic starter   [#264]

So I'm building my Lamborghini SV and when I put the Lama engine in it, it says my A/F ratio is too high. I didn't put race parts in there so I'm a bit confused



   
Quote
g4tnt
(@g4tnt_797)
Reputable Member
Joined: 16 years ago
Posts: 333
 

air fuil mixture click on the fuil rail and lower it there



   
ReplyQuote
Rollcage
(@rollcage_4341)
Eminent Member
Joined: 14 years ago
Posts: 14
Topic starter  

But what to? when it says 8.x:x, I do that and it says to go lower and I can't.



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

just customize the java with this:

package java.game.parts.engines.ENGINE_FOLDER_NAME;

import java.game.parts.;
import java.game.parts.enginepart.airfueldeliverysystem.
;
import java.game.cars.*;

public class JAVA_NAME_WITHOUT_EXTENSION extends FuelInjectorSystem
{
public JAVA_NAME_WITHOUT_EXTENSION( int id )
{
super( id );
name = "CATALOG NAME";
description = "CATALOG DESCRIPTION.";
brand_new_prestige_value = 58.53;

	value = 200;
	setMaxWear(kmToMaxWear(226000.0));

	mixture_ratio		= 14.25; [color=#75507B][b]// EDIT THIS TO HAVE A CUSTOM AIR-FUEL RATIO[/b].[/color]
	max_fuel_consumption	= 0.00;
	fuel_type		= FT_METHANOL;
	calcStuffs();

	check4warnings();
}

public void updatevariables()
{
	max_air_consumption	= 0.6;

	Part unsafePart;
	if ( (unsafePart = partOnSlot(11)) && unsafePart instanceof AirFilter )
	{
		AirFilter air_intake = unsafePart;

		air_intake.updatevariables();

		max_air_consumption = air_intake.max_air_consumption;
	}

	super.updatevariables();
}

}

Added later:

should work



   
ReplyQuote
Share: