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.
@@ -0,0 +1,43 @@
|
||||
#****************************************************************************
|
||||
#**
|
||||
#** File : /cdimage/units/UEB1201/UEB1201_script.lua
|
||||
#** Author(s): John Comes, Dave Tomandl, Jessica St. Croix, Fuegotigre, Kami, Squall
|
||||
#**
|
||||
#** Summary : Federated Suns T2 Power Generator Script
|
||||
#**
|
||||
#** Copyright © 2005 Gas Powered Games, Inc. All rights reserved.
|
||||
#****************************************************************************
|
||||
|
||||
local TEnergyCreationUnit = import('/lua/terranunits.lua').TEnergyCreationUnit
|
||||
|
||||
LAGENT2 = Class(TEnergyCreationUnit) {
|
||||
OnStopBeingBuilt = function(self,builder,layer)
|
||||
TEnergyCreationUnit.OnStopBeingBuilt(self,builder,layer)
|
||||
ChangeState(self, self.ActiveState)
|
||||
end,
|
||||
|
||||
ActiveState = State {
|
||||
Main = function(self)
|
||||
# Play the "Activate" sound
|
||||
local myBlueprint = self:GetBlueprint()
|
||||
if myBlueprint.Audio.Activate then
|
||||
self:PlaySound(myBlueprint.Audio.Activate)
|
||||
end
|
||||
end,
|
||||
|
||||
OnInActive = function(self)
|
||||
ChangeState(self, self.InActiveState)
|
||||
end,
|
||||
},
|
||||
|
||||
InActiveState = State {
|
||||
Main = function(self)
|
||||
end,
|
||||
|
||||
OnActive = function(self)
|
||||
ChangeState(self, self.ActiveState)
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = LAGENT2
|
||||
@@ -0,0 +1,204 @@
|
||||
UnitBlueprint {
|
||||
Adjacency = 'T2PowerGeneratorAdjacencyBuffs',
|
||||
Audio = {
|
||||
ActiveLoop = Sound {
|
||||
Bank = 'UEB',
|
||||
Cue = 'UEB1201_Active',
|
||||
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 = 'UEB1201_Activate',
|
||||
LodCutoff = 'UnitMove_LodCutoff',
|
||||
},
|
||||
UISelection = Sound {
|
||||
Bank = 'Interface',
|
||||
Cue = 'UEF_Select_Resource',
|
||||
LodCutoff = 'UnitMove_LodCutoff',
|
||||
},
|
||||
},
|
||||
BuildIconSortPriority = 70,
|
||||
Categories = {
|
||||
'PRODUCTSC1',
|
||||
'SELECTABLE',
|
||||
'BUILTBYTIER2ENGINEER',
|
||||
'BUILTBYTIER3ENGINEER',
|
||||
'BUILTBYTIER2COMMANDER',
|
||||
'LA',
|
||||
'STRUCTURE',
|
||||
'ECONOMIC',
|
||||
'TECH2',
|
||||
'ENERGYPRODUCTION',
|
||||
'DRAGBUILD',
|
||||
'SIZE12',
|
||||
'VISIBLETORECON',
|
||||
'RECLAIMABLE',
|
||||
'SORTECONOMY',
|
||||
},
|
||||
CollisionOffsetY = 0,
|
||||
Defense = {
|
||||
AirThreatLevel = 0,
|
||||
ArmorType = 'A_M_Standard',
|
||||
EconomyThreatLevel = 16,
|
||||
Health = 2160,
|
||||
MaxHealth = 2160,
|
||||
RegenRate = 0,
|
||||
SubThreatLevel = 0,
|
||||
SurfaceThreatLevel = 0,
|
||||
},
|
||||
Description = '<LOC LAGENT2_desc>Power Generator',
|
||||
Display = {
|
||||
Abilities = {
|
||||
'<LOC ability_deathaoe>Volatile',
|
||||
},
|
||||
DamageEffects = {
|
||||
{
|
||||
Bone = 0,
|
||||
OffsetX = 0.75,
|
||||
OffsetY = 0.25,
|
||||
OffsetZ = 0.75,
|
||||
},
|
||||
{
|
||||
Bone = 0,
|
||||
OffsetX = -0.75,
|
||||
OffsetY = 0.25,
|
||||
OffsetZ = 0.75,
|
||||
},
|
||||
{
|
||||
Bone = 0,
|
||||
OffsetX = -0.75,
|
||||
OffsetY = 0.25,
|
||||
OffsetZ = -0.75,
|
||||
},
|
||||
{
|
||||
Bone = 0,
|
||||
OffsetX = 0.75,
|
||||
OffsetY = 0.25,
|
||||
OffsetZ = -0.75,
|
||||
},
|
||||
},
|
||||
Mesh = {
|
||||
IconFadeInZoom = 130,
|
||||
LODs = {
|
||||
{
|
||||
LODCutoff = 175,
|
||||
ShaderName = 'Unit',
|
||||
},
|
||||
},
|
||||
},
|
||||
PlaceholderMeshName = 'UXB0023',
|
||||
SpawnRandomRotation = true,
|
||||
UniformScale = 1.2,
|
||||
},
|
||||
Economy = {
|
||||
AdjacentStructureEnergyMod = -4,
|
||||
BuildCostEnergy = 15000,
|
||||
BuildCostMass = 1500,
|
||||
BuildTime = 1800,
|
||||
ProductionPerSecondEnergy = 650,
|
||||
RebuildBonusIds = {
|
||||
'FSGENT2',
|
||||
},
|
||||
},
|
||||
Footprint = {
|
||||
SizeX = 3,
|
||||
SizeZ = 3,
|
||||
},
|
||||
General = {
|
||||
Category = 'Economy',
|
||||
Classification = 'RULEUC_Resource',
|
||||
CommandCaps = {
|
||||
RULEUCC_Attack = false,
|
||||
RULEUCC_CallTransport = false,
|
||||
RULEUCC_Capture = false,
|
||||
RULEUCC_Guard = false,
|
||||
RULEUCC_Move = false,
|
||||
RULEUCC_Nuke = false,
|
||||
RULEUCC_Patrol = false,
|
||||
RULEUCC_Reclaim = false,
|
||||
RULEUCC_Repair = false,
|
||||
RULEUCC_RetaliateToggle = false,
|
||||
RULEUCC_Stop = false,
|
||||
RULEUCC_Transport = false,
|
||||
},
|
||||
FactionName = 'UEF',
|
||||
Icon = 'land',
|
||||
SelectionPriority = 5,
|
||||
TechLevel = 'RULEUTL_Advanced',
|
||||
UnitWeight = 1,
|
||||
},
|
||||
Interface = {
|
||||
HelpText = '<LOC LAGENT2_help>LA T2 Power Generator',
|
||||
},
|
||||
LifeBarHeight = 0.075,
|
||||
LifeBarOffset = 1.1,
|
||||
LifeBarSize = 3,
|
||||
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 = 3.1,
|
||||
MeshExtentsY = 1.4,
|
||||
MeshExtentsZ = 3.1,
|
||||
MinSpeedPercent = 0,
|
||||
MotionType = 'RULEUMT_None',
|
||||
SkirtOffsetX = -1.5,
|
||||
SkirtOffsetZ = -1.5,
|
||||
SkirtSizeX = 6,
|
||||
SkirtSizeZ = 6,
|
||||
TurnRate = 0,
|
||||
},
|
||||
SelectionSizeX = 1.8,
|
||||
SelectionSizeZ = 1.8,
|
||||
SelectionThickness = 0.38,
|
||||
SizeX = 2.2,
|
||||
SizeY = 0.9,
|
||||
SizeZ = 2.2,
|
||||
StrategicIconName = 'icon_structure2_energy',
|
||||
StrategicIconSortPriority = 245,
|
||||
Weapon = {
|
||||
{
|
||||
Damage = 1500,
|
||||
DamageFriendly = true,
|
||||
DamageRadius = 5,
|
||||
DamageType = 'Normal',
|
||||
DisplayName = 'Death Weapon',
|
||||
DummyWeapon = true,
|
||||
Label = 'DeathWeapon',
|
||||
WeaponCategory = 'Death',
|
||||
},
|
||||
},
|
||||
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,
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
[.ShellClassInfo]
|
||||
InfoTip=This folder is shared online.
|
||||
IconFile=C:\Program Files (x86)\Google\Drive\googledrivesync.exe
|
||||
IconIndex=12
|
||||
|
||||
Reference in new issue
Block a user