diff --git a/changelogcustom.txt b/changelogcustom.txt index 95ba60c..46a30cc 100644 --- a/changelogcustom.txt +++ b/changelogcustom.txt @@ -1,31 +1,4 @@ -r93 --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 +r94 -8.21 --Fixed Airplane Gearbox Gui+Name @@ -41,4 +14,11 @@ r93 *r98 -8.32 ---Small Revision Fix \ No newline at end of file +--Small Revision Fix + +*r99 +-8.41 +--Added i5 and v10 engine's +--Added also in engine maker + +--Updated for original acf V.502 \ No newline at end of file diff --git a/lua/acf/client/custommenu/enginemaker/engine_create_load.lua b/lua/acf/client/custommenu/enginemaker/engine_create_load.lua index 53a451c..d47ea60 100644 --- a/lua/acf/client/custommenu/enginemaker/engine_create_load.lua +++ b/lua/acf/client/custommenu/enginemaker/engine_create_load.lua @@ -376,6 +376,10 @@ local function CreateSoundBrowser() ModelTxtSize1 = "s" ModelTxtSize2 = "m" ModelTxtSize3 = "b" + elseif ModelTxtSizing == 3 then + ModelTxtSize1 = "sml" + ModelTxtSize2 = "med" + ModelTxtSize3 = "big" end if ModelTxt2 != ModelTxtSize1 or ModelTxt2 != ModelTxtSize2 or ModelTxt2 != ModelTxtSize3 then if EngSizeValue == 0 then --Get Small Engines @@ -469,6 +473,16 @@ local function CreateSoundBrowser() EngineTypeButton:SetText("Vtwins") ModelTxtSizing = 2 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 ModelTxt1 = "inline4" EngineTypeButton:SetText("Inline 4") @@ -488,6 +502,10 @@ local function CreateSoundBrowser() ModelTxtSize1 = "s" ModelTxtSize2 = "m" ModelTxtSize3 = "b" + elseif ModelTxtSizing == 3 then + ModelTxtSize1 = "sml" + ModelTxtSize2 = "med" + ModelTxtSize3 = "big" end if ModelTxt2 != ModelTxtSize1 or ModelTxt2 != ModelTxtSize2 or ModelTxt2 != ModelTxtSize3 then if EngSizeValue == 0 then --Get Small Engines @@ -538,6 +556,7 @@ local function CreateSoundBrowser() if ModelTxtSizing == 0 then ModelTxt2 = "m" elseif ModelTxtSizing == 1 then ModelTxt2 = "med" elseif ModelTxtSizing == 2 then ModelTxt2 = "m" + elseif ModelTxtSizing == 3 then ModelTxt2 = "med" end elseif EngSizeValue == 1 then 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" elseif ModelTxtSizing == 1 then ModelTxt2 = "small" elseif ModelTxtSizing == 2 then ModelTxt2 = "s" + elseif ModelTxtSizing == 3 then ModelTxt2 = "sml" end else EngSizeValue = 2 @@ -553,6 +573,7 @@ local function CreateSoundBrowser() if ModelTxtSizing == 0 then ModelTxt2 = "l" elseif ModelTxtSizing == 1 then ModelTxt2 = "large" elseif ModelTxtSizing == 2 then ModelTxt2 = "b" + elseif ModelTxtSizing == 3 then ModelTxt2 = "big" end end elseif EngSizeValue == 2 then @@ -564,6 +585,7 @@ local function CreateSoundBrowser() if ModelTxtSizing == 0 then ModelTxt2 = "s" elseif ModelTxtSizing == 1 then ModelTxt2 = "small" elseif ModelTxtSizing == 2 then ModelTxt2 = "s" + elseif ModelTxtSizing == 3 then ModelTxt2 = "sml" end end --Just do nothing for Wankel3 and Wankel4 @@ -573,6 +595,7 @@ local function CreateSoundBrowser() if ModelTxtSizing == 0 then ModelTxt2 = "m" elseif ModelTxtSizing == 1 then ModelTxt2 = "med" elseif ModelTxtSizing == 2 then ModelTxt2 = "m" + elseif ModelTxtSizing == 3 then ModelTxt2 = "med" end end diff --git a/lua/acf/client/custommenu/enginemaker/engine_create_new.lua b/lua/acf/client/custommenu/enginemaker/engine_create_new.lua index aca6ab9..790e527 100644 --- a/lua/acf/client/custommenu/enginemaker/engine_create_new.lua +++ b/lua/acf/client/custommenu/enginemaker/engine_create_new.lua @@ -376,6 +376,10 @@ local function CreateSoundBrowser() ModelTxtSize1 = "s" ModelTxtSize2 = "m" ModelTxtSize3 = "b" + elseif ModelTxtSizing == 3 then + ModelTxtSize1 = "sml" + ModelTxtSize2 = "med" + ModelTxtSize3 = "big" end if ModelTxt2 != ModelTxtSize1 or ModelTxt2 != ModelTxtSize2 or ModelTxt2 != ModelTxtSize3 then if EngSizeValue == 0 then --Get Small Engines @@ -469,6 +473,16 @@ local function CreateSoundBrowser() EngineTypeButton:SetText("Vtwins") ModelTxtSizing = 2 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 ModelTxt1 = "inline4" EngineTypeButton:SetText("Inline 4") @@ -488,6 +502,10 @@ local function CreateSoundBrowser() ModelTxtSize1 = "s" ModelTxtSize2 = "m" ModelTxtSize3 = "b" + elseif ModelTxtSizing == 3 then + ModelTxtSize1 = "sml" + ModelTxtSize2 = "med" + ModelTxtSize3 = "big" end if ModelTxt2 != ModelTxtSize1 or ModelTxt2 != ModelTxtSize2 or ModelTxt2 != ModelTxtSize3 then if EngSizeValue == 0 then --Get Small Engines @@ -538,6 +556,7 @@ local function CreateSoundBrowser() if ModelTxtSizing == 0 then ModelTxt2 = "m" elseif ModelTxtSizing == 1 then ModelTxt2 = "med" elseif ModelTxtSizing == 2 then ModelTxt2 = "m" + elseif ModelTxtSizing == 3 then ModelTxt2 = "med" end elseif EngSizeValue == 1 then 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" elseif ModelTxtSizing == 1 then ModelTxt2 = "small" elseif ModelTxtSizing == 2 then ModelTxt2 = "s" + elseif ModelTxtSizing == 3 then ModelTxt2 = "sml" end else EngSizeValue = 2 @@ -553,6 +573,7 @@ local function CreateSoundBrowser() if ModelTxtSizing == 0 then ModelTxt2 = "l" elseif ModelTxtSizing == 1 then ModelTxt2 = "large" elseif ModelTxtSizing == 2 then ModelTxt2 = "b" + elseif ModelTxtSizing == 3 then ModelTxt2 = "big" end end elseif EngSizeValue == 2 then @@ -564,6 +585,7 @@ local function CreateSoundBrowser() if ModelTxtSizing == 0 then ModelTxt2 = "s" elseif ModelTxtSizing == 1 then ModelTxt2 = "small" elseif ModelTxtSizing == 2 then ModelTxt2 = "s" + elseif ModelTxtSizing == 3 then ModelTxt2 = "sml" end end --Just do nothing for Wankel3 and Wankel4 @@ -573,6 +595,7 @@ local function CreateSoundBrowser() if ModelTxtSizing == 0 then ModelTxt2 = "m" elseif ModelTxtSizing == 1 then ModelTxt2 = "med" elseif ModelTxtSizing == 2 then ModelTxt2 = "m" + elseif ModelTxtSizing == 3 then ModelTxt2 = "med" end end diff --git a/lua/acf/shared/engines/special.lua b/lua/acf/shared/engines/special.lua index 6741e1c..d550751 100644 --- a/lua/acf/shared/engines/special.lua +++ b/lua/acf/shared/engines/special.lua @@ -104,6 +104,23 @@ ACF_DefineEngine( "7.2-V8", { 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", { name = "13.0L V12 Petrol", desc = "Thirsty gasoline v12, good torque and power for medium applications.", diff --git a/lua/autorun/acf_globals.lua b/lua/autorun/acf_globals.lua index 14e81cc..95c62dc 100644 --- a/lua/autorun/acf_globals.lua +++ b/lua/autorun/acf_globals.lua @@ -2,11 +2,11 @@ ACF = {} ACF.AmmoTypes = {} ACF.MenuFunc = {} 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.VersionCustom = 8.32 -ACF.Version2 = 98 +ACF.VersionCustom = 8.41 +ACF.Version2 = 99 ACF.CurrentVersion2 = 0 print("[[ ACF Loaded ]]")