Initial commit
This commit is contained in:
commit
74162a93be
1366 files changed
+81395
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,46 @@
|
||||
#****************************************************************************
|
||||
#**
|
||||
#** File : /cdimage/units/UEB0102/UEB0102_script.lua
|
||||
#** Author(s): John Comes, David Tomandl
|
||||
#**
|
||||
#** Summary : UEF T1 Air Factory Script
|
||||
#**
|
||||
#** Copyright © 2005 Gas Powered Games, Inc. All rights reserved.
|
||||
#****************************************************************************
|
||||
local TAirFactoryUnit = import('/lua/terranunits.lua').TAirFactoryUnit
|
||||
|
||||
FSFACTORYAT1 = Class(TAirFactoryUnit) {
|
||||
|
||||
StartArmsMoving = function(self)
|
||||
TAirFactoryUnit.StartArmsMoving(self)
|
||||
#local unitBldg = self.UnitBeingBuilt
|
||||
if not self.ArmSlider then
|
||||
self.ArmSlider = CreateSlider(self, 'Arm01')
|
||||
self.Trash:Add(self.ArmSlider)
|
||||
end
|
||||
|
||||
end,
|
||||
|
||||
MovingArmsThread = function(self)
|
||||
TAirFactoryUnit.MovingArmsThread(self)
|
||||
while true do
|
||||
if not self.ArmSlider then return end
|
||||
self.ArmSlider:SetGoal(0, 6, 0)
|
||||
self.ArmSlider:SetSpeed(20)
|
||||
WaitFor(self.ArmSlider)
|
||||
self.ArmSlider:SetGoal(0, -6, 0)
|
||||
WaitFor(self.ArmSlider)
|
||||
end
|
||||
end,
|
||||
|
||||
StopArmsMoving = function(self)
|
||||
TAirFactoryUnit.StopArmsMoving(self)
|
||||
if not self.ArmSlider then return end
|
||||
self.ArmSlider:SetGoal(0, 0, 0)
|
||||
self.ArmSlider:SetSpeed(40)
|
||||
end,
|
||||
|
||||
|
||||
}
|
||||
|
||||
TypeClass = FSFACTORYAT1
|
||||
@@ -0,0 +1,356 @@
|
||||
UnitBlueprint {
|
||||
AI = {
|
||||
TargetBones = {
|
||||
'Target01',
|
||||
'Target02',
|
||||
'Target03',
|
||||
'UEB0102',
|
||||
},
|
||||
},
|
||||
Audio = {
|
||||
Construct = Sound {
|
||||
Bank = 'UEB',
|
||||
Cue = 'FSFACTORYAT1_Construct_Start',
|
||||
LodCutoff = 'UnitMove_LodCutoff',
|
||||
},
|
||||
ConstructLoop = Sound {
|
||||
Bank = 'UEB',
|
||||
Cue = 'FSFACTORYAT1_Construct_Loop',
|
||||
LodCutoff = 'UnitMove_LodCutoff',
|
||||
},
|
||||
DeathExplosion = Sound {
|
||||
Bank = 'UELDestroy',
|
||||
Cue = 'UEB_Destroy_Lrg_PreDestroy',
|
||||
LodCutoff = 'UnitMove_LodCutoff',
|
||||
},
|
||||
Destroyed = Sound {
|
||||
Bank = 'UELDestroy',
|
||||
Cue = 'UEB_Destroy_Huge',
|
||||
LodCutoff = 'UnitMove_LodCutoff',
|
||||
},
|
||||
DoneBeingBuilt = Sound {
|
||||
Bank = 'UEB',
|
||||
Cue = 'FSFACTORYAT1_Activate',
|
||||
LodCutoff = 'UnitMove_LodCutoff',
|
||||
},
|
||||
UISelection = Sound {
|
||||
Bank = 'Interface',
|
||||
Cue = 'UEF_Select_Factory',
|
||||
LodCutoff = 'UnitMove_LodCutoff',
|
||||
},
|
||||
},
|
||||
BuildIconSortPriority = 20,
|
||||
Categories = {
|
||||
'PRODUCTSC1',
|
||||
'SELECTABLE',
|
||||
'BUILTBYTIER1ENGINEER',
|
||||
'BUILTBYTIER2ENGINEER',
|
||||
'BUILTBYTIER3ENGINEER',
|
||||
'BUILTBYCOMMANDER',
|
||||
'FS',
|
||||
'STRUCTURE',
|
||||
'AIR',
|
||||
'TECH1',
|
||||
'CONSTRUCTION',
|
||||
'FACTORY',
|
||||
'RALLYPOINT',
|
||||
'DRAGBUILD',
|
||||
'SIZE16',
|
||||
'VISIBLETORECON',
|
||||
'RECLAIMABLE',
|
||||
'SHOWQUEUE',
|
||||
'SORTCONSTRUCTION',
|
||||
},
|
||||
Defense = {
|
||||
AirThreatLevel = 0,
|
||||
ArmorType = 'A_M_Standard',
|
||||
EconomyThreatLevel = 3,
|
||||
Health = 4800,
|
||||
MaxHealth = 4800,
|
||||
RegenRate = 0,
|
||||
SubThreatLevel = 0,
|
||||
SurfaceThreatLevel = 0,
|
||||
},
|
||||
Description = '<LOC FSFACTORYAT1_desc>Federated Suns Air Factory',
|
||||
Display = {
|
||||
Abilities = {
|
||||
'<LOC ability_upgradable>Upgradeable',
|
||||
},
|
||||
AnimationFinishBuildLand = '/units/FSFACTORYAT1/FSFACTORYAT1_aplatform.sca',
|
||||
AnimationUpgrade = '/units/FSFACTORYAT1/FSFACTORYAT1_aupgrade.sca',
|
||||
-- BlinkingLights = {
|
||||
-- {
|
||||
-- BLBone = 'Tower04',
|
||||
-- BLOffsetX = 0.25,
|
||||
-- BLOffsetY = 0.07,
|
||||
-- BLOffsetZ = 0.6,
|
||||
-- BLScale = 2,
|
||||
-- },
|
||||
-- },
|
||||
-- BlinkingLightsFx = {
|
||||
-- Green = '/effects/emitters/light_green_03_emit.bp',
|
||||
-- Red = '/effects/emitters/light_red_03_emit.bp',
|
||||
-- Yellow = '/effects/emitters/light_yellow_02_emit.bp',
|
||||
-- },
|
||||
BuildAttachBone = 'Attachpoint',
|
||||
Mesh = {
|
||||
IconFadeInZoom = 130,
|
||||
LODs = {
|
||||
{
|
||||
LODCutoff = 200,
|
||||
ShaderName = 'Unit',
|
||||
},
|
||||
},
|
||||
},
|
||||
SpawnRandomRotation = true,
|
||||
UniformScale = 1.2,
|
||||
},
|
||||
Economy = {
|
||||
BuildCostEnergy = 2400,
|
||||
BuildCostMass = 210,
|
||||
BuildRate = 40,
|
||||
BuildTime = 300,
|
||||
BuildableCategory = {
|
||||
'BUILTBYTIER1FACTORY FS MOBILE CONSTRUCTION',
|
||||
'BUILTBYTIER1FACTORY FS STRUCTURE AIR',
|
||||
'BUILTBYTIER1FACTORY FS MOBILE AIR',
|
||||
},
|
||||
RebuildBonusIds = {
|
||||
'FSFACTORYAT1',
|
||||
'FSFACTORYAT2',
|
||||
'FSFACTORYAT3',
|
||||
},
|
||||
StorageEnergy = 0,
|
||||
StorageMass = 80,
|
||||
},
|
||||
Footprint = {
|
||||
SizeX = 5,
|
||||
SizeZ = 5,
|
||||
},
|
||||
General = {
|
||||
BuildBones = {
|
||||
BuildEffectBones = {
|
||||
'Muzzle01',
|
||||
},
|
||||
},
|
||||
Category = 'Factory',
|
||||
Classification = 'RULEUC_Factory',
|
||||
CommandCaps = {
|
||||
RULEUCC_Attack = false,
|
||||
RULEUCC_CallTransport = false,
|
||||
RULEUCC_Capture = false,
|
||||
RULEUCC_Guard = true,
|
||||
RULEUCC_Move = true,
|
||||
RULEUCC_Nuke = false,
|
||||
RULEUCC_Patrol = true,
|
||||
RULEUCC_Pause = true,
|
||||
RULEUCC_Reclaim = false,
|
||||
RULEUCC_Repair = false,
|
||||
RULEUCC_RetaliateToggle = true,
|
||||
RULEUCC_Stop = true,
|
||||
RULEUCC_Transport = false,
|
||||
},
|
||||
ConstructionBar = true,
|
||||
FactionName = 'UEF',
|
||||
Icon = 'air',
|
||||
SelectionPriority = 5,
|
||||
TechLevel = 'RULEUTL_Basic',
|
||||
UnitWeight = 1,
|
||||
UpgradesTo = 'FSFACTORYAT2',
|
||||
},
|
||||
Intel = {
|
||||
VisionRadius = 20,
|
||||
},
|
||||
Interface = {
|
||||
HelpText = '<LOC FSFACTORYAT1_help>Air Factory',
|
||||
},
|
||||
LifeBarHeight = 0.075,
|
||||
LifeBarOffset = 1.65,
|
||||
LifeBarSize = 4.5,
|
||||
Physics = {
|
||||
BankingSlope = 0,
|
||||
BuildOnLayerCaps = {
|
||||
LAYER_Air = false,
|
||||
LAYER_Land = true,
|
||||
LAYER_Orbit = false,
|
||||
LAYER_Seabed = false,
|
||||
LAYER_Sub = false,
|
||||
LAYER_Water = false,
|
||||
},
|
||||
DragCoefficient = 0.2,
|
||||
FlattenSkirt = true,
|
||||
MaxSteerForce = 0,
|
||||
MeshExtentsX = 5.5,
|
||||
MeshExtentsY = 4.5,
|
||||
MeshExtentsZ = 5.5,
|
||||
MinSpeedPercent = 0,
|
||||
MotionType = 'RULEUMT_None',
|
||||
-- RaisedPlatforms = {
|
||||
|
||||
-- # Platform 1
|
||||
-- # TopLeft Offset From Center
|
||||
-- -1.6,
|
||||
|
||||
-- # x
|
||||
-- -2,
|
||||
|
||||
-- # z
|
||||
-- 0.18,
|
||||
|
||||
-- # height
|
||||
-- # TopRight Offset From Center
|
||||
-- 2,
|
||||
|
||||
-- # x
|
||||
-- -2,
|
||||
|
||||
-- # z
|
||||
-- 0.18,
|
||||
|
||||
-- # height
|
||||
-- # BottomLeft Offset From Center
|
||||
-- -1.6,
|
||||
|
||||
-- # x
|
||||
-- 1.6,
|
||||
|
||||
-- # z
|
||||
-- 0.18,
|
||||
|
||||
-- # height
|
||||
-- # BottomRight Offset From Center
|
||||
-- 2,
|
||||
|
||||
-- # x
|
||||
-- 1.6,
|
||||
|
||||
-- # z
|
||||
-- 0.18,
|
||||
|
||||
-- # height
|
||||
-- # Platform 2
|
||||
-- # TopLeft Offset From Center
|
||||
-- -1.75,
|
||||
|
||||
-- # x
|
||||
-- -2,
|
||||
|
||||
-- # z
|
||||
-- 0,
|
||||
|
||||
-- # height
|
||||
-- # TopRight Offset From Center
|
||||
-- -1.6,
|
||||
|
||||
-- # x
|
||||
-- -2,
|
||||
|
||||
-- # z
|
||||
-- 0.18,
|
||||
|
||||
-- # height
|
||||
-- # BottomLeft Offset From Center
|
||||
-- -1.75,
|
||||
|
||||
-- # x
|
||||
-- 1.6,
|
||||
|
||||
-- # z
|
||||
-- 0,
|
||||
|
||||
-- # height
|
||||
-- # BottomRight Offset From Center
|
||||
-- -1.6,
|
||||
|
||||
-- # x
|
||||
-- 1.6,
|
||||
|
||||
-- # z
|
||||
-- 0.18,
|
||||
|
||||
-- # height
|
||||
-- # Platform 3
|
||||
-- # TopLeft Offset From Center
|
||||
-- -2,
|
||||
|
||||
-- # x
|
||||
-- 1.6,
|
||||
|
||||
-- # z
|
||||
-- 0.18,
|
||||
|
||||
-- # height
|
||||
-- # TopRight Offset From Center
|
||||
-- 2,
|
||||
|
||||
-- # x
|
||||
-- 1.6,
|
||||
|
||||
-- # z
|
||||
-- 0.18,
|
||||
|
||||
-- # height
|
||||
-- # BottomLeft Offset From Center
|
||||
-- -2,
|
||||
|
||||
-- # x
|
||||
-- 1.75,
|
||||
|
||||
-- # z
|
||||
-- 0,
|
||||
|
||||
-- # height
|
||||
-- # BottomRight Offset From Center
|
||||
-- 2,
|
||||
|
||||
-- # x
|
||||
-- 1.75,
|
||||
|
||||
-- # z
|
||||
-- 0,
|
||||
-- },
|
||||
RollOffPoints = {
|
||||
{
|
||||
UnitSpin = 0,
|
||||
X = 0,
|
||||
Y = 0,
|
||||
Z = 3,
|
||||
},
|
||||
{
|
||||
UnitSpin = -90,
|
||||
X = -3,
|
||||
Y = 0,
|
||||
Z = 0,
|
||||
},
|
||||
},
|
||||
SkirtOffsetX = -1.5,
|
||||
SkirtOffsetZ = -1.5,
|
||||
SkirtSizeX = 8,
|
||||
SkirtSizeZ = 8,
|
||||
TurnRate = 0,
|
||||
},
|
||||
SelectionSizeX = 3.2,
|
||||
SelectionSizeZ = 3.1,
|
||||
SelectionThickness = 0.3,
|
||||
|
||||
# height
|
||||
SizeX = 3.5,
|
||||
SizeY = 0.75,
|
||||
SizeZ = 3.5,
|
||||
StrategicIconName = 'icon_factory1_air',
|
||||
StrategicIconSortPriority = 220,
|
||||
Wreckage = {
|
||||
Blueprint = '/props/DefaultWreckage/DefaultWreckage_prop.bp',
|
||||
EnergyMult = 0,
|
||||
HealthMult = 0.9,
|
||||
MassMult = 0.9,
|
||||
ReclaimTimeMultiplier = 1,
|
||||
WreckageLayers = {
|
||||
Air = false,
|
||||
Land = true,
|
||||
Seabed = false,
|
||||
Sub = false,
|
||||
Water = false,
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user