ACF Custom Mod - V1.3.7
--Fixed Changelog was display bad version --Fixed 'EM' stall sound glitch --Fixed 'MGB' was normal with 'EM'
This commit is contained in:
parent
6238bdac28
commit
d0f436d05e
|
@ -410,16 +410,16 @@ check the feedback of them
|
|||
--
|
||||
--Updated with original rev.569
|
||||
|
||||
*r133
|
||||
-V1.3.3
|
||||
*r134
|
||||
-V1.3.4
|
||||
--Fixed EngineMaker Bug
|
||||
--Fixed Engine Spawn Bug
|
||||
--Fixed Tool Duping Class
|
||||
--Fixed Gearboxes Act Issue
|
||||
--Fixed DupeFixer Tool
|
||||
|
||||
*r134
|
||||
-V1.3.4
|
||||
*r135
|
||||
-V1.3.5
|
||||
--Added TRUE Manual Gearboxes
|
||||
--Added Compatility Manual with Original
|
||||
--Added Engines Running Output
|
||||
|
@ -431,8 +431,8 @@ check the feedback of them
|
|||
--Removed Gearbox RPM Outputs
|
||||
--Faster Engine Stall
|
||||
|
||||
*r135
|
||||
-V1.3.5
|
||||
*r136
|
||||
-V1.3.6
|
||||
--Fixed Battery Model Interfering
|
||||
--Fixed Sound Tool Interfering
|
||||
--Fixed Engine Sound not dying when no Fuel
|
||||
|
@ -457,9 +457,10 @@ check the feedback of them
|
|||
--'EM' Turbine are only Turbine Model
|
||||
--'EM' PulseJet are only PulseJet Model
|
||||
|
||||
|
||||
|
||||
## remove flywheel mass gui, and others useless vars
|
||||
## reset inertia with flywheelmass input
|
||||
## SetDark manual GB
|
||||
remove manual gearbox AvailRatio rpm's vars
|
||||
*r137
|
||||
-V1.3.7
|
||||
--##'EM' = Engine Maker##
|
||||
--##'MGB' = Manual Gearbox##
|
||||
--Fixed Changelog was display bad version
|
||||
--Fixed 'EM' stall sound glitch
|
||||
--Fixed 'MGB' was normal with 'EM'
|
|
@ -2,7 +2,7 @@
|
|||
-- Set vars
|
||||
--------------------------------------
|
||||
ACFCUSTOM = {}
|
||||
ACFCUSTOM.Version = 136
|
||||
ACFCUSTOM.Version = 137
|
||||
ACFCUSTOM.CurrentVersion = 0
|
||||
ACFCUSTOM.EngineMakerVersion = 6.2
|
||||
ACFC = {}
|
||||
|
|
|
@ -370,7 +370,7 @@ function MakeACF_EngineMaker(Owner, Pos, Angle, Id, Data1, Data2, Data3, Data4,
|
|||
Engine:UpdateOverlayText()
|
||||
|
||||
Owner:AddCount("_acf_engine_maker", Engine)
|
||||
Owner:AddCleanup( "acfmenu", Engine )
|
||||
Owner:AddCleanup( "acfcustom", Engine )
|
||||
|
||||
ACF_Activate( Engine, 0 )
|
||||
|
||||
|
@ -1063,9 +1063,18 @@ function ENT:CalcRPM()
|
|||
end
|
||||
|
||||
--Update Gui
|
||||
/*if self.FuelusingGUI != self.Fuelusing or self.FlyRPMGUI != self.FlyRPM then
|
||||
self:UpdateOverlayText()
|
||||
end*/
|
||||
//self:UpdateOverlayText()
|
||||
|
||||
-- Kill the Engine Off under 100 RPM
|
||||
if( self.FlyRPM <= 100 and self.Active == false ) then
|
||||
self.Active2 = false
|
||||
Wire_TriggerOutput( self, "Running", 0 )
|
||||
self.FlyRPM = 0
|
||||
if self.Sound then
|
||||
self.Sound:Stop()
|
||||
end
|
||||
self.Sound = nil
|
||||
end
|
||||
|
||||
--Update extras values
|
||||
for Key, Extra in pairs(self.ExtraLink) do
|
||||
|
@ -1160,8 +1169,8 @@ function ENT:Link( Target )
|
|||
end
|
||||
--Extra Linking
|
||||
if Target:GetClass() == "acf_chips" or Target:GetClass() == "acf_nos" or Target:GetClass() == "acf_turbo" or Target:GetClass() == "acf_supercharger" then
|
||||
if self.ExtraUsing == 1 then --Not link severals Extra Obje
|
||||
return false, "You CAN'T use more that one Extra!"
|
||||
if self.ExtraUsing == 1 then --Not link severals Extra Object
|
||||
return false, "You CAN'T use more than one Extra!"
|
||||
else
|
||||
return self:LinkExtra( Target )
|
||||
end
|
||||
|
@ -1206,6 +1215,11 @@ function ENT:Link( Target )
|
|||
table.insert( self.GearLink, Link )
|
||||
table.insert( Target.Master, self )
|
||||
|
||||
//Perform Manual Gearbox Checkup
|
||||
if Target.isManual then
|
||||
self.ManualGearbox = true
|
||||
end
|
||||
|
||||
return true, "Link successful!"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue