Update to Rev.502 - Inline5, V10

This commit is contained in:
bouletmarc 2014-07-24 00:07:51 -04:00
parent 1cb86b41d1
commit c276448c71
5 changed files with 75 additions and 32 deletions

View File

@ -1,31 +1,4 @@
r93 r94
-8.11
--Fixed CVT Linking to Gearboxes
--Fixed CVT Clutching issue
--Added Airplane Gearboxes
--Added Automatic Gearboxes
--Added Engine Radiators Extra
--Added Chips Linking
--Added Nos Linking
--Added Blue Color to Nos in Menu
--Added CustomModding rcon switch
--Added EngineMaker rcon
--Added Engine Extras rcon
--Integrated Vtec with Chips
--Engine Link to Extra(chips,nos)
--Allow only 1 Extra linked
--Chips are now V3
--Extra Linking not allowed on Electric and Turbine
--Consumption show only while require fuel
--Re-made Readme file. Thanks to joker
--Removed Vtec Chips "Integrated"
--Removed Inputs on Chips -Useless-
*r94
-8.21 -8.21
--Fixed Airplane Gearbox Gui+Name --Fixed Airplane Gearbox Gui+Name
@ -42,3 +15,10 @@ r93
*r98 *r98
-8.32 -8.32
--Small Revision Fix --Small Revision Fix
*r99
-8.41
--Added i5 and v10 engine's
--Added also in engine maker
--Updated for original acf V.502

View File

