Initial commit

This commit is contained in:
cardboardbread committed 2026-09-18 05:35:15 -04:00
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.
+43
View File
@@ -0,0 +1,43 @@
#****************************************************************************
#**
#** File : /cdimage/units/UEB1101/UEB1101_script.lua
#** Author(s): John Comes, David Tomandl, FuegoTigre, Kamisama, Squall
#**
#** Summary : Federated Suns T1 Generator Script
#**
#** Copyright © 2005 Gas Powered Games, Inc. All rights reserved.
#****************************************************************************
local TEnergyCreationUnit = import('/lua/terranunits.lua').TEnergyCreationUnit
FSGENT1 = 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 = FSGENT1
+170
View File
@@ -0,0 +1,170 @@
UnitBlueprint {
Adjacency = 'T1PowerGeneratorAdjacencyBuffs',
Audio = {
ActiveLoop = Sound {
Bank = 'UEB',
Cue = 'UEB1101_Active',
LodCutoff = 'UnitMove_LodCutoff',
},
Destroyed = Sound {
Bank = 'UELDestroy',
Cue = 'UEB_Destroy_Med_Land',
LodCutoff = 'UnitMove_LodCutoff',
},
DoneBeingBuilt = Sound {
Bank = 'UEB',
Cue = 'UEB1101_Activate',
LodCutoff = 'UnitMove_LodCutoff',
},
UISelection = Sound {
Bank = 'Interface',
Cue = 'UEF_Select_Resource',
LodCutoff = 'UnitMove_LodCutoff',
},
},
BuildIconSortPriority = 70,
Categories = {
'PRODUCTSC1',
'SELECTABLE',
'BUILTBYTIER1ENGINEER',
'BUILTBYTIER2ENGINEER',
'BUILTBYTIER3ENGINEER',
'BUILTBYCOMMANDER',
'FS',
'STRUCTURE',
'ECONOMIC',
'TECH1',
'ENERGYPRODUCTION',
'DRAGBUILD',
'SIZE4',
'VISIBLETORECON',
'RECLAIMABLE',
'SORTECONOMY',
},
CollisionOffsetY = -0.25,
Defense = {
AirThreatLevel = 0,
ArmorType = 'A_M_Standard',
EconomyThreatLevel = 1,
Health = 1080,
MaxHealth = 1080,
RegenRate = 0,
SubThreatLevel = 0,
SurfaceThreatLevel = 0,
},
Description = '<LOC FSGENT1_desc>Auxiliary Power Generator',
Display = {
Abilities = {
'<LOC ability_deathaoe>Volatile',
},
Mesh = {
IconFadeInZoom = 130,
LODs = {
{
LODCutoff = 215,
ShaderName = 'Unit',
},
},
},
PlaceholderMeshName = 'UXB0023',
SpawnRandomRotation = true,
UniformScale = 1.0,
},
Economy = {
AdjacentStructureEnergyMod = -2,
BuildCostEnergy = 4581,
BuildCostMass = 451,
BuildTime = 500,
ProductionPerSecondEnergy = 150,
RebuildBonusIds = {
'FSGENT1',
},
},
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_Basic',
UnitWeight = 1,
},
Interface = {
HelpText = '<LOC FSGENT1_help>FS T1 Power Generator',
},
LifeBarHeight = 0.075,
LifeBarOffset = 0.35,
LifeBarSize = 0.9,
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 = 0,
MeshExtentsY = 0.75,
MeshExtentsZ = 0,
MinSpeedPercent = 0,
MotionType = 'RULEUMT_None',
SkirtOffsetX = -1.5,
SkirtOffsetZ = -1.5,
SkirtSizeX = 4,
SkirtSizeZ = 4,
TurnRate = 0,
},
SelectionSizeX = 1,
SelectionSizeZ = 2.5,
SelectionThickness = 0.3,
SizeX = 1,
SizeY = 0.85,
SizeZ = 1,
StrategicIconName = 'icon_structure1_energy',
StrategicIconSortPriority = 250,
Weapon = {
{
Damage = 750,
DamageFriendly = true,
DamageRadius = 2.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,
},
},
}
+5
View File
@@ -0,0 +1,5 @@
[.ShellClassInfo]
InfoTip=This folder is shared online.
IconFile=C:\Program Files (x86)\Google\Drive\googledrivesync.exe
IconIndex=12