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.
@@ -0,0 +1,35 @@
|
||||
|
||||
|
||||
local TSeaFactoryUnit = import('/lua/terranunits.lua').TSeaFactoryUnit
|
||||
|
||||
FSFACTORYNT1 = Class(TSeaFactoryUnit) {
|
||||
StartArmsMoving = function(self)
|
||||
TSeaFactoryUnit.StartArmsMoving(self)
|
||||
if not self.ArmSlider then
|
||||
self.ArmSlider = CreateSlider(self, 'Right_Arm')
|
||||
self.Trash:Add(self.ArmSlider)
|
||||
end
|
||||
|
||||
end,
|
||||
|
||||
MovingArmsThread = function(self)
|
||||
TSeaFactoryUnit.MovingArmsThread(self)
|
||||
while true do
|
||||
if not self.ArmSlider then return end
|
||||
self.ArmSlider:SetGoal(0, 0, 40)
|
||||
self.ArmSlider:SetSpeed(40)
|
||||
WaitFor(self.ArmSlider)
|
||||
self.ArmSlider:SetGoal(0, 0, 0)
|
||||
WaitFor(self.ArmSlider)
|
||||
end
|
||||
end,
|
||||
|
||||
StopArmsMoving = function(self)
|
||||
TSeaFactoryUnit.StopArmsMoving(self)
|
||||
self.ArmSlider:SetGoal(0, 0, 0)
|
||||
self.ArmSlider:SetSpeed(40)
|
||||
end,
|
||||
|
||||
}
|
||||
|
||||
TypeClass = FSFACTORYNT1
|
||||
@@ -0,0 +1,245 @@
|
||||
UnitBlueprint {
|
||||
AI = {
|
||||
TargetBones = {
|
||||
'UEB0103',
|
||||
'Center_Deck',
|
||||
'Center_BottomDeck',
|
||||
},
|
||||
},
|
||||
Audio = {
|
||||
Construct = Sound {
|
||||
Bank = 'UEB',
|
||||
Cue = 'LAFACTORYNT1_Construct_Start',
|
||||
LodCutoff = 'UnitMove_LodCutoff',
|
||||
},
|
||||
ConstructLoop = Sound {
|
||||
Bank = 'UEB',
|
||||
Cue = 'LAFACTORYNT1_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 = 'LAFACTORYNT1_Activate',
|
||||
LodCutoff = 'UnitMove_LodCutoff',
|
||||
},
|
||||
UISelection = Sound {
|
||||
Bank = 'Interface',
|
||||
Cue = 'UEF_Select_Factory',
|
||||
LodCutoff = 'UnitMove_LodCutoff',
|
||||
},
|
||||
},
|
||||
BuildIconSortPriority = 30,
|
||||
Categories = {
|
||||
'PRODUCTSC1',
|
||||
'SELECTABLE',
|
||||
'BUILTBYTIER1ENGINEER',
|
||||
'BUILTBYTIER2ENGINEER',
|
||||
'BUILTBYTIER3ENGINEER',
|
||||
'BUILTBYCOMMANDER',
|
||||
'LA',
|
||||
'STRUCTURE',
|
||||
'NAVAL',
|
||||
'TECH1',
|
||||
'CONSTRUCTION',
|
||||
'FACTORY',
|
||||
'RALLYPOINT',
|
||||
'DRAGBUILD',
|
||||
'SIZE16',
|
||||
'VISIBLETORECON',
|
||||
'RECLAIMABLE',
|
||||
'SHOWQUEUE',
|
||||
'SORTCONSTRUCTION',
|
||||
},
|
||||
CollisionOffsetY = -1,
|
||||
CollisionOffsetZ = 0,
|
||||
Defense = {
|
||||
AirThreatLevel = 0,
|
||||
ArmorType = 'A_M_Standard',
|
||||
EconomyThreatLevel = 3,
|
||||
Health = 4800,
|
||||
MaxHealth = 4800,
|
||||
RegenRate = 0,
|
||||
SubThreatLevel = 0,
|
||||
SurfaceThreatLevel = 0,
|
||||
},
|
||||
Description = '<LOC LAFACTORYNT1_desc>Naval Factory',
|
||||
Display = {
|
||||
Abilities = {
|
||||
'<LOC ability_upgradable>Upgradeable',
|
||||
},
|
||||
AnimationUpgrade = '/units/LAFACTORYNT1/LAFACTORYNT1_aupgrade.sca',
|
||||
BlinkingLights = {
|
||||
{
|
||||
BLBone = 'Dock_Cover',
|
||||
BLOffsetX = -0.05,
|
||||
BLOffsetY = 0.5,
|
||||
BLOffsetZ = 0,
|
||||
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 = 'Attachpoint01',
|
||||
IdleEffects = {
|
||||
Water = {
|
||||
Effects = {
|
||||
{
|
||||
Bones = {
|
||||
'UEB0103',
|
||||
},
|
||||
Scale = 3,
|
||||
Type = 'SeaIdle01',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
Mesh = {
|
||||
IconFadeInZoom = 130,
|
||||
LODs = {
|
||||
{
|
||||
LODCutoff = 200,
|
||||
ShaderName = 'Unit',
|
||||
},
|
||||
},
|
||||
},
|
||||
PlaceholderMeshName = 'UXB0005',
|
||||
SpawnRandomRotation = false,
|
||||
UniformScale = 0.083,
|
||||
},
|
||||
Economy = {
|
||||
BuildCostEnergy = 1500,
|
||||
BuildCostMass = 300,
|
||||
BuildRate = 40,
|
||||
BuildTime = 300,
|
||||
BuildableCategory = {
|
||||
'BUILTBYTIER1FACTORY LA STRUCTURE NAVAL',
|
||||
'BUILTBYTIER1FACTORY LA MOBILE NAVAL',
|
||||
},
|
||||
InitialRallyX = 0,
|
||||
InitialRallyZ = 10,
|
||||
RebuildBonusIds = {
|
||||
'LAFACTORYNT1',
|
||||
},
|
||||
StorageEnergy = 0,
|
||||
StorageMass = 80,
|
||||
},
|
||||
Footprint = {
|
||||
MinWaterDepth = 1.5,
|
||||
},
|
||||
General = {
|
||||
BuildBones = {
|
||||
BuildEffectBones = {
|
||||
'Right_Exhaust',
|
||||
},
|
||||
},
|
||||
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 = 'sea',
|
||||
SelectionPriority = 5,
|
||||
TechLevel = 'RULEUTL_Basic',
|
||||
UnitWeight = 1,
|
||||
UpgradesTo = 'ueb0203',
|
||||
},
|
||||
Intel = {
|
||||
VisionRadius = 20,
|
||||
},
|
||||
Interface = {
|
||||
HelpText = '<LOC LAFACTORYNT1_help>Naval Factory',
|
||||
},
|
||||
LifeBarHeight = 0.075,
|
||||
LifeBarOffset = 4.75,
|
||||
LifeBarSize = 4,
|
||||
Physics = {
|
||||
BankingSlope = 0,
|
||||
BuildOnLayerCaps = {
|
||||
LAYER_Air = false,
|
||||
LAYER_Land = false,
|
||||
LAYER_Orbit = false,
|
||||
LAYER_Seabed = false,
|
||||
LAYER_Sub = false,
|
||||
LAYER_Water = true,
|
||||
},
|
||||
CollisionOffsetX = 0,
|
||||
DragCoefficient = 0.2,
|
||||
MaxSteerForce = 0,
|
||||
MeshExtentsX = 6,
|
||||
MeshExtentsY = 4,
|
||||
MeshExtentsZ = 18,
|
||||
MinSpeedPercent = 0,
|
||||
MotionType = 'RULEUMT_None',
|
||||
RollOffPoints = {
|
||||
{
|
||||
UnitSpin = 180,
|
||||
X = -2,
|
||||
Y = 0,
|
||||
Z = -8,
|
||||
},
|
||||
{
|
||||
UnitSpin = 0,
|
||||
X = -2,
|
||||
Y = 0,
|
||||
Z = 8,
|
||||
},
|
||||
},
|
||||
SkirtOffsetX = -7,
|
||||
SkirtOffsetZ = -1,
|
||||
SkirtSizeX = 12,
|
||||
SkirtSizeZ = 14,
|
||||
TurnRate = 0,
|
||||
},
|
||||
SelectionMeshScaleX = 0.3,
|
||||
SelectionMeshScaleZ = 0.4,
|
||||
SelectionMeshUseTopAmount = 0.15,
|
||||
SelectionSizeX = 2.2,
|
||||
SelectionSizeZ = 6.9,
|
||||
SelectionThickness = 0.26,
|
||||
SizeX = 4,
|
||||
SizeY = 2,
|
||||
SizeZ = 10,
|
||||
StrategicIconName = 'icon_factory1_naval',
|
||||
StrategicIconSortPriority = 220,
|
||||
Wreckage = {
|
||||
Blueprint = '/props/DefaultWreckage/DefaultWreckage_prop.bp',
|
||||
EnergyMult = 0,
|
||||
HealthMult = 0.9,
|
||||
MassMult = 0.9,
|
||||
ReclaimTimeMultiplier = 1,
|
||||
WreckageLayers = {
|
||||
Air = false,
|
||||
Land = false,
|
||||
Seabed = false,
|
||||
Sub = false,
|
||||
Water = true,
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user