Skip to content

Commit

Permalink
Format the blueprints using Balthazars rebuilding process (FAForever#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Garanas authored Jul 1, 2023
1 parent 3db1743 commit 8175858
Show file tree
Hide file tree
Showing 402 changed files with 33,197 additions and 69,095 deletions.
1 change: 1 addition & 0 deletions lua/system/Blueprints.lua
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,7 @@ function HandleUnitWithBuildPresets(bps, all_bps)
tempBp.BlueprintId = string.lower(tempBp.BlueprintId .. '_' .. name)
tempBp.BuildIconSortPriority = preset.BuildIconSortPriority or tempBp.BuildIconSortPriority or 0
tempBp.General.UnitName = preset.UnitName or tempBp.General.UnitName
tempBp.Interface = tempBp.Interface or { }
tempBp.Interface.HelpText = preset.HelpText or tempBp.Interface.HelpText
tempBp.Description = preset.Description or tempBp.Description
tempBp.CategoriesHash['ISPREENHANCEDUNIT'] = true
Expand Down
223 changes: 71 additions & 152 deletions units/DAA0206/DAA0206_unit.bp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
UnitBlueprint {
UnitBlueprint{
Description = "<LOC daa0206_desc>Guided Missile",
Air = {
AutoLandTime = 1,
BankFactor = 1,
Expand All @@ -21,101 +22,53 @@ UnitBlueprint {
Winged = true,
},
Audio = {
AirUnitWaterImpact = Sound {
Bank = 'Explosions',
Cue = 'Expl_Water_Lrg_01',
LodCutoff = 'UnitMove_LodCutoff',
},
AmbientMove = Sound {
Bank = 'UAA',
Cue = 'UAA0204_Move_Loop',
LodCutoff = 'UnitMove_LodCutoff',
},
Destroyed = Sound {
Bank = 'UAADestroy',
Cue = 'UAA_Destroy_Air',
LodCutoff = 'UnitMove_LodCutoff',
},
Killed = Sound {
Bank = 'UAADestroy',
Cue = 'UAA_Destroy_Air_Killed',
LodCutoff = 'UnitMove_LodCutoff',
},
Landing = Sound {
Bank = 'UAA',
Cue = 'UAA0204_Move_Land',
LodCutoff = 'UnitMove_LodCutoff',
},
StartMove = Sound {
Bank = 'UAA',
Cue = 'UAA0204_Move_Start',
LodCutoff = 'UnitMove_LodCutoff',
},
StopMove = Sound {
Bank = 'UAA',
Cue = 'UAA0204_Move_Stop',
LodCutoff = 'UnitMove_LodCutoff',
},
Thruster = Sound {
Bank = 'UAA',
Cue = 'UAA0204_Move_Thruster',
LodCutoff = 'UnitMove_LodCutoff',
},
UISelection = Sound {
Bank = 'Interface',
Cue = 'Aeon_Select_Air',
LodCutoff = 'UnitMove_LodCutoff',
},
AirUnitWaterImpact = Sound { Bank = 'Explosions', Cue = 'Expl_Water_Lrg_01', LodCutoff = 'UnitMove_LodCutoff' },
AmbientMove = Sound { Bank = 'UAA', Cue = 'UAA0204_Move_Loop', LodCutoff = 'UnitMove_LodCutoff' },
Destroyed = Sound { Bank = 'UAADestroy', Cue = 'UAA_Destroy_Air', LodCutoff = 'UnitMove_LodCutoff' },
Killed = Sound { Bank = 'UAADestroy', Cue = 'UAA_Destroy_Air_Killed', LodCutoff = 'UnitMove_LodCutoff' },
Landing = Sound { Bank = 'UAA', Cue = 'UAA0204_Move_Land', LodCutoff = 'UnitMove_LodCutoff' },
StartMove = Sound { Bank = 'UAA', Cue = 'UAA0204_Move_Start', LodCutoff = 'UnitMove_LodCutoff' },
StopMove = Sound { Bank = 'UAA', Cue = 'UAA0204_Move_Stop', LodCutoff = 'UnitMove_LodCutoff' },
Thruster = Sound { Bank = 'UAA', Cue = 'UAA0204_Move_Thruster', LodCutoff = 'UnitMove_LodCutoff' },
UISelection = Sound { Bank = 'Interface', Cue = 'Aeon_Select_Air', LodCutoff = 'UnitMove_LodCutoff' },
},
BuildIconSortPriority = 35,
Categories = {
'PRODUCTDL',
'SELECTABLE',
'TRANSPORTBUILTBYTIER2FACTORY',
'TRANSPORTBUILTBYTIER3FACTORY',
'AEON',
'MOBILE',
'AIR',
'TECH2',
'BOMBER',
'VISIBLETORECON',
'RECLAIMABLE',
'CANNOTUSEAIRSTAGING',
'SHOWATTACKRETICLE',
"AEON",
"AIR",
"BOMBER",
"CANNOTUSEAIRSTAGING",
"MOBILE",
"RECLAIMABLE",
"SELECTABLE",
"SHOWATTACKRETICLE",
"TECH2",
"TRANSPORTBUILTBYTIER2FACTORY",
"TRANSPORTBUILTBYTIER3FACTORY",
"VISIBLETORECON",
},
Defense = {
AirThreatLevel = 0,
ArmorType = 'Light',
EconomyThreatLevel = 0,
ArmorType = "Light",
EconomyThreatLevel = 6000,
Health = 90,
MaxHealth = 90,
RegenRate = 0,
SubThreatLevel = 0,
SurfaceThreatLevel = 4,
},
Description = '<LOC daa0206_desc>Guided Missile',
Display = {
Abilities = {
'<LOC ability_suicideweapon>Suicide Weapon',
},
Abilities = { "<LOC ability_suicideweapon>Suicide Weapon" },
LayerChangeEffects = {
AirLand = {
Effects = {
{
Bones = {
'DAA0206',
},
Type = 'Landing01',
Bones = { "DAA0206" },
Type = "Landing01",
},
},
},
LandAir = {
Effects = {
{
Bones = {
'DAA0206',
},
Type = 'TakeOff01',
Bones = { "DAA0206" },
Type = "TakeOff01",
},
},
},
Expand All @@ -126,28 +79,26 @@ UnitBlueprint {
{
LODCutoff = 50,
Scrolling = true,
ShaderName = 'Aeon',
ShaderName = "Aeon",
},
{
AlbedoName = 'DAA0206_lod1_albedo.dds',
LODCutoff = 215,
ShaderName = 'Aeon',
SpecularName = 'DAA0206_lod1_specteam.dds',
ShaderName = "Aeon",
AlbedoName = "DAA0206_lod1_albedo.dds",
SpecularName = "DAA0206_lod1_specteam.dds",
},
},
},
MovementEffects = {
Air = {
Contrails = {
Bones = {
'Exhaust_Left',
'Exhaust_Right',
"Exhaust_Left",
"Exhaust_Right",
},
},
},
},
PlaceholderMeshName = 'UXA0010',
SpawnRandomRotation = true,
UniformScale = 0.15,
},
Economy = {
Expand All @@ -161,59 +112,33 @@ UnitBlueprint {
SizeZ = 1,
},
General = {
Category = 'Utility',
Classification = 'RULEUC_MilitaryAircraft',
CommandCaps = {
RULEUCC_Attack = true,
RULEUCC_CallTransport = false,
RULEUCC_Capture = false,
RULEUCC_Dock = false,
RULEUCC_Guard = false,
RULEUCC_Move = true,
RULEUCC_Nuke = false,
RULEUCC_Patrol = false,
RULEUCC_Reclaim = false,
RULEUCC_Repair = false,
RULEUCC_RetaliateToggle = true,
RULEUCC_Stop = true,
RULEUCC_Transport = false,
},
FactionName = 'Aeon',
Icon = 'air',
TechLevel = 'RULEUTL_Advanced',
UnitName = '<LOC daa0206_name>Mercy',
UnitWeight = 1,
ExcludeFromVeterancy = true,
FactionName = "Aeon",
Icon = "air",
UnitName = "<LOC daa0206_name>Mercy",
},
Intel = {
VisionRadius = 10,
},
Interface = {
HelpText = '<LOC daa0206_help>Guided Missile',
},
Intel = { VisionRadius = 10 },
LifeBarHeight = 0.075,
LifeBarOffset = 0.6,
LifeBarSize = 0.75,
Physics = {
AttackElevation = 0.5,
BuildOnLayerCaps = {
LAYER_Air = true,
LAYER_Land = false,
LAYER_Orbit = false,
LAYER_Seabed = false,
LAYER_Sub = false,
LAYER_Water = false,
},
Elevation = 12,
FuelRechargeRate = 0,
FuelUseTime = 110,
GroundCollisionOffset = -.25,
GroundCollisionOffset = -0.25,
MaxSpeed = 13,
MeshExtentsX = 1.5,
MeshExtentsY = 0.25,
MeshExtentsZ = 1,
MinSpeedPercent = 0.85,
MotionType = 'RULEUMT_Air',
MotionType = "RULEUMT_Air",
},
SelectionSizeX = 0.3,
SelectionSizeZ = 1.2,
Expand All @@ -222,53 +147,46 @@ UnitBlueprint {
SizeX = 0.8,
SizeY = 0.25,
SizeZ = 1.4,
StrategicIconName = 'icon_fighter2_bomb',
StrategicIconName = "icon_fighter2_bomb",
StrategicIconSortPriority = 55,
Transport = {
AirClass = true,
TransportClass = 10,
},
Weapon = {
{
AboveWaterTargetsOnly = true,
AboveWaterTargetsOnly = true,
Audio = {
Fire = Sound {
Bank = 'UAAWeapon',
Cue = 'UAA0304_Bomb_Quark',
LodCutoff = 'Weapon_LodCutoff',
},
Fire = Sound { Bank = 'UAAWeapon', Cue = 'UAA0304_Bomb_Quark', LodCutoff = 'Weapon_LodCutoff' },
},
BallicsticArc = 'RULEUBA_None',
UseFiringSolutionInsteadOfAimBone = true,
BallicsticArc = "RULEUBA_None",
CollideFriendly = true,
Damage = 30,
DamageFriendly = true,
DamageRadius = 7,
DamageType = 'Normal',
DisplayName = 'Kamikaze',
DoTPulses = 20,
DamageType = "Normal",
DisplayName = "Kamikaze",
DoTPulses = 20,
DoTTime = 10,
EffectiveRadius = 0,
FireTargetLayerCapsTable = {
Air = 'Land|Seabed|Water',
Land = 'Air|Land|Seabed|Water',
Water = 'Air|Land|Seabed|Water',
Air = "Land|Seabed|Water",
Land = "Air|Land|Seabed|Water",
Water = "Air|Land|Seabed|Water",
},
FiringTolerance = 0.1,
Label = 'Suicide',
Label = "Suicide",
MaxRadius = 25,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 18,
ProjectileId = '/projectiles/X1Mercy_proj/X1Mercy_proj.bp',
ProjectileId = "/projectiles/X1Mercy_proj/X1Mercy_proj.bp",
ProjectileLifetime = 10,
ProjectilesPerOnFire = 1,
RackBones = {
{
MuzzleBones = {
'DAA0206',
},
RackBone = 'DAA0206',
MuzzleBones = { "DAA0206" },
RackBone = "DAA0206",
},
},
RackFireTogether = false,
Expand All @@ -283,17 +201,17 @@ UnitBlueprint {
SlavedToBodyArcRange = 35,
TargetCheckInterval = 999999,
TargetPriorities = {
'TECH4',
'TECH3 STRUCTURE',
'TECH2 STRUCTURE',
'TECH1 STRUCTURE',
'(ALLUNITS - SPECIALLOWPRI)',
"TECH4",
"TECH3 STRUCTURE",
"TECH2 STRUCTURE",
"TECH1 STRUCTURE",
"(ALLUNITS - SPECIALLOWPRI)",
},
TargetRestrictDisallow = 'UNTARGETABLE',
TargetRestrictDisallow = "UNTARGETABLE",
TrackingRadius = 0.5,
TurretBoneMuzzle = 'DAA0206',
TurretBonePitch = 'DAA0206',
TurretBoneYaw = 'DAA0206',
TurretBoneMuzzle = "DAA0206",
TurretBonePitch = "DAA0206",
TurretBoneYaw = "DAA0206",
TurretDualManipulators = false,
TurretPitch = 0,
TurretPitchRange = 40,
Expand All @@ -302,19 +220,20 @@ UnitBlueprint {
TurretYawRange = 40,
TurretYawSpeed = 720,
Turreted = true,
WeaponCategory = 'Kamikaze',
UseFiringSolutionInsteadOfAimBone = true,
WeaponCategory = "Kamikaze",
},
{
AboveWaterTargetsOnly = true,
Damage = 25,
DamageFriendly = true,
DamageRadius = 3,
DamageType = 'Normal',
DisplayName = 'Air Crash',
DamageType = "Normal",
DisplayName = "Air Crash",
DummyWeapon = true,
FiringTolerance = 2,
Label = 'DeathImpact',
WeaponCategory = 'Death',
Label = "DeathImpact",
WeaponCategory = "Death",
},
},
}
Loading

0 comments on commit 8175858

Please sign in to comment.