Variable; StrikeGroups - HWRM/KarosGraveyard GitHub Wiki

Strikegroup files can be found in the "data\scripts\strike groups" directory.

Note: This reference is almost useless in its current state and needs definitions added for k-v pairs in a strikegroup definition.


strikegroup table

Name string
DesiredShipTypes string list
OffsetFromParent a table containing XYZ coordinates
Children table


Name = "Batch_Dart"
Order = -1.0 -- Means invisible to UI
Hint = "$5480"
Title = "$5479"
Hotkey = 106
AI = 2

Icon = {
	texture = "DATA:UI\\NewUI\\Taskbar\\FormationIcons\\form_ico_delta.dds",
	uvRect = { 0/128, 0/512, 128/128, 128/512 },
	patch_X = { 4,-120, 4,0 },
	patch_Y = { 4,-120,4, 0 },
	patch_Scale = 1,
		
	Surface = {
		surface = "ui_multistate";
		{ prop = "state0", float3 = { 0.0, 0.0, 1.0 } },
		{ prop = "state1", float3 = { 0.0, 0.0, 0.0 } },
		{ prop = "state2", float3 = { 0.0, 0.0, 0.0 } },
		{ prop = "decal", float3 = { 0.0, 0.0, 0.0 } },
	}
}

ExtFilter = "sgf_gbx,sgf_hwrm"
Tags = "sgf_vgr"
UIAlias = "Vgr_Dart"
BatchRestrict = 1
LayoutMode = "Nodes"
StanceGrouping = "Batch"
StanceGroupingAg = "Shape"
StanceGroupingEv = "Subs"
DeathDamage = 0.90
FriendlyFire = { 0.8, 0.0, 0.0 } -- Base, Pop, PopSqrt
PopDecay = 0.01
SpacingRange = { 25, 2.85, 200, 1.1 } SpacingRangeAg = { 25, 2.85, 200, 1.1 }
SpacingRangeEv = { 25, 3.45, 200, 2.0 }

