Skip to content

Commit

Permalink
version 67
Browse files Browse the repository at this point in the history
Merge pull request #308 from Nomads-Project/develop
  • Loading branch information
CookieNoob authored Jul 9, 2017
2 parents 2702540 + 0ae8cf4 commit 584e09b
Show file tree
Hide file tree
Showing 105 changed files with 890 additions and 164 deletions.
2 changes: 1 addition & 1 deletion effects/emitters/nomads_orbital_frigate_thruster03_emit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ EmitterBlueprint {
AlignToBone = false,
Flat = true,
LODCutoff = 250.00,
EmitIfVisible = true,
EmitIfVisible = false,
CatchupEmit = true,
CreateIfVisible = false,
SnapToWaterline = false,
Expand Down
31 changes: 20 additions & 11 deletions loc/US/nomads_strings_core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,15 @@ ino0001_desc = "Surface Operations Support"
ino0001_help = "Provides a number of services to the ACU."
ino0001_name = "Surface Operations Support"

inc0001_desc = "Orbital Frigate"
inc0001_help = "Provides a number of services to the ACU."
inc0001_name = "Planetary Operations Support Ship"

inc0002_desc = "Orbital Cruiser"
inc0002_help = "Heavily damaged orbital cruiser."
inc0002_name = "Orbital Cruiser"


-- orbital dropship
ina0001_desc = "Drop pod"
ina0001_help = "Transports units to the planets surface. Acts like a meteor."
Expand Down Expand Up @@ -913,17 +922,17 @@ inu9002_name = "NC1001B"
--------------------------------------------------------
---- TAUNTS
--------------------------------------------------------
Nicols = "Nicols"
NTaunts_MP1_010_010 = '[{i Nicols}]: You will never escape, I will make you suffer!'
NTaunts_MP1_010_011 = '[{i Nicols}]: Your resistance is futile, you will be destroyed!'
NTaunts_MP1_010_012 = '[{i Nicols}]: Orbital strike initiated, goodbye.'
NTaunts_MP1_010_013 = '[{i Nicols}]: We are back. It\'s time for you to die.'
NTaunts_MP1_010_014 = '[{i Nicols}]: Once we were lost, but now we will reign supreme.'
NTaunts_MP1_010_015 = '[{i Nicols}]: You have what we call a very terrestrial mindset.'
NTaunts_MP1_010_016 = '[{i Nicols}]: I think the space between your ears is best left unexplored!'
NTaunts_MP1_010_017 = '[{i Nicols}]: You can\'t hope to contain the vastness of the nomad fleet.'
NTaunts_MP1_010_018 = '[{i Nicols}]: I\'m afraid, we\'re out of mercy today. How would you like an ass kicking instead?'
NTaunts_MP1_010_019 = '[{i Nicols}]: It is amazing that you made it this far without hurting yourself.'
Nichols = "Nichols"
NTaunts_MP1_010_010 = '[{i Nichols}]: You will never escape, I will make you suffer!'
NTaunts_MP1_010_011 = '[{i Nichols}]: Your resistance is futile, you will be destroyed!'
NTaunts_MP1_010_012 = '[{i Nichols}]: Orbital strike initiated, goodbye.'
NTaunts_MP1_010_013 = '[{i Nichols}]: We are back. It\'s time for you to die.'
NTaunts_MP1_010_014 = '[{i Nichols}]: Once we were lost, but now we will reign supreme.'
NTaunts_MP1_010_015 = '[{i Nichols}]: You have what we call a very terrestrial mindset.'
NTaunts_MP1_010_016 = '[{i Nichols}]: I think the space between your ears is best left unexplored!'
NTaunts_MP1_010_017 = '[{i Nichols}]: You can\'t hope to contain the vastness of the nomad fleet.'
NTaunts_MP1_010_018 = '[{i Nichols}]: I\'m afraid, we\'re out of mercy today. How would you like an ass kicking instead?'
NTaunts_MP1_010_019 = '[{i Nichols}]: It is amazing that you made it this far without hurting yourself.'

Benson = "Benson"
NTaunts_MP1_011_010 = '[{i Benson}]: Even my ships docking sensors have better aim than your gun.'
Expand Down
4 changes: 2 additions & 2 deletions lua/nomadsprojectiles.lua
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ EnergyProj = Class(SinglePolyTrailProjectile) {
local pos = self:GetPosition()
DamageArea(self, pos, (self.DamageData.DamageRadius or 1) * 1.2, 1, 'BigFire', true) -- light trees on fire
local army = self:GetArmy()
local ok = (targetType ~= 'Water' and targetType ~= 'Shield' and targetType ~= 'Air' and targetType ~= 'UnitAir' and targetType ~= 'UnitUnderwater')
local ok = (GetSurfaceHeight(pos[1],pos[3]) == GetTerrainHeight(pos[1],pos[3]) and targetType ~= 'Water' and targetType ~= 'Shield' and targetType ~= 'Air' and targetType ~= 'UnitAir' and targetType ~= 'UnitUnderwater')
if ok then
local rotation = RandomFloat(0,2*math.pi)
local size = RandomFloat(8, 10)
Expand Down Expand Up @@ -1595,7 +1595,7 @@ Buoy1 = Class(SinglePolyTrailProjectile) {

OnImpact = function(self, targetType, targetEntity)
SinglePolyTrailProjectile.OnImpact(self, targetType, targetEntity)
local ok = (targetType ~= 'None' and targetType ~= 'Shield' and targetType ~= 'Air' and targetType ~= 'UnitAir') -- removed water
local ok = (targetType ~= 'Water' and targetType ~= 'None' and targetType ~= 'Shield' and targetType ~= 'Air' and targetType ~= 'UnitAir')
if ok then
local spec = self:GetSpec( targetType, targetEntity )
self:CreateBuoy( spec, targetType, targetEntity )
Expand Down
2 changes: 1 addition & 1 deletion nomadhook/lua/skins/skins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ skins = table.merged( skins, {
factionBackColor = "FFD68E00",
fontOverColor = "FFFFFFFF",
fontDownColor = "FF513923",
--fontColor = "FFFC8F00",
fontColor = "FFFC8F00",
dialogCaptionColor = "FFD6C6BC",
dialogColumnColor = "FFAD976E",
dialogButtonColor = "FF4EAA7F",
Expand Down
20 changes: 10 additions & 10 deletions nomadhook/lua/ui/game/taunt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@

taunts = table.cat( taunts, {

{text = '<LOC NTaunts_MP1_010_010>[{i Nicols}]: You will never escape, I will make you suffer!', bank = 'NTaunts', cue = 'NTaunt_Nicols_001'},
{text = '<LOC NTaunts_MP1_010_011>[{i Nicols}]: Your resistance is futile, you will be destroyed!', bank = 'NTaunts', cue = 'NTaunt_Nicols_002'},
{text = '<LOC NTaunts_MP1_010_012>[{i Nicols}]: Orbital strike initiated, goodbye.', bank = 'NTaunts', cue = 'NTaunt_Nicols_003'},
{text = '<LOC NTaunts_MP1_010_013>[{i Nicols}]: We are back. It\'s time for you to die.', bank = 'NTaunts', cue = 'NTaunt_Nicols_004'},
{text = '<LOC NTaunts_MP1_010_014>[{i Nicols}]: Once we were lost, but now we will reign supreme.', bank = 'NTaunts', cue = 'NTaunt_Nicols_005'},
{text = '<LOC NTaunts_MP1_010_015>[{i Nicols}]: You have what we call a very terrestrial mindset.', bank = 'NTaunts', cue = 'NTaunt_Nicols_006'},
{text = '<LOC NTaunts_MP1_010_016>[{i Nicols}]: I think the space between your ears is best left unexplored!', bank = 'NTaunts', cue = 'NTaunt_Nicols_007'},
{text = '<LOC NTaunts_MP1_010_017>[{i Nicols}]: You can\'t hope to contain the vastness of the nomad fleet.', bank = 'NTaunts', cue = 'NTaunt_Nicols_008'},
{text = '<LOC NTaunts_MP1_010_018>[{i Nicols}]: I\'m afraid, we\'re out of mercy today. How would you like an ass kicking instead?', bank = 'NTaunts', cue = 'NTaunt_Nicols_009'},
{text = '<LOC NTaunts_MP1_010_019>[{i Nicols}]: It is amazing that you made it this far without hurting yourself.', bank = 'NTaunts', cue = 'NTaunt_Nicols_010'},
{text = '<LOC NTaunts_MP1_010_010>[{i Nichols}]: You will never escape, I will make you suffer!', bank = 'NTaunts', cue = 'NTaunt_Nicols_001'},
{text = '<LOC NTaunts_MP1_010_011>[{i Nichols}]: Your resistance is futile, you will be destroyed!', bank = 'NTaunts', cue = 'NTaunt_Nicols_002'},
{text = '<LOC NTaunts_MP1_010_012>[{i Nichols}]: Orbital strike initiated, goodbye.', bank = 'NTaunts', cue = 'NTaunt_Nicols_003'},
{text = '<LOC NTaunts_MP1_010_013>[{i Nichols}]: We are back. It\'s time for you to die.', bank = 'NTaunts', cue = 'NTaunt_Nicols_004'},
{text = '<LOC NTaunts_MP1_010_014>[{i Nichols}]: Once we were lost, but now we will reign supreme.', bank = 'NTaunts', cue = 'NTaunt_Nicols_005'},
{text = '<LOC NTaunts_MP1_010_015>[{i Nichols}]: You have what we call a very terrestrial mindset.', bank = 'NTaunts', cue = 'NTaunt_Nicols_006'},
{text = '<LOC NTaunts_MP1_010_016>[{i Nichols}]: I think the space between your ears is best left unexplored!', bank = 'NTaunts', cue = 'NTaunt_Nicols_007'},
{text = '<LOC NTaunts_MP1_010_017>[{i Nichols}]: You can\'t hope to contain the vastness of the nomad fleet.', bank = 'NTaunts', cue = 'NTaunt_Nicols_008'},
{text = '<LOC NTaunts_MP1_010_018>[{i Nichols}]: I\'m afraid, we\'re out of mercy today. How would you like an ass kicking instead?', bank = 'NTaunts', cue = 'NTaunt_Nicols_009'},
{text = '<LOC NTaunts_MP1_010_019>[{i Nichols}]: It is amazing that you made it this far without hurting yourself.', bank = 'NTaunts', cue = 'NTaunt_Nicols_010'},

{text = '<LOC NTaunts_MP1_011_010>[{i Benson}]: Even my ships docking sensors have better aim than your gun.', bank = 'NTaunts', cue = 'NTaunt_Benson_001'},
{text = '<LOC NTaunts_MP1_011_011>[{i Benson}]: When we came back to the earth empire space we expected an advanced civilization, but you merely progressed beyond bow and arrow.', bank = 'NTaunts', cue = 'NTaunt_Benson_002'},
Expand Down
Binary file added sounds/NomadsOverchargeWeapon.xsb
Binary file not shown.
Binary file added sounds/NomadsOverchargeWeapon.xwb
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/lvsr/_btn_dis.dds
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/lvsr/_btn_down.dds
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/lvsr/_btn_over.dds
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/lvsr/_btn_up.dds
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/manual/_btn_dis.dds
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/manual/_btn_down.dds
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/manual/_btn_over.dds
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/manual/_btn_up.dds
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/none/_btn_down.dds
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/none/_btn_over.dds
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/none/_btn_up.dds
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/pvsi/_btn_dis.dds
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/pvsi/_btn_down.dds
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/pvsi/_btn_over.dds
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/pvsi/_btn_up.dds
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/tvsb/_btn_dis.dds
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/tvsb/_btn_down.dds
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/tvsb/_btn_over.dds
Binary file not shown.
Binary file modified textures/ui/nomads/BUTTON/autoteam/tvsb/_btn_up.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/closeslots/_btn_dis.dds
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/closeslots/_btn_up.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/cputest/_btn_dis.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/cputest/_btn_down.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/cputest/_btn_over.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/cputest/_btn_up.dds
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/large/_btn_dis.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/large/_btn_down.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/large/_btn_over.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/large/_btn_up.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/medium/_btn_dis.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/medium/_btn_down.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/medium/_btn_over.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/medium/_btn_up.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/observer/_btn_dis.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/observer/_btn_down.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/observer/_btn_over.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/observer/_btn_up.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/randommap/_btn_dis.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/randommap/_btn_down.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/randommap/_btn_over.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/randommap/_btn_up.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/zoom/_btn_dis.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/zoom/_btn_down.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/zoom/_btn_over.dds
Binary file not shown.
Binary file added textures/ui/nomads/BUTTON/zoom/_btn_up.dds
Binary file not shown.
Binary file added textures/ui/nomads/MODS/double.dds
Binary file not shown.
Binary file removed textures/ui/nomads/MODS/enabled.dds
Binary file not shown.
Binary file added textures/ui/nomads/MODS/single.dds
Binary file not shown.
Binary file modified textures/ui/nomads/checkbox/unitman/d_over.dds
Binary file not shown.
Binary file modified textures/ui/nomads/checkbox/unitman/s_over.dds
Binary file not shown.
Binary file modified textures/ui/nomads/checkbox/unitman/s_up.dds
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified textures/ui/nomads/scx_menu/lan-game-lobby/frame/bottom.dds
Binary file not shown.
Binary file modified textures/ui/nomads/scx_menu/lan-game-lobby/frame/bottomLeft.dds
Binary file not shown.
Binary file modified textures/ui/nomads/scx_menu/lan-game-lobby/frame/bottomRight.dds
Binary file not shown.
Binary file modified textures/ui/nomads/scx_menu/lan-game-lobby/frame/left.dds
Binary file not shown.
Binary file modified textures/ui/nomads/scx_menu/lan-game-lobby/frame/right.dds
Binary file not shown.
Binary file modified textures/ui/nomads/scx_menu/lan-game-lobby/frame/top.dds
Binary file not shown.
Binary file modified textures/ui/nomads/scx_menu/lan-game-lobby/frame/topLeft.dds
Binary file not shown.
Binary file modified textures/ui/nomads/scx_menu/lan-game-lobby/frame/topRight.dds
Binary file not shown.
Binary file modified textures/ui/nomads/scx_menu/lan-game-lobby/lobby.dds
Binary file not shown.
Binary file modified textures/ui/nomads/scx_menu/lan-game-lobby/wide.dds
Binary file not shown.
3 changes: 2 additions & 1 deletion units/INA2001/INA2001_Script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ INA2001 = Class(NAirTransportUnit) {
if self.UnfoldAnim then
self.UnfoldAnim:SetRate(0)
end
self:DestroyThrusterEffects()
NAirTransportUnit.OnKilled(self, instigator, type, overkillRatio)
self:TransportDetachAllUnits(true)
end,
Expand Down Expand Up @@ -334,4 +335,4 @@ INA2001 = Class(NAirTransportUnit) {
end,
}

TypeClass = INA2001
TypeClass = INA2001
8 changes: 8 additions & 0 deletions units/INA2001/INA2001_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,14 @@ UnitBlueprint {
'<LOC ability_transport>Transport',
'<LOC ability_flares>Flares',
},
AnimationDeath = {
{
Animation = '/units/INA2001/INA2001_Unfold.sca',
AnimationRateMax = 1.25,
AnimationRateMin = 0.75,
Weight = 100,
},
},
BuildEffect = {
ExtendsFront = 0,
ExtendsRear = 0,
Expand Down
2 changes: 1 addition & 1 deletion units/INA2002/INA2002_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ UnitBlueprint {
Level5 = 10,
},
},
BuildIconSortPriority = 15,
BuildIconSortPriority = 16,
Categories = {
'SELECTABLE',
'BUILTBYTIER2FACTORY',
Expand Down
4 changes: 2 additions & 2 deletions units/INB0103/INB0103_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ UnitBlueprint {
SkirtSizeZ = 19,
TurnRate = 0,
},
SelectionMeshScaleX = 0.3,
SelectionMeshScaleZ = 0.4,
SelectionMeshScaleX = 0.8,
SelectionMeshScaleZ = 0.8,
SelectionMeshUseTopAmount = 0.15,
SelectionSizeX = 2.2,
SelectionSizeZ = 6.9,
Expand Down
4 changes: 2 additions & 2 deletions units/INB0203/INB0203_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ UnitBlueprint {
SkirtSizeZ = 19,
TurnRate = 0,
},
SelectionMeshScaleX = 0.3,
SelectionMeshScaleZ = 0.4,
SelectionMeshScaleX = 0.8,
SelectionMeshScaleZ = 0.8,
SelectionMeshUseTopAmount = 0.15,
SelectionSizeX = 2.2,
SelectionSizeZ = 6.9,
Expand Down
4 changes: 2 additions & 2 deletions units/INB0213/INB0213_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ UnitBlueprint {
SkirtSizeZ = 19,
TurnRate = 0,
},
SelectionMeshScaleX = 0.3,
SelectionMeshScaleZ = 0.4,
SelectionMeshScaleX = 0.8,
SelectionMeshScaleZ = 0.8,
SelectionMeshUseTopAmount = 0.15,
SelectionSizeX = 2.2,
SelectionSizeZ = 6.9,
Expand Down
4 changes: 2 additions & 2 deletions units/INB0303/INB0303_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ UnitBlueprint {
SkirtSizeZ = 19,
TurnRate = 0,
},
SelectionMeshScaleX = 0.3,
SelectionMeshScaleZ = 0.4,
SelectionMeshScaleX = 0.8,
SelectionMeshScaleZ = 0.8,
SelectionMeshUseTopAmount = 0.15,
SelectionSizeX = 2.2,
SelectionSizeZ = 6.9,
Expand Down
4 changes: 2 additions & 2 deletions units/INB0313/INB0313_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ UnitBlueprint {
SkirtSizeZ = 19,
TurnRate = 0,
},
SelectionMeshScaleX = 0.3,
SelectionMeshScaleZ = 0.4,
SelectionMeshScaleX = 0.8,
SelectionMeshScaleZ = 0.8,
SelectionMeshUseTopAmount = 0.15,
SelectionSizeX = 2.2,
SelectionSizeZ = 6.9,
Expand Down
2 changes: 0 additions & 2 deletions units/INB2302/INB2302_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,8 @@ UnitBlueprint {
IconFadeInZoom = 130,
LODs = {
{
AlbedoName = 'INB2302_lod1_albedo.dds',
LODCutoff = 500,
ShaderName = 'NomadsUnit',
SpecularName = 'INB2302_lod1_specteam.dds',
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion units/INB3201/INB3201_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ UnitBlueprint {
BuildableCategory = {
'inb3301',
},
MaintenanceConsumptionPerSecondEnergy = 250,
MaintenanceConsumptionPerSecondEnergy = 200,
RebuildBonusIds = {
'inb3201',
},
Expand Down
2 changes: 1 addition & 1 deletion units/INB5101/INB5101_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ UnitBlueprint {
HealthMult = 0.2,
MassMult = 0.9,
ReclaimTimeMultiplier = 1,
UseCustomMesh = true,
UseCustomMesh = false,
WreckageLayers = {
Air = false,
Land = true,
Expand Down
37 changes: 35 additions & 2 deletions units/INC0001/INC0001_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,41 @@ INC0001 = Class(NCivilianStructureUnit) {
self:AddToConstructionQueue('inu1001', army)
end
end]]
--[[ForkThread(function()
WaitSeconds(2)
WARN("stop now")
self:StopRotators()
WaitSeconds(4)
WARN("start now")
self:StartRotators()
end
)]]
end,

StopRotators = function(self)
if self.RotatorManipulator1 then
self.RotatorManipulator1:SetTargetSpeed( 0 )
end
if self.RotatorManipulator2 then
self.RotatorManipulator2:SetTargetSpeed( 0 )
end
if self.RotatorManipulator3 then
self.RotatorManipulator3:SetTargetSpeed( 0 )
end
end,

StartRotators = function(self)
if self.RotatorManipulator1 then
self.RotatorManipulator1:SetTargetSpeed( self:GetBlueprint().Rotators.PrimarySpeed )
end
if self.RotatorManipulator2 then
self.RotatorManipulator2:SetTargetSpeed( self:GetBlueprint().Rotators.SecondarySpeed )
end
if self.RotatorManipulator3 then
self.RotatorManipulator3:SetTargetSpeed( self:GetBlueprint().Rotators.PrimarySpeed )
end
end,

RotatingAngle = function(self)
-- spinner 1 and 3
if not self.RotatorManipulator1 then
Expand All @@ -45,8 +78,8 @@ INC0001 = Class(NCivilianStructureUnit) {
end
if not self.RotatorManipulator3 then
self.RotatorManipulator3 = CreateRotator( self, 'Spinner3', 'z' )
self.RotatorManipulator3:SetAccel( 5 )
self.RotatorManipulator3:SetTargetSpeed( 30 )
self.RotatorManipulator3:SetAccel( self:GetBlueprint().Rotators.PrimaryAccel )
self.RotatorManipulator3:SetTargetSpeed( self:GetBlueprint().Rotators.PrimarySpeed )
self.Trash:Add( self.RotatorManipulator3 )
end

Expand Down
3 changes: 2 additions & 1 deletion units/INC0001/INC0001_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ UnitBlueprint {
Icon = 'air',
SelectionPriority = 5,
TechLevel = 'RULEUTL_Secret',
UnitName = '<LOC inc0001>Planet operations support ship',
UnitName = '<LOC inc0001>Planetary Operations Support Ship',
UnitWeight = 1,
},
Intel = {
Expand Down Expand Up @@ -155,6 +155,7 @@ UnitBlueprint {
SizeX = 2,
SizeY = 3,
SizeZ = 11.25,
CollisionOffsetY = 2.7,
StrategicIconName = 'icon_structure_generic',
StrategicIconSortPriority = 55,
Wreckage = {
Expand Down
Loading

0 comments on commit 584e09b

Please sign in to comment.