Statistics: Posted by Tanksy — 02 Sep 2016, 16:12
Statistics: Posted by RavenCurow — 02 Sep 2016, 13:51
UnitList = {
MassStorage = {
UEF = {'UAC1401c', 50}, -- Experimental Mass Storage & Fabricator
},
}
Uveso wrote:
Lets take a look at the unit XSC2201c:
Hitbox/Skirt Stuff
RavenCurow wrote:
Ah so the size factor there is hotbox size? No wonder. The tutorial I had used said those values were used to change the model size independent of the uniform size values. Lol. As for the skirt size I was hoping to make the building the same size as a T1pgen or storage, but perhaps this is the best compromise.
Statistics: Posted by Tanksy — 02 Sep 2016, 10:09
SizeX = 1.5,
SizeY = 2.0,
SizeZ = 1.5,
SkirtOffsetX = -1.5,
SkirtOffsetZ = -1.5,
SkirtSizeX = 4,
SkirtSizeZ = 4,
SelectionSizeX = 1.0,
SelectionSizeZ = 1.0,
Statistics: Posted by Uveso — 01 Sep 2016, 23:05
MaintanenceConsumptionPerSecondEnergy = 150,
MaintenanceConsumptionPerSecondEnergy= 150,
local CStructureUnit = import('/lua/cybranunits.lua').CStructureUnit
local CMassFabricationUnit = import('/lua/cybranunits.lua').CMassFabricationUnit
URC1401 = Class(CMassFabricationUnit) {
CMassFabricationUnit.OnCreate(self)
local CMassFabricationUnit = import('/lua/cybranunits.lua').CMassFabricationUnit
URC1401 = Class(CMassFabricationUnit) {
OnCreate = function(self)
CMassFabricationUnit.OnCreate(self)
self.WindowEntity = import('/lua/sim/Entity.lua').Entity({Owner = self,})
self.WindowEntity:AttachBoneTo( -1, self, 'URC1401' )
self.WindowEntity:SetMesh('/effects/Entities/URC1401_WINDOW/URC1401_WINDOW_mesh')
self.WindowEntity:SetDrawScale(0.1)
self.WindowEntity:SetVizToAllies('Intel')
self.WindowEntity:SetVizToNeutrals('Intel')
self.WindowEntity:SetVizToEnemies('Intel')
self.Trash:Add(self.WindowEntity)
end,
}
TypeClass = URC1401
Statistics: Posted by Uveso — 31 Aug 2016, 23:49
UnitBlueprint {
Adjacency = 'T3MassFabricatorStorageAdjacencyBuffs',
Audio = {
DeathExplosion = Sound {
Bank = 'URLDestroy',
Cue = 'URB_Destroy_Lrg_PreDestroy',
LodCutoff = 'UnitMove_LodCutoff',
},
Destroyed = Sound {
Bank = 'URLDestroy',
Cue = 'URB_Destroy_Huge',
LodCutoff = 'UnitMove_LodCutoff',
},
DoneBeingBuilt = Sound {
Bank = 'URB',
Cue = 'URB1101_Activate',
LodCutoff = 'UnitMove_LodCutoff',
},
UISelection = Sound {
Bank = 'Interface',
Cue = 'Cybran_Select_Structure',
LodCutoff = 'UnitMove_LodCutoff',
},
},
Categories = {
'CYBRAN',
'STRUCTURE',
'BUILTBYTIER3ENGINEER',
'BUILTBYTIER3COMMANDER',
'TECH3',
'ECONOMIC',
'MASSSTORAGE',
'MASSPRODUCTION',
'MASSFABRICATION',
'DRAGBUILD',
'SELECTABLE',
'SIZE16',
'LAND',
'VISIBLETORECON',
'RECLAIMABLE',
'SORTECONOMY',
},
CollisionOffsetX = 0,
CollisionOffsetY = 0,
CollisionOffsetZ = 0,
Defense = {
AirThreatLevel = 0,
ArmorType = 'Structure',
EconomyThreatLevel = 4,
Health = 10000,
MaxHealth = 10000,
RegenRate = 0,
SubThreatLevel = 0,
SurfaceThreatLevel = 0
},
Description = 'Experimental Mass Storage & Fabricator',
Display = {
DamageEffects = {
{
Bone = 0,
OffsetX = 0,
OffsetY = 3,
OffsetZ = 0,
},
{
Bone = 0,
OffsetX = -1.5,
OffsetY = 1,
OffsetZ = 0.5,
},
{
Bone = 0,
OffsetX = 0.25,
OffsetY = 0.75,
OffsetZ = -1.5,
},
},
Mesh = {
IconFadeInZoom = 130,
LODs = {
{
LODCutoff = 120,
Scrolling = true,
ShaderName = 'Insect',
},
{
AlbedoName = 'urc1401c_lod1_albedo.dds',
LODCutoff = 300,
ShaderName = 'Insect',
SpecularName = 'urc1401c_lod1_specteam.dds',
},
},
},
PlaceholderMeshName = 'URC1401',
SpawnRandomRotation = true,
Tarmacs = {
{
Albedo = 'Tarmacs/Tar12x_cybran_01_albedo',
FadeOut = 150,
Length = 12.8,
Normal = 'Tarmacs/Tar12x_cybran_01_normals',
Orientations = {
0,
90,
180,
270,
},
RemoveWhenDead = false,
Width = 12.8,
},
},
UniformScale = 0.1,
},
Economy = {
AdjacentMassProductionMod = 0.5,
BuildCostEnergy = 36000,
BuildCostMass = 2400,
BuildTime = 3000,
MaintanenceConsumptionPerSecondEnergy = 2330,
ProductionPerSecondMass = 8,
StorageMass = 40000,
RebuildBonusIds = {
'URC1401c',
},
},
Footprint = {
SizeX = 5,
SizeZ = 5,
},
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 = 'Cybran',
Icon = 'land',
SelectionPriority = 5,
TechLevel = 'RULEUTL_Secret',
ToggleCaps = {
RULEUTC_ProductionToggle = true,
},
UnitName = 'Cybran Agricultural Center',
UnitWeight = 1,
},
Interface = {
HelpText = 'Experimental Mass Storage & Fabricator',
},
LifeBarHeight = 0.075,
LifeBarOffset = 1.95,
LifeBarSize = 4,
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 = 4.75,
MeshExtentsY = 2.75,
MeshExtentsZ = 4.75,
MinSpeedPercent = 0,
MotionType = 'RULEUMT_None',
SkirtOffsetX = -1.5,
SkirtOffsetZ = -1.5,
SkirtSizeX = 8,
SkirtSizeZ = 8,
TurnRate = 0,
},
SelectionSizeX = 2.65,
SelectionSizeZ = 2.35,
SelectionThickness = 0.36,
# height
SizeX = 3.75,
SizeY = 2.75,
SizeZ = 3.75,
StrategicIconName = 'icon_experimental_generic',
StrategicIconSortPriority = 200,
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 = true,
},
},
}
local CMassFabricationUnit = import('/lua/cybranunits.lua').CMassFabricationUnit
URC1401 = Class(CMassFabricationUnit) {
OnCreate = function(self)
CMassFabricationUnit.OnCreate(self)
self.WindowEntity = import('/lua/sim/Entity.lua').Entity({Owner = self,})
self.WindowEntity:AttachBoneTo( -1, self, 'URC1401' )
self.WindowEntity:SetMesh('/effects/Entities/URC1401_WINDOW/URC1401_WINDOW_mesh')
self.WindowEntity:SetDrawScale(0.1)
self.WindowEntity:SetVizToAllies('Intel')
self.WindowEntity:SetVizToNeutrals('Intel')
self.WindowEntity:SetVizToEnemies('Intel')
self.Trash:Add(self.WindowEntity)
end,
OnStopBeingBuilt = function(self,builder,layer)
CMassFabricationUnit.OnStopBeingBuilt(self,builder,layer)
self.WindowEntity = import('/lua/sim/Entity.lua').Entity({Owner = self,})
self.WindowEntity:AttachBoneTo( -1, self, 'URC1401' )
self.WindowEntity:SetMesh('/effects/Entities/URC1401_WINDOW/URC1401_WINDOW_mesh')
self.WindowEntity:SetDrawScale(0.1)
self.WindowEntity:SetVizToAllies('Intel')
self.WindowEntity:SetVizToNeutrals('Intel')
self.WindowEntity:SetVizToEnemies('Intel')
self.Trash:Add(self.WindowEntity)
end,
}
TypeClass = URC1401
Statistics: Posted by RavenCurow — 31 Aug 2016, 06:38
UnitList = {
T3MassCreation= {
UEF = {'UAC1401c', 50}, -- Experimental Mass Storage & Fabricator
},
MassStorage= {
UEF = {'UAC1401c', 50}, -- Experimental Mass Storage & Fabricator
},
}
Statistics: Posted by Uveso — 30 Aug 2016, 16:35
UnitList = {
T3MassCreation= {
UEF = {'UAC1401c', 50}, -- Experimental Mass Storage & Fabricator
},
}
UnitList = {
T2Radar= {
UEF = {'UAC1401c', 50}, -- Experimental Mass Storage & Fabricator
},
}
Statistics: Posted by Uveso — 30 Aug 2016, 08:36
Statistics: Posted by RavenCurow — 30 Aug 2016, 05:30