Multipliers = {
    MAXSPEED = {
   },
    FLIGHTPERF  = {
 
		{ "Vgr_Interceptor", "Graph", 7, 0.88, 8, 0.88, 14, 0.88, 21, 0.88, 28, 0.85},
		{ "Vgr_Bomber", "Graph", 6, 0.88, 7, 0.88, 12, 0.88, 18, 0.88, 24, 0.85},

		{ "Corvette", "Graph", 3, 0.965, 4, 0.965, 6, 0.965, 12, 0.95, 18, 0.95},

		{ "Vgr_MissileCorvette", "Graph", 4, 0.965, 5, 0.965, 8, 0.965, 16, 0.95, 24, 0.95},
		{ "Vgr_LaserCorvette", "Graph", 4, 0.965, 5, 0.965, 8, 0.965, 16, 0.95, 24, 0.95},

   },
    ENGINEACCEL = {
		{ "Vgr_Interceptor", "Graph", 7, 0.85, 8, 0.85, 14, 0.85, 21, 0.85, 28, 0.80},

		{ "Corvette", "Graph", 3, 0.85, 4, 0.85, 6, 0.85, 12, 0.85, 18, 0.80},

   },
    ENGINEBRAKE = {

   },
    THRUSTER = {

   },
    THRUSTERACCEL = {
		{ "Vgr_Interceptor", "Graph", 7, 0.85, 8, 0.85, 14, 0.85, 21, 0.85, 28, 0.80},

		{ "Corvette", "Graph", 3, 0.85, 4, 0.85, 6, 0.85, 12, 0.85, 18, 0.80},

   },
    THRUSTERBRAKE = {

   },
    ROTATION = {
		{ "Vgr_Interceptor", "Graph", 7, 0.85, 8, 0.85, 14, 0.85, 21, 0.85, 28, 0.80},

		{ "Corvette", "Graph", 3, 0.85, 4, 0.85, 6, 0.85, 12, 0.85, 18, 0.80},

   },
    ROTATIONACCEL = {},
    ROTATIONBRAKE = {},
     WEAPONCONE = {
		{ "Vgr_Scout", "Graph", 3, 1.0, 4, 0.98, 6, 0.98, 9, 0.97 },

		{ "Vgr_Interceptor", "Graph", 1, 0.98, 8, 0.98, 14, 0.978 },

		{ "Vgr_LanceFighter", "Graph", 1, 1.0, 5, 0.98, 6, 0.98, 10, 0.97 },

		{ "Vgr_Bomber", "Graph", 6, 1.0, 7, 0.98, 12, 0.98, 18, 0.97 },

		{ "Corvette", "Graph", 3, 1.0, 4, 0.98, 6, 0.98, 12, 0.97 },

		{ "Vgr_LaserCorvette", "Graph", 4, 1.0, 5, 0.98, 8, 0.98, 16, 0.97 },

   },
    WEAPONACCURACY = {   },
    WEAPONDAMAGE = {
		{ "Vgr_Interceptor",AggressiveStance, "Graph", 1, 1.01, 7, 1.01, 14, 1.01},

		{ "Vgr_LanceFighter",AggressiveStance, "Graph", 1, 1.01, 5, 1.01},

		{ "Corvette",AggressiveStance, "Graph", 1, 1.01, 3, 1.01},

   },
     BULLETSPEED = {
		{ "Vgr_Interceptor",AggressiveStance, "Graph", 1, 1.011, 3, 1.011},

		{ "Corvette",AggressiveStance, "Graph", 1, 1.0, 5, 1.01},
 
   },
    TURRETSPEED = {

   },
    ACCURACYAPPLIED = {
   },
    DAMAGEAPPLIED = {
   },
    FIRERATE = {

		{ "Vgr_Interceptor",AggressiveStance, "Graph", 1, 0.80, 7, 0.80, 14, 0.80},

		{ "Vgr_LanceFighter",AggressiveStance, "Graph", 1, 0.80, 5, 0.80, 10, 0.80},

		{ "Vgr_Bomber",AggressiveStance, "Graph", 6, 0.98, 6, 0.98 },

		{ "Corvette",AggressiveStance, "Graph", 5, 0.98, 6, 0.98 },

   },
}

UnitLimit = 32

SupplyLimits =
{
	LayoutFighter = 10,
	LayoutCorvette = 6,
	LayoutFrigate = 4,
	LayoutDestroyer = 1,
	LayoutBattleCruiser = 1,
	LayoutResource = 9,
}
SubFormations =
{
	default = "Wall"
}
strikegroup =
{
	OffsetFromParent 		= {0,0,0},
	Children =
	{
		-- 'Near' nodes...
		{
			OffsetFromParent 		= {0.377974,0.604651,-0.474651},	
			Children = {{ OffsetFromParent 		= {0.377974,0.604651,-0.74651}, }},
		},
		{
			OffsetFromParent 		= {-0.755881,0.0,-0.474651},
			Children = {{ OffsetFromParent 		= {-0.755881,0.0,-0.74651}, }},
		},
		{
			OffsetFromParent 		= {0.377974,-0.604651,-0.474651},
			Children = {{ OffsetFromParent 		= {0.377974,-0.604651,-0.74651}, }},
		},
		-- 'Far' nodes...
		{
			OffsetFromParent 		= {-0.377974,0.604651,-0.74651},
			Children = {{ OffsetFromParent 		= {-0.377974,0.604651,-0.74651}, }},
		},
		{
			OffsetFromParent 		= {0.755881,0.0,-0.74651},
			Children = {{ OffsetFromParent 		= {0.755881,0.0,-0.74651}, }},
		},
		{
			OffsetFromParent 		= {-0.377974,-0.604651,-0.74651},
			Children = {{ OffsetFromParent 		= {-0.377974,-0.604651,-0.74651}, }},
		},
	},
}

NOTE: SpacingRange is a linear interpolation based on parent collision sphere size ({minSize, minScale, maxSize, maxScale})

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial