Statistics: Posted by Resin_Smoker — 27 Feb 2014, 14:00
Statistics: Posted by Resin_Smoker — 27 Feb 2014, 13:50
Statistics: Posted by Krapougnak — 27 Feb 2014, 11:05
Statistics: Posted by Domino — 27 Feb 2014, 09:53
Statistics: Posted by Resin_Smoker — 26 Feb 2014, 04:30
Statistics: Posted by Resin_Smoker — 23 Feb 2014, 05:19
Statistics: Posted by Resin_Smoker — 22 Feb 2014, 07:15
INFO: *** FAF_OKC projectile.lua, OKC_HeartBeat ***
INFO: Projectile ID: \000268435457
INFO: Game time is: \00033.5
INFO: *************************************
INFO: "OKC_HeartBeat, while-loop-do"
INFO: Projectile ID: \000268435457
INFO: Game time is: \00033.5
INFO: Tracking a target
INFO: Game time is: \00033.5
INFO: target.IncommingDamage NOT set, creating it now, including amount of incomming damage
INFO: self.DamageData.Damage amount is: \000200
INFO: Game time is: \00033.5
INFO: self.LifeCounter = \0001
INFO: Game time is: \00033.5
INFO: *** FAF_OKC projectile.lua, OKC_HeartBeat ***
INFO: Projectile ID: \000268435458
INFO: Game time is: \00033.600002288818
INFO: *************************************
INFO: "OKC_HeartBeat, while-loop-do"
INFO: Projectile ID: \000268435458
INFO: Game time is: \00033.600002288818
INFO: Tracking a target
INFO: Game time is: \00033.600002288818
INFO: target.IncommingDamage set, target.IncommingDamage >= target:GetHealth(), self.RetargetFlag is: \000false\000 calling self.OKC_Retargeting
INFO: self.DamageData.Damage amount is:\000200
INFO: Game time is: \00033.600002288818
INFO: self.LifeCounter = \0001
INFO: Game time is: \00033.600002288818
INFO: *** FAF_OKC projectile.lua, OKC_HeartBeat ***
INFO: Projectile ID: \000268435459
INFO: Game time is: \00033.700000762939
INFO: *************************************
INFO: "OKC_HeartBeat, while-loop-do"
INFO: Projectile ID: \000268435459
INFO: Game time is: \00033.700000762939
INFO: Tracking a target
INFO: Game time is: \00033.700000762939
INFO: target.IncommingDamage set, target.IncommingDamage >= target:GetHealth(), self.RetargetFlag is: \000false\000 calling self.OKC_Retargeting
INFO: self.DamageData.Damage amount is:\000200
INFO: Game time is: \00033.700000762939
INFO: self.LifeCounter = \0001
INFO: Game time is: \00033.700000762939
INFO: *** FAF_OKC projectile.lua, OKC_HeartBeat ***
INFO: Projectile ID: \000268435460
INFO: Game time is: \00033.799999237061
INFO: *************************************
INFO: "OKC_HeartBeat, while-loop-do"
INFO: Projectile ID: \000268435460
INFO: Game time is: \00033.799999237061
INFO: Tracking a target
INFO: Game time is: \00033.799999237061
INFO: target.IncommingDamage set, target.IncommingDamage >= target:GetHealth(), self.RetargetFlag is: \000false\000 calling self.OKC_Retargeting
INFO: self.DamageData.Damage amount is:\000200
INFO: Game time is: \00033.799999237061
INFO: self.LifeCounter = \0001
INFO: Game time is: \00033.799999237061
INFO: *** FAF_OKC projectile.lua, OKC_HeartBeat ***
INFO: Projectile ID: \000268435461
INFO: Game time is: \00033.900001525879
INFO: *************************************
INFO: "OKC_HeartBeat, while-loop-do"
INFO: Projectile ID: \000268435461
INFO: Game time is: \00033.900001525879
INFO: Tracking a target
INFO: Game time is: \00033.900001525879
INFO: target.IncommingDamage set, target.IncommingDamage >= target:GetHealth(), self.RetargetFlag is: \000false\000 calling self.OKC_Retargeting
INFO: self.DamageData.Damage amount is:\000200
INFO: Game time is: \00033.900001525879
INFO: self.LifeCounter = \0001
INFO: Game time is: \00033.900001525879
INFO: *** FAF_OKC projectile.lua, OKC_HeartBeat ***
INFO: Projectile ID: \000268435462
INFO: Game time is: \00034
INFO: *************************************
INFO: "OKC_HeartBeat, while-loop-do"
INFO: Projectile ID: \000268435462
INFO: Game time is: \00034
INFO: Tracking a target
INFO: Game time is: \00034
INFO: target.IncommingDamage set, target.IncommingDamage >= target:GetHealth(), self.RetargetFlag is: \000false\000 calling self.OKC_Retargeting
INFO: self.DamageData.Damage amount is:\000200
INFO: Game time is: \00034
INFO: self.LifeCounter = \0001
INFO: Game time is: \00034
INFO: "OKC_HeartBeat, while-loop-do"
INFO: Projectile ID: \000268435457
INFO: Game time is: \00034.400001525879
INFO: Tracking a target
INFO: Game time is: \00034.400001525879
INFO: self.LifeCounter = \0002
INFO: Game time is: \00034.400001525879
INFO: "OKC_HeartBeat, while-loop-do"
INFO: Projectile ID: \000268435458
INFO: Game time is: \00034.5
INFO: self.LifeCounter = \0002
INFO: Game time is: \00034.5
INFO: "OKC_HeartBeat, while-loop-do"
INFO: Projectile ID: \000268435459
INFO: Game time is: \00034.600002288818
INFO: self.LifeCounter = \0002
INFO: Game time is: \00034.600002288818
INFO: "OKC_HeartBeat, while-loop-do"
INFO: Projectile ID: \000268435460
INFO: Game time is: \00034.700000762939
INFO: self.LifeCounter = \0002
INFO: Game time is: \00034.700000762939
INFO: "OKC_HeartBeat, while-loop-do"
INFO: Projectile ID: \000268435461
INFO: Game time is: \00034.799999237061
INFO: self.LifeCounter = \0002
INFO: Game time is: \00034.799999237061
INFO: *** FAF_OKC projectile.lua, OnImpact ***
INFO: Projectile ID: \000268435457
INFO: Game time is: \00034.799999237061
INFO: targetType: \000UnitAir
INFO: targetEntity: \000table: 31CCD5A0
INFO: *************************************
INFO: "OKC_HeartBeat, while-loop-do"
INFO: Projectile ID: \000268435462
INFO: Game time is: \00034.900001525879
INFO: self.LifeCounter = \0002
INFO: Game time is: \00034.900001525879
INFO: *** FAF_OKC projectile.lua, OnImpact ***
INFO: Projectile ID: \000268435456
INFO: Game time is: \00035.100002288818
INFO: targetType: \000Air
INFO: targetEntity: \000nil
INFO: *************************************
INFO: "OKC_HeartBeat, while-loop-do"
INFO: Projectile ID: \000268435458
INFO: Game time is: \00035.400001525879
INFO: self.LifeCounter = \0003
INFO: Game time is: \00035.400001525879
INFO: "OKC_HeartBeat, while-loop-do"
INFO: Projectile ID: \000268435459
INFO: Game time is: \00035.5
INFO: self.LifeCounter = \0003
INFO: Game time is: \00035.5
INFO: "OKC_HeartBeat, while-loop-do"
INFO: Projectile ID: \000268435460
INFO: Game time is: \00035.600002288818
INFO: self.LifeCounter = \0003
INFO: Game time is: \00035.600002288818
INFO: *** FAF_OKC projectile.lua, OnImpact ***
INFO: Projectile ID: \000268435458
INFO: Game time is: \00035.600002288818
INFO: targetType: \000Air
INFO: targetEntity: \000nil
INFO: *************************************
INFO: *** FAF_OKC projectile.lua, OnImpact ***
INFO: Projectile ID: \000268435459
INFO: Game time is: \00035.600002288818
INFO: targetType: \000Air
INFO: targetEntity: \000nil
INFO: *************************************
INFO: *** FAF_OKC projectile.lua, OnImpact ***
INFO: Projectile ID: \000268435460
INFO: Game time is: \00035.600002288818
INFO: targetType: \000Air
INFO: targetEntity: \000nil
INFO: *************************************
INFO: *** FAF_OKC projectile.lua, OnImpact ***
INFO: Projectile ID: \000268435461
INFO: Game time is: \00035.600002288818
INFO: targetType: \000Air
INFO: targetEntity: \000nil
INFO: *************************************
INFO: *** FAF_OKC projectile.lua, OnImpact ***
INFO: Projectile ID: \000268435462
INFO: Game time is: \00035.600002288818
INFO: targetType: \000Air
INFO: targetEntity: \000nil
INFO: *************************************
INFO: *** FAF_OKC projectile.lua, OnImpact ***
INFO: Projectile ID: \000269484033
INFO: Game time is: \00043.799999237061
INFO: targetType: \000Terrain
INFO: targetEntity: \000nil
INFO: *************************************
INFO: *** FAF_OKC projectile.lua, OnImpact ***
INFO: Projectile ID: \000269484032
INFO: Game time is: \00045.100002288818
INFO: targetType: \000Terrain
INFO: targetEntity: \000nil
INFO: *************************************
Statistics: Posted by Resin_Smoker — 22 Feb 2014, 05:50
Statistics: Posted by Resin_Smoker — 21 Feb 2014, 03:12
INFO: *** projectile.lua, PassDamageData ***
INFO: Game time is: \00030.300001144409
INFO: Passing extra data
INFO: Adjusting for ProjectileLifetimeUsesMultiplier
INFO: OKC_Retargeting: \000true
INFO: OKC Projectile found, forking to "self.ProjHeartBeat"
INFO: self.DamageData: \000{
INFO: Buffs={ },
INFO: CollideFriendly=false,
INFO: DamageAmount=600,
INFO: DamageFriendly=true,
INFO: DamageRadius=0,
INFO: DamageType="Normal",
INFO: Instigator={
INFO: Army=1,
INFO: Brain={ <metatable=table: 28580DC0>
INFO: AIPlansList={
INFO: { "/lua/AI/aiarchetype-managerloader.lua" },
INFO: { "/lua/AI/aiarchetype-managerloader.lua" },
INFO: { "/lua/AI/aiarchetype-managerloader.lua" },
INFO: { "/lua/AI/aiarchetype-managerloader.lua" }
INFO: },
INFO: AttackData={
INFO: AMPlatoonCount={
INFO: DefaultGroupAir=0,
INFO: DefaultGroupLand=0,
INFO: DefaultGroupSea=0
INFO: },
INFO: NeedSort=false
INFO: },
INFO: BrainType="Human",
INFO: ConstantEval=true,
INFO: DefaultPlan=true,
INFO: EconStateUnits={ EnergyStorage={ }, MassStorage={ } },
INFO: EconStorageTrigs={ },
INFO: IgnoreArmyCaps=false,
INFO: IntelTriggerList={ },
INFO: Name="ARMY_1",
INFO: Nickname="Resin_Smoker",
INFO: PingCallbackList={ },
INFO: RepeatExecution=false,
INFO: Trash={ },
INFO: TriggerList={ },
INFO: UnitBuiltTriggerList={ },
INFO: VOTable={ },
INFO: VeterancyTriggerList={ },
INFO: _c_object=userdata: CScriptObject* at 2E631588 = [CScriptObject at 0x2BDED6C0]
INFO: },
INFO: Categories={
INFO: "PRODUCTFA",
INFO: "SELECTABLE",
INFO: "BUILTBYTIER3ENGINEER",
INFO: "BUILTBYTIER3COMMANDER",
INFO: "SERAPHIM",
INFO: "STRUCTURE",
INFO: "DEFENSE",
INFO: "TECH3",
INFO: "ANTIAIR",
INFO: "DRAGBUILD",
INFO: "SIZE4",
INFO: "VISIBLETORECON",
INFO: "RECLAIMABLE",
INFO: "OVERLAYANTIAIR",
INFO: "SORTDEFENSE"
INFO: },
INFO: Description="<LOC xsb2304_desc>Anti-Air Defense",
INFO: EntityId="1",
INFO: GameTime=30.300001144409,
INFO: Location={ <metatable=table: 318DBA78> 197.5, 20.578125, 372.5 },
INFO: UnitName="<LOC xsb2304_name>Iathu-ioz"
INFO: },
INFO: Target={
INFO: Army=2,
INFO: Categories={
INFO: "PRODUCTFA",
INFO: "SELECTABLE",
INFO: "BUILTBYTIER1FACTORY",
INFO: "BUILTBYTIER2FACTORY",
INFO: "BUILTBYTIER3FACTORY",
INFO: "SERAPHIM",
INFO: "MOBILE",
INFO: "AIR",
INFO: "HIGHALTAIR",
INFO: "TECH1",
INFO: "INTELLIGENCE",
INFO: "SCOUT",
INFO: "VISIBLETORECON",
INFO: "RECLAIMABLE"
INFO: },
INFO: Description="<LOC xsa0101_desc>Air Scout",
INFO: EntityId="1048584",
INFO: Location={ <metatable=table: 318DBA78> 203.5, 40.603515625, 373.5 },
INFO: UnitName="<LOC xsa0101_name>Sele-istle"
INFO: },
INFO: Weapon={
INFO: DisplayName="Losaare AA Autocannon",
INFO: Label="AntiAirMissiles",
INFO: MaxRadius=60,
INFO: MinRadius=0,
INFO: MuzzleVelocity=60,
INFO: NukeWeapon=false,
INFO: OKC_Retargeting=true,
INFO: ProjectileId="/projectiles/saalosaareautocannon04/saalosaareautocannon04_proj.bp",
INFO: ProjectileLifetime=5,
INFO: ProjectileLifetimeUsesMultiplier=1.25,
INFO: TargetPriorities={
INFO: "SPECIALHIGHPRI",
INFO: "AIR MOBILE HIGHPRIAIR",
INFO: "AIR MOBILE TECH3 BOMBER",
INFO: "AIR MOBILE BOMBER",
INFO: "AIR MOBILE GROUNDATTACK",
INFO: "AIR MOBILE TRANSPORTATION",
INFO: "AIR MOBILE",
INFO: "SPECIALLOWPRI",
INFO: "ALLUNITS"
INFO: }
INFO: }
INFO: }
PassDamageData = function( self, damageData )
local myDebug = true
if myDebug or masterDebug then
LOG('*** projectile.lua, PassDamageData ***')
LOG(' Game time is: ', GetGameTimeSeconds() )
end
--> Run old first to ensure that data from weapon.lua is being passed into projectile DamageData
oldProjectile.PassDamageData( self, damageData )
--> Ensure that projectiles used as props or nukes dont trigger the passing of extra data
if self.DamageData.DamageAmount > 1 and not self.damageData.Weapon.NukeWeapon then
if myDebug or masterDebug then
LOG(' Passing extra data')
end
--> Pass extra data into self.DamageData
self.DamageData.Instigator = damageData.Instigator
self.DamageData.Target = damageData.Target
self.DamageData.Weapon = damageData.Weapon
--> Use lifetime multiplier if avalible
if self.DamageData.Weapon.ProjectileLifetimeUsesMultiplier > 0 then
if myDebug or masterDebug then
LOG(' Adjusting for ProjectileLifetimeUsesMultiplier')
end
self.DamageData.Weapon.ProjectileLifetime = ( self.MyBP.Physics.Lifetime or self.DamageData.Weapon.ProjectileLifetime or 1 ) * ( self.DamageData.Weapon.ProjectileLifetimeUsesMultiplier or 1 )
else
if myDebug or masterDebug then
LOG(' Using default self.DamageData.Weapon.ProjectileLifetime')
end
end
--> Run OKC threads or bypass if its a normal projectile
if self.DamageData and self.DamageData.Weapon.OKC_Retargeting then
if myDebug or masterDebug then
LOG(' OKC_Retargeting: ', repr( self.DamageData.Weapon.OKC_Retargeting ) )
LOG(' OKC Projectile found, forking to "self.ProjHeartBeat" ')
end
--> Kick off main OKC thread
--self:ForkThread( self.ProjHeartBeat )
else
if myDebug or masterDebug then
LOG(' OKC_Retargeting: ', repr( self.DamageData.Weapon.OKC_Retargeting ) )
LOG(' Normal projectile, bypassing fork')
end
end
else
if myDebug or masterDebug then
LOG(' Prop or nuke projectile detected, aborting extra data pass')
end
end
if myDebug or masterDebug then
LOG(' self.DamageData: ', repr( self.DamageData ) )
end
end,
Statistics: Posted by Resin_Smoker — 20 Feb 2014, 21:59
Statistics: Posted by Resin_Smoker — 20 Feb 2014, 05:56