@ -376,6 +376,10 @@ local function CreateSoundBrowser()
ModelTxtSize1 = "s" ModelTxtSize1 = "s"
ModelTxtSize2 = "m" ModelTxtSize2 = "m"
ModelTxtSize3 = "b" ModelTxtSize3 = "b"
elseif ModelTxtSizing == 3 then
ModelTxtSize1 = "sml"
ModelTxtSize2 = "med"
ModelTxtSize3 = "big"
end end
if ModelTxt2 != ModelTxtSize1 or ModelTxt2 != ModelTxtSize2 or ModelTxt2 != ModelTxtSize3 then if ModelTxt2 != ModelTxtSize1 or ModelTxt2 != ModelTxtSize2 or ModelTxt2 != ModelTxtSize3 then
if EngSizeValue == 0 then --Get Small Engines if EngSizeValue == 0 then --Get Small Engines
@ -469,6 +473,16 @@ local function CreateSoundBrowser()
EngineTypeButton:SetText("Vtwins") EngineTypeButton:SetText("Vtwins")
ModelTxtSizing = 2 ModelTxtSizing = 2
elseif EngTypeValue == 12 then elseif EngTypeValue == 12 then
EngTypeValue = 13
ModelTxt1 = "inline5"
EngineTypeButton:SetText("Inline 5")
ModelTxtSizing = 2
elseif EngTypeValue == 13 then
EngTypeValue = 14
ModelTxt1 = "v10"
EngineTypeButton:SetText("V10")
ModelTxtSizing = 3
elseif EngTypeValue == 14 then
EngTypeValue = 0 EngTypeValue = 0
ModelTxt1 = "inline4" ModelTxt1 = "inline4"
EngineTypeButton:SetText("Inline 4") EngineTypeButton:SetText("Inline 4")
@ -488,6 +502,10 @@ local function CreateSoundBrowser()
ModelTxtSize1 = "s" ModelTxtSize1 = "s"
ModelTxtSize2 = "m" ModelTxtSize2 = "m"
ModelTxtSize3 = "b" ModelTxtSize3 = "b"
elseif ModelTxtSizing == 3 then
ModelTxtSize1 = "sml"
ModelTxtSize2 = "med"
ModelTxtSize3 = "big"
end end
if ModelTxt2 != ModelTxtSize1 or ModelTxt2 != ModelTxtSize2 or ModelTxt2 != ModelTxtSize3 then if ModelTxt2 != ModelTxtSize1 or ModelTxt2 != ModelTxtSize2 or ModelTxt2 != ModelTxtSize3 then
if EngSizeValue == 0 then --Get Small Engines if EngSizeValue == 0 then --Get Small Engines
@ -538,6 +556,7 @@ local function CreateSoundBrowser()
if ModelTxtSizing == 0 then ModelTxt2 = "m" if ModelTxtSizing == 0 then ModelTxt2 = "m"
elseif ModelTxtSizing == 1 then ModelTxt2 = "med" elseif ModelTxtSizing == 1 then ModelTxt2 = "med"
elseif ModelTxtSizing == 2 then ModelTxt2 = "m" elseif ModelTxtSizing == 2 then ModelTxt2 = "m"
elseif ModelTxtSizing == 3 then ModelTxt2 = "med"
end end
elseif EngSizeValue == 1 then elseif EngSizeValue == 1 then
if EngTypeValue == 5 or EngTypeValue == 8 or EngTypeValue == 9 then --not allow Large on B4 and Wankels if EngTypeValue == 5 or EngTypeValue == 8 or EngTypeValue == 9 then --not allow Large on B4 and Wankels
@ -546,6 +565,7 @@ local function CreateSoundBrowser()
if ModelTxtSizing == 0 then ModelTxt2 = "s" if ModelTxtSizing == 0 then ModelTxt2 = "s"
elseif ModelTxtSizing == 1 then ModelTxt2 = "small" elseif ModelTxtSizing == 1 then ModelTxt2 = "small"
elseif ModelTxtSizing == 2 then ModelTxt2 = "s" elseif ModelTxtSizing == 2 then ModelTxt2 = "s"
elseif ModelTxtSizing == 3 then ModelTxt2 = "sml"
end end
else else
EngSizeValue = 2 EngSizeValue = 2
@ -553,6 +573,7 @@ local function CreateSoundBrowser()
if ModelTxtSizing == 0 then ModelTxt2 = "l" if ModelTxtSizing == 0 then ModelTxt2 = "l"
elseif ModelTxtSizing == 1 then ModelTxt2 = "large" elseif ModelTxtSizing == 1 then ModelTxt2 = "large"
elseif ModelTxtSizing == 2 then ModelTxt2 = "b" elseif ModelTxtSizing == 2 then ModelTxt2 = "b"
elseif ModelTxtSizing == 3 then ModelTxt2 = "big"
end end
end end
elseif EngSizeValue == 2 then elseif EngSizeValue == 2 then
@ -564,6 +585,7 @@ local function CreateSoundBrowser()
if ModelTxtSizing == 0 then ModelTxt2 = "s" if ModelTxtSizing == 0 then ModelTxt2 = "s"
elseif ModelTxtSizing == 1 then ModelTxt2 = "small" elseif ModelTxtSizing == 1 then ModelTxt2 = "small"
elseif ModelTxtSizing == 2 then ModelTxt2 = "s" elseif ModelTxtSizing == 2 then ModelTxt2 = "s"
elseif ModelTxtSizing == 3 then ModelTxt2 = "sml"
end end
end end
--Just do nothing for Wankel3 and Wankel4 --Just do nothing for Wankel3 and Wankel4
@ -573,6 +595,7 @@ local function CreateSoundBrowser()
if ModelTxtSizing == 0 then ModelTxt2 = "m" if ModelTxtSizing == 0 then ModelTxt2 = "m"
elseif ModelTxtSizing == 1 then ModelTxt2 = "med" elseif ModelTxtSizing == 1 then ModelTxt2 = "med"
elseif ModelTxtSizing == 2 then ModelTxt2 = "m" elseif ModelTxtSizing == 2 then ModelTxt2 = "m"
elseif ModelTxtSizing == 3 then ModelTxt2 = "med"
end end
end end

View File

@ -376,6 +376,10 @@ local function CreateSoundBrowser()
ModelTxtSize1 = "s" ModelTxtSize1 = "s"
ModelTxtSize2 = "m" ModelTxtSize2 = "m"
ModelTxtSize3 = "b" ModelTxtSize3 = "b"
elseif ModelTxtSizing == 3 then
ModelTxtSize1 = "sml"
ModelTxtSize2 = "med"
ModelTxtSize3 = "big"
end end
if ModelTxt2 != ModelTxtSize1 or ModelTxt2 != ModelTxtSize2 or ModelTxt2 != ModelTxtSize3 then if ModelTxt2 != ModelTxtSize1 or ModelTxt2 != ModelTxtSize2 or ModelTxt2 != ModelTxtSize3 then
if EngSizeValue == 0 then --Get Small Engines if EngSizeValue == 0 then --Get Small Engines
@ -469,6 +473,16 @@ local function CreateSoundBrowser()
EngineTypeButton:SetText("Vtwins") EngineTypeButton:SetText("Vtwins")
ModelTxtSizing = 2 ModelTxtSizing = 2
elseif EngTypeValue == 12 then elseif EngTypeValue == 12 then
EngTypeValue = 13
ModelTxt1 = "inline5"
EngineTypeButton:SetText("Inline 5")
ModelTxtSizing = 2
elseif EngTypeValue == 13 then
EngTypeValue = 14
ModelTxt1 = "v10"
EngineTypeButton:SetText("V10")
ModelTxtSizing = 3
elseif EngTypeValue == 14 then
EngTypeValue = 0 EngTypeValue = 0
ModelTxt1 = "inline4" ModelTxt1 = "inline4"
EngineTypeButton:SetText("Inline 4") EngineTypeButton:SetText("Inline 4")
@ -488,6 +502,10 @@ local function CreateSoundBrowser()
ModelTxtSize1 = "s" ModelTxtSize1 = "s"
ModelTxtSize2 = "m" ModelTxtSize2 = "m"
ModelTxtSize3 = "b" ModelTxtSize3 = "b"
elseif ModelTxtSizing == 3 then
ModelTxtSize1 = "sml"
ModelTxtSize2 = "med"
ModelTxtSize3 = "big"
end end
if ModelTxt2 != ModelTxtSize1 or ModelTxt2 != ModelTxtSize2 or ModelTxt2 != ModelTxtSize3 then if ModelTxt2 != ModelTxtSize1 or ModelTxt2 != ModelTxtSize2 or ModelTxt2 != ModelTxtSize3 then
if EngSizeValue == 0 then --Get Small Engines if EngSizeValue == 0 then --Get Small Engines
@ -538,6 +556,7 @@ local function CreateSoundBrowser()
if ModelTxtSizing == 0 then ModelTxt2 = "m" if ModelTxtSizing == 0 then ModelTxt2 = "m"
elseif ModelTxtSizing == 1 then ModelTxt2 = "med" elseif ModelTxtSizing == 1 then ModelTxt2 = "med"
elseif ModelTxtSizing == 2 then ModelTxt2 = "m" elseif ModelTxtSizing == 2 then ModelTxt2 = "m"
elseif ModelTxtSizing == 3 then ModelTxt2 = "med"
end end
elseif EngSizeValue == 1 then elseif EngSizeValue == 1 then
if EngTypeValue == 5 or EngTypeValue == 8 or EngTypeValue == 9 then --not allow Large on B4 and Wankels if EngTypeValue == 5 or EngTypeValue == 8 or EngTypeValue == 9 then --not allow Large on B4 and Wankels
@ -546,6 +565,7 @@ local function CreateSoundBrowser()
if ModelTxtSizing == 0 then ModelTxt2 = "s" if ModelTxtSizing == 0 then ModelTxt2 = "s"
elseif ModelTxtSizing == 1 then ModelTxt2 = "small" elseif ModelTxtSizing == 1 then ModelTxt2 = "small"
elseif ModelTxtSizing == 2 then ModelTxt2 = "s" elseif ModelTxtSizing == 2 then ModelTxt2 = "s"
elseif ModelTxtSizing == 3 then ModelTxt2 = "sml"
end end
else else
EngSizeValue = 2 EngSizeValue = 2
@ -553,6 +573,7 @@ local function CreateSoundBrowser()
if ModelTxtSizing == 0 then ModelTxt2 = "l" if ModelTxtSizing == 0 then ModelTxt2 = "l"
elseif ModelTxtSizing == 1 then ModelTxt2 = "large" elseif ModelTxtSizing == 1 then ModelTxt2 = "large"
elseif ModelTxtSizing == 2 then ModelTxt2 = "b" elseif ModelTxtSizing == 2 then ModelTxt2 = "b"
elseif ModelTxtSizing == 3 then ModelTxt2 = "big"
end end
end end
elseif EngSizeValue == 2 then elseif EngSizeValue == 2 then
@ -564,6 +585,7 @@ local function CreateSoundBrowser()
if ModelTxtSizing == 0 then ModelTxt2 = "s" if ModelTxtSizing == 0 then ModelTxt2 = "s"
elseif ModelTxtSizing == 1 then ModelTxt2 = "small" elseif ModelTxtSizing == 1 then ModelTxt2 = "small"
elseif ModelTxtSizing == 2 then ModelTxt2 = "s" elseif ModelTxtSizing == 2 then ModelTxt2 = "s"
elseif ModelTxtSizing == 3 then ModelTxt2 = "sml"
end end
end end
--Just do nothing for Wankel3 and Wankel4 --Just do nothing for Wankel3 and Wankel4
@ -573,6 +595,7 @@ local function CreateSoundBrowser()
if ModelTxtSizing == 0 then ModelTxt2 = "m" if ModelTxtSizing == 0 then ModelTxt2 = "m"
elseif ModelTxtSizing == 1 then ModelTxt2 = "med" elseif ModelTxtSizing == 1 then ModelTxt2 = "med"
elseif ModelTxtSizing == 2 then ModelTxt2 = "m" elseif ModelTxtSizing == 2 then ModelTxt2 = "m"
elseif ModelTxtSizing == 3 then ModelTxt2 = "med"
end end
end end

