- Created mod folders, mod_info.lua and icon to identify FAF OKC
Unit Merg BP's for SAM launchers
Weapon.lua completed
Here is what the output of weapon.lua looks like...
- Code: Select all
INFO: *** weapon.lua, GetDamageTable, Contents of damageTable to later pass to projectile***
INFO: \000{
INFO: Buffs={ },
INFO: CollideFriendly=false,
INFO: DamageAmount=100,
INFO: DamageFriendly=true,
INFO: DamageRadius=0,
INFO: DamageType="Normal",
INFO: Instigator={
INFO: Army=1,
INFO: Categories={
INFO: "PRODUCTSC1",
INFO: "SELECTABLE",
INFO: "UEF",
INFO: "MOBILE",
INFO: "ECONOMIC",
INFO: "COMMAND",
INFO: "MASSPRODUCTION",
INFO: "MASSFABRICATION",
INFO: "ENERGYPRODUCTION",
INFO: "REPAIR",
INFO: "ENGINEER",
INFO: "CONSTRUCTION",
INFO: "RECLAIM",
INFO: "CAPTURE",
INFO: "DIRECTFIRE",
INFO: "PODSTAGINGPLATFORM",
INFO: "SILO",
INFO: "VERIFYMISSILEUI",
INFO: "LAND",
INFO: "VISIBLETORECON",
INFO: "PATROLHELPER",
INFO: "SHOWQUEUE",
INFO: "OVERLAYDIRECTFIRE",
INFO: "OVERLAYINDIRECTFIRE",
INFO: "OVERLAYOMNI",
INFO: "OVERLAYDEFENSE"
INFO: },
INFO: Description="<LOC uel0001_desc>Armored Command Unit",
INFO: EntityId="0",
INFO: GameTime=20.200000762939,
INFO: Location={ <metatable=table: 1D46F3E8> 148.5, 20.71044921875, 353.5 },
INFO: UnitName=""
INFO: },
INFO: Target={
INFO: Army=2,
INFO: Categories={
INFO: "PRODUCTSC1",
INFO: "SELECTABLE",
INFO: "BUILTBYTIER1FACTORY",
INFO: "BUILTBYTIER2FACTORY",
INFO: "BUILTBYTIER3FACTORY",
INFO: "CYBRAN",
INFO: "MOBILE",
INFO: "LAND",
INFO: "TECH1",
INFO: "SCOUT",
INFO: "INTELLIGENCE",
INFO: "RADAR",
INFO: "VISIBLETORECON",
INFO: "RECLAIMABLE",
INFO: "OVERLAYRADAR"
INFO: },
INFO: Description="<LOC url0101_desc>Land Scout",
INFO: EntityId="1048584",
INFO: Location={ <metatable=table: 1D46F3E8> 140.5, 20.69140625, 352.5 },
INFO: UnitName="<LOC url0101_name>Mole"
INFO: },
INFO: Weapon={
INFO: DisplayName="Zephyr Anti Matter Cannon",
INFO: Label="RightZephyr",
INFO: MaxRadius=22,
INFO: MinRadius=1,
INFO: MuzzleVelocity=35,
INFO: NukeWeapon=false,
INFO: OKC_Retargeting=false,
INFO: ProjectileId="/projectiles/laserbotterran01/laserbotterran01_proj.bp",
INFO: ProjectileLifetime=0,
INFO: ProjectileLifetimeUsesMultiplier=2,
INFO: TargetPriorities={
INFO: "SPECIALHIGHPRI",
INFO: "MOBILE",
INFO: "STRUCTURE DEFENSE",
INFO: "SPECIALLOWPRI",
INFO: "ALLUNITS"
INFO: }
INFO: }
INFO: }
As you can see, i know everything required about the attacker, its projectile and the target in one little neat table!
Resin