View File

@ -104,6 +104,23 @@ ACF_DefineEngine( "7.2-V8", {
limitrpm = 8500 limitrpm = 8500
} ) } )
ACF_DefineEngine( "5.3-V10", {
name = "5.3L V10 Special",
desc = "Extreme performance v10",
model = "models/engines/v10sml.mdl",
sound = "acf_engines/v10_special.wav",
category = "Special",
fuel = "Petrol",
enginetype = "GenericPetrol",
weight = 300,
torque = 320,
flywheelmass = 0.2,
idlerpm = 1100,
peakminrpm = 5750,
peakmaxrpm = 8000,
limitrpm = 9000
} )
ACF_DefineEngine( "13.0-V12", { ACF_DefineEngine( "13.0-V12", {
name = "13.0L V12 Petrol", name = "13.0L V12 Petrol",
desc = "Thirsty gasoline v12, good torque and power for medium applications.", desc = "Thirsty gasoline v12, good torque and power for medium applications.",

View File

@ -2,11 +2,11 @@ ACF = {}
ACF.AmmoTypes = {} ACF.AmmoTypes = {}
ACF.MenuFunc = {} ACF.MenuFunc = {}
ACF.AmmoBlacklist = {} ACF.AmmoBlacklist = {}
ACF.Version = 501 -- REMEMBER TO CHANGE THIS FOR GODS SAKE, OMFG!!!!!!! -wrex ACF.Version = 502 -- REMEMBER TO CHANGE THIS FOR GODS SAKE, OMFG!!!!!!! -wrex
ACF.CurrentVersion = 0 -- just defining a variable, do not change ACF.CurrentVersion = 0 -- just defining a variable, do not change
--############## --##############
ACF.VersionCustom = 8.32 ACF.VersionCustom = 8.41
ACF.Version2 = 98 ACF.Version2 = 99
ACF.CurrentVersion2 = 0 ACF.CurrentVersion2 = 0
print("[[ ACF Loaded ]]") print("[[ ACF Loaded ]]")