diff --git a/mod_info.lua b/mod_info.lua index 27c907df..d0df4aed 100644 --- a/mod_info.lua +++ b/mod_info.lua @@ -1,9 +1,9 @@ name = "Nomads" -version = 69 +version = 70 copyright = "brute51" description = "Adds a new faction to the game" author = "CookieNoob, Exotic_Retard, Brute51, original nomads team" -uid = "50423624-1e83-4fc2-85b3-nomadsv00069" +uid = "50423624-1e83-4fc2-85b3-nomadsv00070" url = "" icon = "" identifier = "" diff --git a/projectiles/NTorpedo2/NTorpedo2_proj.bp b/projectiles/NTorpedo2/NTorpedo2_proj.bp new file mode 100644 index 00000000..3fd303dc --- /dev/null +++ b/projectiles/NTorpedo2/NTorpedo2_proj.bp @@ -0,0 +1,71 @@ +ProjectileBlueprint { + Audio = { + EnterWater = Sound { + Bank = 'URAWeapon', + Cue = 'URA0204_Torpedo_Water', + LodCutoff = 'UnitMove_LodCutoff', + }, + Impact = Sound { + Bank = 'Impacts', + Cue = 'Impact_Water_Splash_AEON', + LodCutoff = 'Weapon_LodCutoff', + }, + ImpactWater = Sound { + Bank = 'Impacts', + Cue = 'Impact_Water_Splash_AEON', + LodCutoff = 'Weapon_LodCutoff', + }, + }, + Categories = { + 'NOMADS', + 'PROJECTILE', + 'ANTINAVY', + 'NOSPLASHDAMAGE', + }, + Defense = { + Health = 1, + }, + Display = { + CameraFollowTimeout = 2, + CameraFollowsProjectile = true, + Mesh = { + LODs = { + { + AlbedoName = '/projectiles/TANAnglerTorpedo01/TANAnglerTorpedo01_albedo.dds', + LODCutoff = 150, + MeshName = '/projectiles/TANAnglerTorpedo01/TANAnglerTorpedo01_lod0.scm', + ShaderName = 'TMeshGlow', + }, + }, + }, + StrategicIconSize = 1, + UniformScale = 0.15, + }, + DoNotCollideList = { + 'TORPEDO', + }, + General = { + Category = 'Anti Navy', + EntityCategory = { + 'NOMADS', + 'PROJECTILE', + 'ANTINAVY', + }, + Faction = 'Nomads', + Weapon = 'Torpedo2Proj', + }, + Interface = { + HelpText = 0, + }, + Physics = { + Acceleration = 5, + DestroyOnWater = false, + InitialSpeed = 4, + Lifetime = 25, + MaxSpeed = 18, + StayUnderwater = true, + TrackTarget = true, + TurnRate = 230, + VelocityAlign = true, + }, +} diff --git a/projectiles/NTorpedo2/NTorpedo2_script.lua b/projectiles/NTorpedo2/NTorpedo2_script.lua new file mode 100644 index 00000000..b364225f --- /dev/null +++ b/projectiles/NTorpedo2/NTorpedo2_script.lua @@ -0,0 +1,5 @@ +local Torpedo2 = import('/lua/nomadsprojectiles.lua').Torpedo2 + +NTorpedo2 = Class(Torpedo2) {} + +TypeClass = NTorpedo2 diff --git a/units/INA1003/INA1003_unit.bp b/units/INA1003/INA1003_unit.bp index a9a821c4..0d03d32f 100644 --- a/units/INA1003/INA1003_unit.bp +++ b/units/INA1003/INA1003_unit.bp @@ -152,14 +152,20 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { - LODCutoff = 120, - ShaderName = 'NomadsUnit', + AlbedoName = '/units/INA1003/INA1003_albedo.dds', + LODCutoff = 120, + MeshName = '/units/INA1003/INA1003_lod0.scm', + NormalsName = '/units/INA1003/INA1003_NormalsTS.dds', + Scrolling = true, + ShaderName = 'NomadsUnit', + SpecularName = '/units/INA1003/INA1003_SpecTeam.dds', }, { - AlbedoName = 'INA1003_lod1_albedo.dds', - LODCutoff = 215, - ShaderName = 'NomadsUnit', - SpecularName = 'INA1003_lod1_SpecTeam.dds', + AlbedoName = '/units/INA1003/INA1003_lod1_albedo.dds', + LODCutoff = 215, + MeshName = '/units/INA1003/INA1003_LOD1.scm', + ShaderName = 'NomadsUnit', + SpecularName = '/units/INA1003/INA1003_lod1_SpecTeam.dds', }, }, }, @@ -189,7 +195,7 @@ UnitBlueprint { Economy = { BuildCostEnergy = 2400, BuildCostMass = 120, - BuildTime = 800, + BuildTime = 700, }, Footprint = { MaxSlope = 0.25, @@ -281,7 +287,7 @@ UnitBlueprint { AutoInitiateAttackCommand = true, BallisticArc = 'RULEUBA_LowArc', CollideFriendly = false, - Damage = 75, + Damage = 70, DamageFriendly = true, DamageRadius = 2.6, DamageType = 'Normal', @@ -354,7 +360,7 @@ UnitBlueprint { AutoInitiateAttackCommand = true, BallisticArc = 'RULEUBA_LowArc', CollideFriendly = false, - Damage = 75, + Damage = 70, DamageFriendly = true, DamageRadius = 2.6, DamageType = 'Normal', @@ -428,7 +434,7 @@ UnitBlueprint { AutoInitiateAttackCommand = true, BallisticArc = 'RULEUBA_LowArc', CollideFriendly = false, - Damage = 75, + Damage = 70, DamageFriendly = true, DamageRadius = 2.6, DamageType = 'Normal', @@ -502,7 +508,7 @@ UnitBlueprint { AutoInitiateAttackCommand = true, BallisticArc = 'RULEUBA_LowArc', CollideFriendly = false, - Damage = 75, + Damage = 70, DamageFriendly = true, DamageRadius = 2.6, DamageType = 'Normal', diff --git a/units/INA2003/INA2003_unit.bp b/units/INA2003/INA2003_unit.bp index 46bb43a0..e1075f42 100644 --- a/units/INA2003/INA2003_unit.bp +++ b/units/INA2003/INA2003_unit.bp @@ -28,7 +28,7 @@ UnitBlueprint { KTurn = 0.8, KTurnDamping = 1.5, LiftFactor = 7, - MaxAirspeed = 12, + MaxAirspeed = 15, MinAirspeed = 3, StartTurnDistance = 5, Winged = false, @@ -183,8 +183,13 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { - LODCutoff = 215, - ShaderName = 'NomadsUnit', + AlbedoName = '/units/INA2003/INA2003_albedo.dds', + LODCutoff = 215, + MeshName = '/units/INA2003/INA2003_lod0.scm', + NormalsName = '/units/INA2003/INA2003_NormalsTS.dds', + Scrolling = true, + ShaderName = 'NomadsUnit', + SpecularName = '/units/INA2003/INA2003_SpecTeam.dds', }, }, }, @@ -389,7 +394,7 @@ UnitBlueprint { MuzzleVelocity = 0, NotExclusive = true, PrefersPrimaryWeaponTarget = true, - ProjectileId = '/projectiles/NTorpedo1/NTorpedo1_proj.bp', + ProjectileId = '/mods/nomad_fix/projectiles/NTorpedo2/NTorpedo2_proj.bp', ProjectileLifetime = 20, ProjectilesPerOnFire = 3, RackBones = { diff --git a/units/INA4001/INA4001_unit.bp b/units/INA4001/INA4001_unit.bp index 67f0cde2..01276770 100644 --- a/units/INA4001/INA4001_unit.bp +++ b/units/INA4001/INA4001_unit.bp @@ -32,7 +32,7 @@ UnitBlueprint { KTurn = 1, KTurnDamping = 4, LiftFactor = 10, - MaxAirspeed = 12, + MaxAirspeed = 18, StartTurnDistance = 10, TransportHoverHeight = 4, }, @@ -256,8 +256,8 @@ UnitBlueprint { }, Economy = { BuildCostEnergy = 450000, - BuildCostMass = 18000, - BuildTime = 15000, + BuildCostMass = 15000, + BuildTime = 30000, }, Footprint = { MaxSlope = 0.25, diff --git a/units/INB0101/INB0101_unit.bp b/units/INB0101/INB0101_unit.bp index bf62ea22..fc0d6f89 100644 --- a/units/INB0101/INB0101_unit.bp +++ b/units/INB0101/INB0101_unit.bp @@ -142,8 +142,13 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { - LODCutoff = 500, - ShaderName = 'NomadsUnit', + AlbedoName = '/units/INB0101/INB0101_albedo.dds', + LODCutoff = 500, + MeshName = '/units/INB0101/INB0101_lod0.scm', + NormalsName = '/units/INB0101/INB0101_NormalsTS.dds', + Scrolling = true, + ShaderName = 'NomadsUnit', + SpecularName = '/units/INB0101/INB0101_SpecTeam.dds', }, }, }, @@ -179,7 +184,7 @@ UnitBlueprint { 'inb0101', }, StorageEnergy = 0, - StorageMass = 0, + StorageMass = 80, }, Footprint = { SizeX = 5, diff --git a/units/INB0102/INB0102_unit.bp b/units/INB0102/INB0102_unit.bp index ed165afc..4a2fefe9 100644 --- a/units/INB0102/INB0102_unit.bp +++ b/units/INB0102/INB0102_unit.bp @@ -86,8 +86,13 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { - LODCutoff = 500, - ShaderName = 'NomadsUnit', + AlbedoName = '/units/INB0102/INB0102_albedo.dds', + LODCutoff = 500, + MeshName = '/units/INB0102/INB0102_lod0.scm', + NormalsName = '/units/INB0102/INB0102_NormalsTS.dds', + Scrolling = true, + ShaderName = 'NomadsUnit', + SpecularName = '/units/INB0102/INB0102_SpecTeam.dds', }, }, }, @@ -123,7 +128,7 @@ UnitBlueprint { 'inb0102', }, StorageEnergy = 0, - StorageMass = 0, + StorageMass = 80, }, Footprint = { SizeX = 5, diff --git a/units/INB0103/INB0103_unit.bp b/units/INB0103/INB0103_unit.bp index a25e17f4..2b790721 100644 --- a/units/INB0103/INB0103_unit.bp +++ b/units/INB0103/INB0103_unit.bp @@ -96,8 +96,13 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { - LODCutoff = 500, - ShaderName = 'NomadsUnit', + AlbedoName = '/units/INB0103/INB0103_albedo.dds', + LODCutoff = 500, + MeshName = '/units/INB0103/INB0103_lod0.scm', + NormalsName = '/units/INB0103/INB0103_NormalsTS.dds', + Scrolling = true, + ShaderName = 'NomadsUnit', + SpecularName = '/units/INB0103/INB0103_SpecTeam.dds', }, }, }, diff --git a/units/INB0201/INB0201_unit.bp b/units/INB0201/INB0201_unit.bp index 05bf0ead..f542aa25 100644 --- a/units/INB0201/INB0201_unit.bp +++ b/units/INB0201/INB0201_unit.bp @@ -107,8 +107,13 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { - LODCutoff = 500, - ShaderName = 'NomadsUnit', + AlbedoName = '/units/INB0201/INB0201_albedo.dds', + LODCutoff = 500, + MeshName = '/units/INB0201/INB0201_lod0.scm', + NormalsName = '/units/INB0201/INB0201_NormalsTS.dds', + Scrolling = true, + ShaderName = 'NomadsUnit', + SpecularName = '/units/INB0201/INB0201_SpecTeam.dds', }, }, }, @@ -131,8 +136,8 @@ UnitBlueprint { UniformScale = 0.45, }, Economy = { - BuildCostEnergy = 13300, - BuildCostMass = 1520, + BuildCostEnergy = 11200, + BuildCostMass = 1410, BuildRate = 40, BuildTime = 2600, DifferentialUpgradeCostCalculation = true, @@ -143,7 +148,7 @@ UnitBlueprint { 'FIELDENGINEER NOMADS MOBILE LAND', }, StorageEnergy = 0, - StorageMass = 0, + StorageMass = 160, }, Footprint = { SizeX = 5, diff --git a/units/INB0202/INB0202_unit.bp b/units/INB0202/INB0202_unit.bp index 81a7f604..64dd6587 100644 --- a/units/INB0202/INB0202_unit.bp +++ b/units/INB0202/INB0202_unit.bp @@ -103,8 +103,13 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { - LODCutoff = 500, - ShaderName = 'NomadsUnit', + AlbedoName = '/units/INB0202/INB0202_albedo.dds', + LODCutoff = 500, + MeshName = '/units/INB0202/INB0202_lod0.scm', + NormalsName = '/units/INB0202/INB0202_NormalsTS.dds', + Scrolling = true, + ShaderName = 'NomadsUnit', + SpecularName = '/units/INB0202/INB0202_SpecTeam.dds', }, }, }, @@ -139,7 +144,7 @@ UnitBlueprint { 'FIELDENGINEER NOMADS MOBILE LAND', }, StorageEnergy = 0, - StorageMass = 0, + StorageMass = 160, }, Footprint = { SizeX = 5, diff --git a/units/INB0203/INB0203_unit.bp b/units/INB0203/INB0203_unit.bp index 41bb5720..2e764be3 100644 --- a/units/INB0203/INB0203_unit.bp +++ b/units/INB0203/INB0203_unit.bp @@ -101,8 +101,13 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { - LODCutoff = 500, - ShaderName = 'NomadsUnit', + AlbedoName = '/units/INB0203/INB0203_albedo.dds', + LODCutoff = 500, + MeshName = '/units/INB0203/INB0203_lod0.scm', + NormalsName = '/units/INB0203/INB0203_NormalsTS.dds', + Scrolling = true, + ShaderName = 'NomadsUnit', + SpecularName = '/units/INB0203/INB0203_SpecTeam.dds', }, }, }, diff --git a/units/INB0211/INB0211_unit.bp b/units/INB0211/INB0211_unit.bp index 9bdb04cf..b7e97ee5 100644 --- a/units/INB0211/INB0211_unit.bp +++ b/units/INB0211/INB0211_unit.bp @@ -139,10 +139,10 @@ UnitBlueprint { UniformScale = 0.45, }, Economy = { - BuildCostEnergy = 4800, -- - BuildCostMass = 540, -- + BuildCostEnergy = 4800, + BuildCostMass = 580, BuildRate = 40, - BuildTime = 1300, -- + BuildTime = 1600, -- BuildableCategory = { 'BUILTBYTIER2FACTORY NOMADS MOBILE CONSTRUCTION', 'BUILTBYTIER2SUPPORTFACTORY NOMADS STRUCTURE LAND', diff --git a/units/INB0212/INB0212_unit.bp b/units/INB0212/INB0212_unit.bp index c73c3ef7..f68506f3 100644 --- a/units/INB0212/INB0212_unit.bp +++ b/units/INB0212/INB0212_unit.bp @@ -114,8 +114,8 @@ UnitBlueprint { UniformScale = 0.42, }, Economy = { - BuildCostEnergy = 7971, -- - BuildCostMass = 510, -- + BuildCostEnergy = 8000, + BuildCostMass = 510, BuildRate = 40, BuildTime = 1300, -- BuildableCategory = { diff --git a/units/INB0213/INB0213_unit.bp b/units/INB0213/INB0213_unit.bp index 9db443ad..10016478 100644 --- a/units/INB0213/INB0213_unit.bp +++ b/units/INB0213/INB0213_unit.bp @@ -119,10 +119,10 @@ UnitBlueprint { UniformScale = 0.32, }, Economy = { - BuildCostEnergy = 4000, -- - BuildCostMass = 800, -- - BuildRate = 60, -- - BuildTime = 2000, -- + BuildCostEnergy = 5500, + BuildCostMass = 1100, + BuildRate = 90, -- + BuildTime = 3000, -- BuildableCategory = { 'BUILTBYTIER2FACTORY NOMADS MOBILE CONSTRUCTION', 'BUILTBYTIER2SUPPORTFACTORY NOMADS STRUCTURE NAVAL', diff --git a/units/INB0301/INB0301_unit.bp b/units/INB0301/INB0301_unit.bp index 1910059e..234eb3ca 100644 --- a/units/INB0301/INB0301_unit.bp +++ b/units/INB0301/INB0301_unit.bp @@ -104,8 +104,13 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { - LODCutoff = 500, - ShaderName = 'NomadsUnit', + AlbedoName = '/units/INB0301/INB0301_albedo.dds', + LODCutoff = 500, + MeshName = '/units/INB0301/INB0301_lod0.scm', + NormalsName = '/units/INB0301/INB0301_NormalsTS.dds', + Scrolling = true, + ShaderName = 'NomadsUnit', + SpecularName = '/units/INB0301/INB0301_SpecTeam.dds', }, }, }, @@ -128,10 +133,10 @@ UnitBlueprint { UniformScale = 0.45, }, Economy = { - BuildCostEnergy = 43900, - BuildCostMass = 4920, + BuildCostEnergy = 47400, + BuildCostMass = 5220, BuildRate = 90, - BuildTime = 11000, + BuildTime = 12100, BuildableCategory = { 'BUILTBYTIER3FACTORY NOMADS MOBILE CONSTRUCTION', 'BUILTBYTIER3FACTORY NOMADS STRUCTURE LAND', @@ -140,7 +145,7 @@ UnitBlueprint { }, DifferentialUpgradeCostCalculation = true, StorageEnergy = 0, - StorageMass = 0, + StorageMass = 320, }, Footprint = { SizeX = 5, diff --git a/units/INB0302/INB0302_unit.bp b/units/INB0302/INB0302_unit.bp index 2dd4107d..f43341b6 100644 --- a/units/INB0302/INB0302_unit.bp +++ b/units/INB0302/INB0302_unit.bp @@ -100,8 +100,13 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { - LODCutoff = 500, - ShaderName = 'NomadsUnit', + AlbedoName = '/units/INB0302/INB0302_albedo.dds', + LODCutoff = 500, + MeshName = '/units/INB0302/INB0302_lod0.scm', + NormalsName = '/units/INB0302/INB0302_NormalsTS.dds', + Scrolling = true, + ShaderName = 'NomadsUnit', + SpecularName = '/units/INB0302/INB0302_SpecTeam.dds', }, }, }, @@ -123,10 +128,10 @@ UnitBlueprint { UniformScale = 0.42, }, Economy = { - BuildCostEnergy = 99400, - BuildCostMass = 4090, + BuildCostEnergy = 45000, + BuildCostMass = 9500, BuildRate = 120, - BuildTime = 10400, + BuildTime = 11250, DifferentialUpgradeCostCalculation = true, BuildableCategory = { 'BUILTBYTIER3FACTORY NOMADS MOBILE CONSTRUCTION', @@ -136,7 +141,7 @@ UnitBlueprint { 'FIELDENGINEER NOMADS MOBILE LAND', }, StorageEnergy = 0, - StorageMass = 0, + StorageMass = 320, }, Footprint = { SizeX = 5, diff --git a/units/INB0303/INB0303_unit.bp b/units/INB0303/INB0303_unit.bp index 70df0826..59fa9d48 100644 --- a/units/INB0303/INB0303_unit.bp +++ b/units/INB0303/INB0303_unit.bp @@ -97,8 +97,13 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { - LODCutoff = 500, - ShaderName = 'NomadsUnit', + AlbedoName = '/units/INB0303/INB0303_albedo.dds', + LODCutoff = 500, + MeshName = '/units/INB0303/INB0303_lod0.scm', + NormalsName = '/units/INB0303/INB0303_NormalsTS.dds', + Scrolling = true, + ShaderName = 'NomadsUnit', + SpecularName = '/units/INB0303/INB0303_SpecTeam.dds', }, }, }, @@ -107,8 +112,8 @@ UnitBlueprint { UniformScale = 0.32, }, Economy = { - BuildCostEnergy = 45000, - BuildCostMass = 9500, + BuildCostEnergy = 35000, + BuildCostMass = 7500, BuildRate = 150, BuildTime = 11250, DifferentialUpgradeCostCalculation = true, diff --git a/units/INB0311/INB0311_unit.bp b/units/INB0311/INB0311_unit.bp index c3585ca9..0b42538f 100644 --- a/units/INB0311/INB0311_unit.bp +++ b/units/INB0311/INB0311_unit.bp @@ -134,10 +134,10 @@ UnitBlueprint { UniformScale = 0.45, }, Economy = { - BuildCostEnergy = 11550, -- - BuildCostMass = 1290, -- - BuildRate = 90, -- - BuildTime = 3000, -- + BuildCostEnergy = 11600, + BuildCostMass = 1440, + BuildRate = 90, -- + BuildTime = 4000, -- BuildableCategory = { 'BUILTBYTIER3FACTORY NOMADS MOBILE CONSTRUCTION', 'BUILTBYTIER3FACTORY NOMADS STRUCTURE LAND', diff --git a/units/INB0312/INB0312_unit.bp b/units/INB0312/INB0312_unit.bp index 7a164cb4..66d5ec36 100644 --- a/units/INB0312/INB0312_unit.bp +++ b/units/INB0312/INB0312_unit.bp @@ -114,8 +114,8 @@ UnitBlueprint { UniformScale = 0.42, }, Economy = { - BuildCostEnergy = 34153, -- - BuildCostMass = 1510, -- + BuildCostEnergy = 34000, + BuildCostMass = 1510, BuildRate = 120, -- BuildTime = 4000, -- BuildableCategory = { diff --git a/units/INB0313/INB0313_unit.bp b/units/INB0313/INB0313_unit.bp index 5563ea4f..bb4697ff 100644 --- a/units/INB0313/INB0313_unit.bp +++ b/units/INB0313/INB0313_unit.bp @@ -113,10 +113,10 @@ UnitBlueprint { UniformScale = 0.32, }, Economy = { - BuildCostEnergy = 7429, -- - BuildCostMass = 1600, -- - BuildRate = 120, -- - BuildTime = 4000, -- + BuildCostEnergy = 11000, + BuildCostMass = 2200, + BuildRate = 150, -- + BuildTime = 3500, -- BuildableCategory = { 'BUILTBYTIER3FACTORY NOMADS MOBILE CONSTRUCTION', 'BUILTBYTIER3FACTORY NOMADS STRUCTURE NAVAL', diff --git a/units/INB3303/INB3303_unit.bp b/units/INB3303/INB3303_unit.bp index 08c56732..46e4f7f1 100644 --- a/units/INB3303/INB3303_unit.bp +++ b/units/INB3303/INB3303_unit.bp @@ -54,8 +54,8 @@ UnitBlueprint { AirThreatLevel = 0, ArmorType = 'Structure', EconomyThreatLevel = 30, - Health = 6000, - MaxHealth = 6000, + Health = 2000, + MaxHealth = 2000, RegenRate = 0, SubThreatLevel = 0, SurfaceThreatLevel = 100, @@ -69,8 +69,12 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { + AlbedoName = '/units/INB3303/INB3303_Albedo.dds', -- LODCutoff = 215, + MeshName = '/units/INB3303/INB3303_Lod0.scm', -- + NormalsName = '/units/INB3303/INB3303_NormalsTS.dds', -- ShaderName = 'NomadsUnit', + SpecularName = '/units/INB3303/INB3303_SpecTeam.dds', -- }, }, }, @@ -93,8 +97,8 @@ UnitBlueprint { UniformScale = 0.48, }, Economy = { - BuildCostEnergy = 36000, - BuildCostMass = 4000, + BuildCostEnergy = 40000, + BuildCostMass = 2000, BuildTime = 4000, RebuildBonusIds = { 'inb3303', diff --git a/units/INO2302/INO2302_unit.bp b/units/INO2302/INO2302_unit.bp index 9ab6684c..2a3121c8 100644 --- a/units/INO2302/INO2302_unit.bp +++ b/units/INO2302/INO2302_unit.bp @@ -50,8 +50,12 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { + AlbedoName = '/units/INO2302/INO2302_Albedo.dds', LODCutoff = 500, + MeshName = '/units/INO2302/INO2302_Lod0.scm', + NormalsName = '/units/INO2302/INO2302_NormalsTS.dds', ShaderName = 'NomadsUnit', + SpecularName = '/units/INO2302/INO2302_SpecTeam.dds', }, }, }, @@ -174,11 +178,11 @@ UnitBlueprint { FiringRandomness = 0.7, FiringTolerance = 0, Label = 'MainGun', - MaxRadius = 700, + MaxRadius = 825, MinRadius = 150, MuzzleSalvoDelay = 0.5, MuzzleSalvoSize = 5, - MuzzleVelocity = 55, + MuzzleVelocity = 70, ProjectileId = '/projectiles/NArtilleryShell2/NArtilleryShell2_proj.bp', ProjectileLifetimeUsesMultiplier = 1.75, ProjectilesPerOnFire = 1, diff --git a/units/INS2001/INS2001_unit.bp b/units/INS2001/INS2001_unit.bp index f59fbc77..7174d76b 100644 --- a/units/INS2001/INS2001_unit.bp +++ b/units/INS2001/INS2001_unit.bp @@ -116,8 +116,13 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { + AlbedoName = '/units/INS2001/INS2001_Albedo.dds', LODCutoff = 450, + MeshName = '/units/INS2001/INS2001_LOD0.scm', + NormalsName = '/units/INS2001/INS2001_normalsTS.dds', + Scrolling = true, ShaderName = 'NomadsUnit', + SpecularName = '/units/INS2001/INS2001_SpecTeam.dds', }, }, }, @@ -278,7 +283,7 @@ UnitBlueprint { }, FiringRandomness = 0.3, FiringTolerance = 2, - InitialDamage = 180, + InitialDamage = 240, Label = 'FrontTurret', MaxRadius = 80, MuzzleChargeDelay = 0.2, @@ -367,7 +372,7 @@ UnitBlueprint { }, FiringRandomness = 0.3, FiringTolerance = 2, - InitialDamage = 180, + InitialDamage = 120, Label = 'RearTurret', MaxRadius = 80, MuzzleChargeDelay = 0.2, diff --git a/units/INS3003/INS3003_unit.bp b/units/INS3003/INS3003_unit.bp index 333e162f..ac2ad74c 100644 --- a/units/INS3003/INS3003_unit.bp +++ b/units/INS3003/INS3003_unit.bp @@ -201,8 +201,13 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { + AlbedoName = '/units/INS3003/INS3003_Albedo.dds', LODCutoff = 600, + MeshName = '/units/INS3003/INS3003_LOD0.scm', + NormalsName = '/units/INS3003/INS3003_normalsTS.dds', + Scrolling = true, ShaderName = 'NomadsUnit', + SpecularName = '/units/INS3003/INS3003_SpecTeam.dds', }, }, }, @@ -247,8 +252,8 @@ UnitBlueprint { Economy = { BuildCostEnergy = 38000, BuildCostMass = 3800, - BuildRate = 150, - BuildTime = 12000, + BuildRate = 180, + BuildTime = 11600, BuildableCategory = { 'BUILTBYTIER3FACTORY NOMADS MOBILE AIR ANTINAVY', 'BUILTBYTIER3FACTORY NOMADS MOBILE AIR INTELLIGENCE', @@ -357,22 +362,24 @@ UnitBlueprint { BallisticArc = 'RULEUBA_None', CannotAttackGround = true, CollideFriendly = false, - Damage = 35, - DamageRadius = 1.5, + Damage = 40, + DamageFriendly = false, + DamageRadius = 3, DamageType = 'Normal', - DisplayName = 'Ion Blaster', + DetonatesAtTargetHeight = true, + DisplayName = 'Rocket flak', FireTargetLayerCapsTable = { Water = 'Air', }, - FiringRandomness = 0.9, - FiringTolerance = 0.1, + FiringRandomness = 3, + FiringTolerance = 2, Label = 'AAGun1', LeadTarget = true, - MaxRadius = 85, + MaxRadius = 100, MuzzleSalvoDelay = 0, - MuzzleSalvoSize = 2, - MuzzleVelocity = 90, - ProjectileId = '/projectiles/NIonBlastProj1/NIonBlastProj1_proj.bp', + MuzzleSalvoSize = 3, + MuzzleVelocity = 60, + ProjectileId = '/projectiles/NRocketFlakProj1/NRocketFlakProj1_proj.bp', ProjectileLifetime = 20, ProjectileLifetimeUsesMultiplier = 1.25, ProjectilesPerOnFire = 2, @@ -400,7 +407,7 @@ UnitBlueprint { RackSalvoSize = 1, RackSlavedToTurret = true, RangeCategory = 'UWRC_AntiAir', - RateOfFire = 2, + RateOfFire = 1.111, TargetCheckInterval = 0.25, TargetPriorities = { 'SPECIALHIGHPRI', @@ -441,24 +448,26 @@ UnitBlueprint { BallisticArc = 'RULEUBA_None', CannotAttackGround = true, CollideFriendly = false, - Damage = 35, - DamageRadius = 1.5, + Damage = 40, + DamageFriendly = false, + DamageRadius = 3, DamageType = 'Normal', - DisplayName = 'Ion Blaster', + DetonatesAtTargetHeight = true, + DisplayName = 'Rocket flak', FireTargetLayerCapsTable = { Water = 'Air', }, - FiringRandomness = 0.9, - FiringTolerance = 0.1, + FiringRandomness = 3, + FiringTolerance = 2, Label = 'AAGun2', LeadTarget = true, - MaxRadius = 85, + MaxRadius = 100, MuzzleSalvoDelay = 0, - MuzzleSalvoSize = 2, - MuzzleVelocity = 90, + MuzzleSalvoSize = 3, + MuzzleVelocity = 30, PrefersPrimaryWeaponTarget = true, - ProjectileId = '/projectiles/NIonBlastProj1/NIonBlastProj1_proj.bp', - ProjectileLifetime = 20, + ProjectileId = '/projectiles/NRocketFlakProj1/NRocketFlakProj1_proj.bp', + ProjectileLifetime = 60, ProjectileLifetimeUsesMultiplier = 1.25, ProjectilesPerOnFire = 2, RackBones = { @@ -485,7 +494,7 @@ UnitBlueprint { RackSalvoSize = 1, RackSlavedToTurret = true, RangeCategory = 'UWRC_AntiAir', - RateOfFire = 2, + RateOfFire = 1.111, TargetCheckInterval = 0.3, TargetPriorities = { 'SPECIALHIGHPRI', @@ -526,23 +535,25 @@ UnitBlueprint { BallisticArc = 'RULEUBA_None', CannotAttackGround = true, CollideFriendly = false, - Damage = 35, - DamageRadius = 1.5, + Damage = 40, + DamageFriendly = false, + DamageRadius = 3, DamageType = 'Normal', - DisplayName = 'Ion Blaster', + DetonatesAtTargetHeight = true, + DisplayName = 'Rocket flak', FireTargetLayerCapsTable = { Water = 'Air', }, - FiringRandomness = 0.9, - FiringTolerance = 0.1, + FiringRandomness = 3, + FiringTolerance = 2, Label = 'AAGun3', LeadTarget = true, - MaxRadius = 85, + MaxRadius = 100, MuzzleSalvoDelay = 0, - MuzzleSalvoSize = 2, - MuzzleVelocity = 90, + MuzzleSalvoSize = 3, + MuzzleVelocity = 60, PrefersPrimaryWeaponTarget = true, - ProjectileId = '/projectiles/NIonBlastProj1/NIonBlastProj1_proj.bp', + ProjectileId = '/projectiles/NRocketFlakProj1/NRocketFlakProj1_proj.bp', ProjectileLifetime = 20, ProjectileLifetimeUsesMultiplier = 1.25, ProjectilesPerOnFire = 2, @@ -570,7 +581,7 @@ UnitBlueprint { RackSalvoSize = 1, RackSlavedToTurret = true, RangeCategory = 'UWRC_AntiAir', - RateOfFire = 2, + RateOfFire = 1.111, TargetCheckInterval = 0.3, TargetPriorities = { 'SPECIALHIGHPRI', @@ -611,23 +622,25 @@ UnitBlueprint { BallisticArc = 'RULEUBA_None', CannotAttackGround = true, CollideFriendly = false, - Damage = 35, - DamageRadius = 1.5, + Damage = 40, + DamageFriendly = false, + DamageRadius = 3, DamageType = 'Normal', - DisplayName = 'Ion Blaster', + DetonatesAtTargetHeight = true, + DisplayName = 'Rocket flak', FireTargetLayerCapsTable = { Water = 'Air', }, - FiringRandomness = 0.9, - FiringTolerance = 0.1, + FiringRandomness = 3, + FiringTolerance = 2, Label = 'AAGun4', LeadTarget = true, - MaxRadius = 85, + MaxRadius = 100, MuzzleSalvoDelay = 0, - MuzzleSalvoSize = 2, - MuzzleVelocity = 90, + MuzzleSalvoSize = 3, + MuzzleVelocity = 60, PrefersPrimaryWeaponTarget = true, - ProjectileId = '/projectiles/NIonBlastProj1/NIonBlastProj1_proj.bp', + ProjectileId = '/projectiles/NRocketFlakProj1/NRocketFlakProj1_proj.bp', ProjectileLifetime = 20, ProjectileLifetimeUsesMultiplier = 1.25, ProjectilesPerOnFire = 2, @@ -655,7 +668,7 @@ UnitBlueprint { RackSalvoSize = 1, RackSlavedToTurret = true, RangeCategory = 'UWRC_AntiAir', - RateOfFire = 2, + RateOfFire = 1.111, TargetCheckInterval = 0.3, TargetPriorities = { 'SPECIALHIGHPRI', diff --git a/units/INU0001/INU0001_unit.bp b/units/INU0001/INU0001_unit.bp index af66b281..d1e8fbfb 100644 --- a/units/INU0001/INU0001_unit.bp +++ b/units/INU0001/INU0001_unit.bp @@ -9,9 +9,9 @@ UnitBlueprint { 'CapacitorIntel', 'CapacitorRegen', }, - Duration = 20, - ChargeEnergyCost = 100, - ChargeTime = 60, + Duration = 15, + ChargeEnergyCost = 200, + ChargeTime = 30, bitmapId = 'toggle-capacitor', helpText = 'toggle_capacitor', }, @@ -230,7 +230,13 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { + AlbedoName = '/units/INU0001/INU0001_Albedo.dds', + LODCutoff = 500, + MeshName = '/units/INU0001/INU0001_LOD0.scm', + NormalsName = '/units/INU0001/INU0001_normalsTS.dds', + Scrolling = true, ShaderName = 'NomadsUnit', + SpecularName = '/units/INU0001/INU0001_SpecTeam.dds', }, }, }, @@ -372,7 +378,7 @@ UnitBlueprint { Slot = 'LCH', }, DoubleGuns = { - BuildCostEnergy = 45000, + BuildCostEnergy = 42000, BuildCostMass = 1500, BuildTime = 1200, Icon = 'hamc2', @@ -512,8 +518,8 @@ UnitBlueprint { Slot = 'RCH', }, MovementSpeedIncrease = { - BuildCostEnergy = 28800, - BuildCostMass = 720, + BuildCostEnergy = 24000, + BuildCostMass = 800, BuildTime = 900, Icon = 'il', Name = '', @@ -562,8 +568,8 @@ UnitBlueprint { Slot = 'Back', }, OrbitalBombardment = { - BuildCostEnergy = 75000, - BuildCostMass = 1500, + BuildCostEnergy = 50000, + BuildCostMass = 1000, BuildTime = 1500, Icon = 'heo', Name = '', @@ -594,15 +600,17 @@ UnitBlueprint { Slot = 'Back', }, PowerArmor = { - AddHealth = 20000, + AddHealth = 30000, AddRegenRate = 0, - BuildCostEnergy = 250000, - BuildCostMass = 3000, - BuildTime = 2500, + BuildCostEnergy = 150000, + BuildCostMass = 1500, + BuildTime = 2000, Icon = 'sepa', Mesh = '/units/INU0001/INU0001_PowerArmor_Mesh', Name = 'Powered Armor', Prerequisite = 'RapidRepair', + RepairDelay = 10, + RepairRate = 300, Slot = 'Back', UpgradeEffectBones = { 'upgrade_back', @@ -629,14 +637,14 @@ UnitBlueprint { Slot = 'Back', }, RapidRepair = { - AddHealth = 3500, - BuildCostEnergy = 42000, - BuildCostMass = 1000, - BuildTime = 1000, + AddHealth = 2000, + BuildCostEnergy = 36000, + BuildCostMass = 1200, + BuildTime = 1200, Icon = 'se', Name = '', RepairDelay = 10, - RepairRate = 70, + RepairRate = 100, Slot = 'Back', UpgradeEffectBones = { 'upgrade_back', @@ -910,7 +918,7 @@ UnitBlueprint { RackSalvoSize = 1, RackSlavedToTurret = false, RangeCategory = 'UWRC_DirectFire', - RateOfFire = 0.6, -- =1,7s 88dps + RateOfFire = 0.66, -- =1,5s 100dps ReceiveROFBuff = true, SlavedToBody = false, TargetCheckInterval = 0.5, diff --git a/units/INU0301/INU0301_script.lua b/units/INU0301/INU0301_script.lua index e53c10a4..f0e34b5c 100644 --- a/units/INU0301/INU0301_script.lua +++ b/units/INU0301/INU0301_script.lua @@ -896,6 +896,10 @@ LOG('Todo: SCU right arm upgrade') Affects = { BuildRate = { Add = bp.AddBuildRate, + Mult = 1, + }, + MaxBuildDistance = { + Add = bp.MaxBuildDistance, Mult = 1, }, }, diff --git a/units/INU0301/INU0301_unit.bp b/units/INU0301/INU0301_unit.bp index bdc675bb..b3738cea 100644 --- a/units/INU0301/INU0301_unit.bp +++ b/units/INU0301/INU0301_unit.bp @@ -13,7 +13,7 @@ UnitBlueprint { 'CapacitorROFSCURailgun', }, Duration = 15, - ChargeEnergyCost = 100, + ChargeEnergyCost = 200, ChargeTime = 30, bitmapId = 'toggle-capacitor', helpText = 'toggle_capacitor', @@ -488,7 +488,7 @@ UnitBlueprint { Capacitor = { BuildCostEnergy = 1000, BuildCostMass = 200, - BuildTime = 5, + BuildTime = 100, HideBones = { 'Bicep_R', 'Forearm_R', @@ -527,7 +527,7 @@ UnitBlueprint { AdditionalCapacitor = { BuildCostEnergy = 1000, BuildCostMass = 100, - BuildTime = 5, + BuildTime = 100, HideBones = { 'Bicep_R', 'Forearm_R', @@ -537,9 +537,9 @@ UnitBlueprint { Icon = 'acap2', Name = 'Additional Capacitor', Prerequisite = 'Capacitor', - CapacitorNewDuration = 150, - CapacitorNewChargeTime = 175, - CapacitorNewChargeEnergyCost = 500, + CapacitorNewDuration = 30, + CapacitorNewChargeTime = 45, + CapacitorNewChargeEnergyCost = 100, ShowBones = { 'Capacitor' }, @@ -570,6 +570,7 @@ UnitBlueprint { }, EngineeringLeft = { AddBuildRate = 55, + AddMaxBuildDistance = 10, BuildCostEnergy = 18500, BuildCostMass = 450, BuildTime = 1800, @@ -617,6 +618,7 @@ UnitBlueprint { }, EngineeringRight = { AddBuildRate = 55, + AddMaxBuildDistance = 10, BuildCostEnergy = 18500, BuildCostMass = 450, BuildTime = 1800, @@ -914,11 +916,11 @@ UnitBlueprint { Slot = 'Back', }, PowerArmor = { - AddHealth = 22000, + AddHealth = 23000, AddRegenRate = 0, - BuildCostEnergy = 99000, - BuildCostMass = 2500, - BuildTime = 10300, + BuildCostEnergy = 75000, + BuildCostMass = 1500, + BuildTime = 5000, Icon = 'sepa', Mesh = '/units/inu0301/inu0301_PowerArmor_Mesh', Name = 'Powered Armor', @@ -999,15 +1001,15 @@ UnitBlueprint { Slot = 'LCH', }, RapidRepair = { - AddHealth = 6000, - BuildCostEnergy = 29600, - BuildCostMass = 1000, - BuildTime = 4200, + AddHealth = 2000, + BuildCostEnergy = 75000, + BuildCostMass = 1500, + BuildTime = 5000, Icon = 'se', InterruptRapidRepairByWeaponFired = false, Name = 'Rapid repair', - RepairDelay = 15, - RepairRate = 70, + RepairDelay = 10, + RepairRate = 600, ShowBones = { 'Nano_Chest', }, @@ -1191,8 +1193,9 @@ UnitBlueprint { BuildIconSortPriority = 30, Description = 'Support Armored Command Unit (Preset: Fast Combat)', Enhancements = { - 'GunLeft', - 'GunRight', + 'Capacitor', + 'AdditionalCapacitor', + 'LeftRocket', 'MovementSpeedIncrease', }, HelpText = 'Houses a Nomads soldier. Can be Customised as a heavy combatant, --improved T3 engineer or combination. Enhanced during construction with a machine gun and improved locomotor.', @@ -1243,11 +1246,27 @@ UnitBlueprint { HelpText = 'Houses a Nomads soldier. Can be Customised as a heavy combatant, improved T3 engineer or combination. Enhanced during construction with engineering capabilities on both arms and resource generator on its back.', SortCategory = 'SORTCONSTRUCTION', UIUnitViewOverrides = { - ProductionPerSecondEnergy = 500, - ProductionPerSecondMass = 4, + ProductionPerSecondEnergy = 1000, + ProductionPerSecondMass = 10, }, UnitName = 'Support Armored Command Unit (Preset: Producer)', }, + RAS = { + BuildIconSortPriority = 20, + Description = 'Support Armored Command Unit (Preset: RAS)', + Enhancements = { + 'EngineeringLeft', + 'EngineeringRight', + 'ResourceAllocation', + }, + HelpText = 'Houses a Nomads soldier. Can be Customised as a heavy combatant, improved T3 engineer or combination. Enhanced during construction with engineering capabilities on both arms and resource generator on its back.', + SortCategory = 'SORTCONSTRUCTION', + UIUnitViewOverrides = { + ProductionPerSecondEnergy = 1000, + ProductionPerSecondMass = 10, + }, + UnitName = 'Support Armored Command Unit (Preset: RAS)', + }, Rambo = { BuildIconSortPriority = 50, Description = 'Support Armored Command Unit (Preset: Rambo)', @@ -1272,7 +1291,8 @@ UnitBlueprint { Enhancements = { 'LeftRocket', 'RightRocket', - 'MovementSpeedIncrease', + 'RapidRepair', + 'PowerArmor', }, HelpText = 'Houses a Nomads soldier. Can be Customised as a heavy combatant, improved T3 engineer or combination. Enhanced during construction with a rocket launcher on both shoulders and improved locomotor.', SelectionPriority = 1, diff --git a/units/INU1006/INU1006_unit.bp b/units/INU1006/INU1006_unit.bp index 4f54e073..b11f361e 100644 --- a/units/INU1006/INU1006_unit.bp +++ b/units/INU1006/INU1006_unit.bp @@ -131,8 +131,8 @@ UnitBlueprint { UniformScale = 0.065, }, Economy = { - BuildCostEnergy = 275, - BuildCostMass = 55, + BuildCostEnergy = 300, + BuildCostMass = 60, BuildTime = 220, TeleportEnergyMod = 0.15, TeleportMassMod = 1, diff --git a/units/INU1007/INU1007_unit.bp b/units/INU1007/INU1007_unit.bp index 7f3f2061..109ab1ba 100644 --- a/units/INU1007/INU1007_unit.bp +++ b/units/INU1007/INU1007_unit.bp @@ -131,8 +131,11 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { - Scrolling = true, - ShaderName = 'NomadsUnit', + AlbedoName = '/units/INU1007/INU1007_Albedo.dds', + LODCutoff = 130, + MeshName = '/units/INU1007/INU1007_Lod0.scm', + NormalsName = '/units/INU1007/INU1007_NormalsTS.dds', + SpecularName = '/units/INU1007/INU1007_SpecTeam.dds', }, }, }, @@ -230,7 +233,7 @@ UnitBlueprint { DragCoefficient = 0.2, Elevation = 0.23, MaxAcceleration = 4, - MaxBrake = 4, + MaxBrake = 15, MaxSpeed = 4, MaxSpeedReverse = 0, MaxSteerForce = 7, @@ -241,8 +244,8 @@ UnitBlueprint { MotionType = 'RULEUMT_Hover', RotateBodyWhileMoving = false, TurnFacingRate = 180, - TurnRadius = 1, - TurnRate = 45, + TurnRadius = 1.2, + TurnRate = 310, WaterSpeedMultiplier = 0.9, WobbleFactor = 0, WobbleSpeed = 0, diff --git a/units/INU2007/INU2007_unit.bp b/units/INU2007/INU2007_unit.bp index d986af14..826540a4 100644 --- a/units/INU2007/INU2007_unit.bp +++ b/units/INU2007/INU2007_unit.bp @@ -111,9 +111,12 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { - Scrolling = false, - ShaderName = 'NomadsUnit', + AlbedoName = '/units/INU2007/INU2007_Albedo.dds', LODCutoff = 400, + MeshName = '/units/INU2007/INU2007_Lod0.scm', + NormalsName = '/units/INU2007/INU2007_NormalsTS.dds', + ShaderName = 'NomadsUnit', + SpecularName = '/units/INU2007/INU2007_SpecTeam.dds', }, }, }, @@ -129,8 +132,8 @@ UnitBlueprint { }, Economy = { BuildCostEnergy = 240000, - BuildCostMass = 12500, - BuildTime = 12000, + BuildCostMass = 15000, + BuildTime = 20000, }, General = { Category = 'Experimental', @@ -178,8 +181,8 @@ UnitBlueprint { DragCoefficient = 0.2, LayerChangeOffsetHeight = -0.95, MaxAcceleration = 2.7, - MaxBrake = 2.7, - MaxSpeed = 2.7, + MaxBrake = 2, + MaxSpeed = 2, MaxSpeedReverse = 0, MaxSteerForce = 0, MeshExtentsX = 0.75, @@ -248,7 +251,7 @@ UnitBlueprint { BeamLifetime = 0, CollideFriendly = false, ContinuousBeam = true, - Damage = 460, + Damage = 500, DamageRadius = 0.5, DamageType = 'Normal', DisplayName = 'Phaseray Generator', @@ -259,7 +262,7 @@ UnitBlueprint { FiringTolerance = 0, Label = 'MainGun', LeadTarget = false, - MaxRadius = 35, + MaxRadius = 40, MinRadius = 3, MuzzleChargeDelay = 0, MuzzleSalvoDelay = 0, diff --git a/units/INU3002/INU3002_unit.bp b/units/INU3002/INU3002_unit.bp index 9e48a165..d3129f48 100644 --- a/units/INU3002/INU3002_unit.bp +++ b/units/INU3002/INU3002_unit.bp @@ -71,8 +71,8 @@ UnitBlueprint { AirThreatLevel = 0, ArmorType = 'Normal', EconomyThreatLevel = 0, - Health = 3500, - MaxHealth = 3500, + Health = 3000, + MaxHealth = 3000, RegenRate = 0, SubThreatLevel = 0, SurfaceThreatLevel = 18, @@ -171,10 +171,11 @@ UnitBlueprint { SpecularName = '/units/INU3002/INU3002_SpecTeam.dds', }, { - AlbedoName = 'inu3002_lod1_Albedo.dds', + AlbedoName = '/units/INU3002/inu3002_lod1_Albedo.dds', + MeshName = '/units/INU3002/inu3002_LOD1.scm', LODCutoff = 215, ShaderName = 'NomadsUnit', - SpecularName = 'inu3002_LOD1_SpecTeam.dds', + SpecularName = '/units/INU3002/inu3002_LOD1_SpecTeam.dds', }, }, }, @@ -332,13 +333,13 @@ UnitBlueprint { Label = 'Rocket', MaxRadius = 20, MuzzleSalvoDelay = 0.05, - MuzzleSalvoSize = 4, + MuzzleSalvoSize = 3, MuzzleVelocity = 30, NotExclusive = true, ProjectileId = '/projectiles/NRocketProj2/NRocketProj2_proj.bp', ProjectileLifetime = 0.9, ProjectileLifetimeUsesMultiplier = 1, - ProjectilesPerOnFire = 4, + ProjectilesPerOnFire = 3, RackBones = { { MuzzleBones = { diff --git a/units/INU3003/INU3003_unit.bp b/units/INU3003/INU3003_unit.bp index 1cca751d..0ea0882c 100644 --- a/units/INU3003/INU3003_unit.bp +++ b/units/INU3003/INU3003_unit.bp @@ -128,8 +128,8 @@ UnitBlueprint { UniformScale = 0.33, }, Economy = { - BuildCostEnergy = 1800, - BuildCostMass = 360, + BuildCostEnergy = 1500, + BuildCostMass = 300, BuildTime = 1600, TeleportEnergyMod = 0.15, TeleportMassMod = 1, @@ -243,8 +243,8 @@ UnitBlueprint { }, AppliedToTarget = true, BuffType = 'STUN', - Duration = 2, - Radius = 1.3, + Duration = 5, + Radius = 4, TargetAllow = 'TECH1', TargetDisallow = 'UNSTUNABLE,TECH2,TECH3,EXPERIMENTAL,COMMAND,SHIELD,WALL', }, @@ -257,8 +257,8 @@ UnitBlueprint { }, AppliedToTarget = true, BuffType = 'STUN', - Duration = 1, - Radius = 1.3, + Duration = 3, + Radius = 4, TargetAllow = 'TECH2,SHIELD', TargetDisallow = 'UNSTUNABLE,TECH1,TECH3,EXPERIMENTAL,COMMAND,WALL', }, @@ -271,22 +271,22 @@ UnitBlueprint { }, AppliedToTarget = true, BuffType = 'STUN', - Duration = 0.5, - Radius = 1.3, + Duration = 1, + Radius = 4, TargetAllow = 'TECH3', TargetDisallow = 'UNSTUNABLE,TECH1,TECH2,EXPERIMENTAL,COMMAND,WALL', }, }, CollideFriendly = false, - Damage = 20, - DamageRadius = 1.3, - DamageToShields = 150, + Damage = 5, + DamageRadius = 4, + DamageToShields = 600, DamageType = 'Normal', DisplayName = 'EMPactor', FireTargetLayerCapsTable = { Land = 'Land|Water|Seabed', }, - FiringRandomness = 0.5, + FiringRandomness = 0.25, FiringTolerance = 1, Label = 'MainGun', MaxRadius = 40, @@ -318,7 +318,7 @@ UnitBlueprint { RackSalvoSize = 1, RackSlavedToTurret = true, RangeCategory = 'UWRC_DirectFire', - RateOfFire = 0.769, + RateOfFire = 0.25, TargetCheckInterval = 0.5, TargetPriorities = { 'SPECIALHIGHPRI', diff --git a/units/INU3004/INU3004_Script.lua b/units/INU3004/INU3004_Script.lua index 4eaaa462..845995f3 100644 --- a/units/INU3004/INU3004_Script.lua +++ b/units/INU3004/INU3004_Script.lua @@ -1,35 +1,25 @@ -- t3 arillery -local AddBombardModeToUnit = import('/lua/nomadsutils.lua').AddBombardModeToUnit -local SupportedArtilleryWeapon = import('/lua/nomadsutils.lua').SupportedArtilleryWeapon local NLandUnit = import('/lua/nomadsunits.lua').NLandUnit local ArtilleryWeapon = import('/lua/nomadsweapons.lua').ArtilleryWeapon +local Utilities = import('/lua/utilities.lua') +local AddAnchorAbilty = import('/lua/nomadsutils.lua').AddAnchorAbilty +local SupportedArtilleryWeapon = import('/lua/nomadsutils.lua').SupportedArtilleryWeapon -NLandUnit = AddBombardModeToUnit(NLandUnit) +NLandUnit = AddAnchorAbilty( NLandUnit ) ArtilleryWeapon = SupportedArtilleryWeapon( ArtilleryWeapon ) INU3004 = Class(NLandUnit) { Weapons = { MainGun = Class(ArtilleryWeapon) {}, }, - - SetBombardmentMode = function(self, enable, changedByTransport) - NLandUnit.SetBombardmentMode(self, enable, changedByTransport) - self:SetScriptBit('RULEUTC_WeaponToggle', enable) - end, - - OnScriptBitSet = function(self, bit) - NLandUnit.OnScriptBitSet(self, bit) - if bit == 1 then - self.SetBombardmentMode(self, true, false) - end + + EnableSpecialToggle = function(self) + self:EnableAnchor(self) end, - OnScriptBitClear = function(self, bit) - NLandUnit.OnScriptBitClear(self, bit) - if bit == 1 then - self.SetBombardmentMode(self, false, false) - end + DisableSpecialToggle = function(self) + self:DisableAnchor(self) end, } diff --git a/units/INU3004/INU3004_unit.bp b/units/INU3004/INU3004_unit.bp index ae882c86..770b5f6f 100644 --- a/units/INU3004/INU3004_unit.bp +++ b/units/INU3004/INU3004_unit.bp @@ -1,9 +1,10 @@ -- T3 heavy mobile artilery UnitBlueprint { - AI = { - GuardScanRadius = 90, - NeedUnpack = true, + Abilities = { + Anchor = { + Buff = 'AnchorModeImmobilizeAddRange', + }, }, Audio = { Activate = Sound { @@ -65,20 +66,17 @@ UnitBlueprint { AirThreatLevel = 0, ArmorType = 'Normal', EconomyThreatLevel = 0, - Health = 1600, - MaxHealth = 1600, + Health = 900, + MaxHealth = 900, RegenRate = 0, SubThreatLevel = 0, SurfaceThreatLevel = 24, }, Description = 'Mobile Heavy Artillery', Display = { - Abilities = { - 'Area bombardment', - 'Deploys', - 'Supported Artillery Gun', + Abilities = { + 'Anchor' }, - AnimationOpen = '/units/INU3004/INU3004_aunpack.sca', BuildEffect = { ExtendsFront = 0.27, ExtendsRear = 0.1, @@ -88,8 +86,13 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { + AlbedoName = '/units/INU3004/INU3004_Albedo.dds', + LODCutoff = 300, + MeshName = '/units/INU3004/INU3004_LOD0.scm', + NormalsName = '/units/INU3004/INU3004_normalsTS.dds', Scrolling = true, ShaderName = 'NomadsUnit', + SpecularName = '/units/INU3004/INU3004_SpecTeam.dds', }, }, }, @@ -130,9 +133,9 @@ UnitBlueprint { UniformScale = 0.16, }, Economy = { - BuildCostEnergy = 9600, - BuildCostMass = 960, - BuildTime = 5000, + BuildCostEnergy = 8000, + BuildCostMass = 800, + BuildTime = 4300, TeleportEnergyMod = 0.15, TeleportMassMod = 1, TeleportTimeMod = 0.01, @@ -157,14 +160,14 @@ UnitBlueprint { FactionName = 'Nomads', Icon = 'land', OrderOverrides = { - RULEUTC_WeaponToggle = { - bitmapId = 'toggle-bombardmode', - helpText = 'toggle_bombardmode', + RULEUTC_SpecialToggle = { + bitmapId = 'toggle-anchor', + helpText = 'toggle_anchor', }, }, TechLevel = 'RULEUTL_Secret', ToggleCaps = { - RULEUTC_WeaponToggle = true, + RULEUTC_SpecialToggle = true, }, UnitName = 'Mauler', UnitWeight = 1, @@ -227,7 +230,6 @@ UnitBlueprint { Weapon = { { AboveWaterTargetsOnly = true, - AimsStraightOnDisable = true, ArtilleryShieldBlocks = true, Audio = { Fire = Sound { @@ -237,10 +239,8 @@ UnitBlueprint { }, }, BallisticArc = 'RULEUBA_HighArc', - BombardParticipant = true, - BombardSwingTurret = false, CollideFriendly = false, - Damage = 500, --66dps // 100dps with bombardment + Damage = 500, DamageFriendly = true, DamageRadius = 5, DamageType = 'Normal', @@ -251,7 +251,7 @@ UnitBlueprint { FiringRandomness = 1.5, FiringTolerance = 1, Label = 'MainGun', - MaxRadius = 90, + MaxRadius = 80, MinRadius = 0, MuzzleSalvoDelay = 0, MuzzleSalvoSize = 1, @@ -303,11 +303,6 @@ UnitBlueprint { TurretYawSpeed = 35, Turreted = true, WeaponCategory = 'Artillery', - WeaponRepackTimeout = 0, - WeaponUnpackAnimation = '/units/INU3004/INU3004_aunpack.sca', - WeaponUnpackAnimationRate = 1.6, - WeaponUnpackLocksMotion = true, - WeaponUnpacks = true, }, }, Wreckage = { diff --git a/units/INU3008/INU3008_unit.bp b/units/INU3008/INU3008_unit.bp index de4f9ffc..ea494f7a 100644 --- a/units/INU3008/INU3008_unit.bp +++ b/units/INU3008/INU3008_unit.bp @@ -188,9 +188,11 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { - AlbedoName = '/units/INU3008/inu3008_Albedo.dds', + AlbedoName = '/units/INU3008/INU3008_Albedo.dds', LODCutoff = 215, MeshName = '/units/INU3008/INU3008_LOD0.scm', + NormalsName = '/units/INU3008/INU3008_normalsTS.dds', + Scrolling = true, ShaderName = 'NomadsUnit', SpecularName = '/units/INU3008/INU3008_SpecTeam.dds', }, @@ -237,15 +239,17 @@ UnitBlueprint { Economy = { BuildCostEnergy = 1000, BuildCostMass = 225, - BuildRate = 15, --19,5 with anchor + BuildRate = 17, BuildTime = 1000, BuildableCategory = { 'BUILTBYTIER2ENGINEER DEFENSE NOMADS', 'BUILTBYTIER2ENGINEER INDIRECTFIRE NOMADS', }, MaintenanceConsumptionPerSecondEnergy = 15, - MaxBuildDistance = 12.5, --from 10 + MaxBuildDistance = 10, NeedToFaceTargetToBuild = false, + StorageEnergy = 200, + StorageMass = 30, TeleportEnergyMod = 0.15, TeleportMassMod = 1, TeleportTimeMod = 0.01, diff --git a/units/INU3009/INU3009_unit.bp b/units/INU3009/INU3009_unit.bp index 34a11a13..d58e11b0 100644 --- a/units/INU3009/INU3009_unit.bp +++ b/units/INU3009/INU3009_unit.bp @@ -60,8 +60,8 @@ UnitBlueprint { AirThreatLevel = 0, ArmorType = 'Normal', EconomyThreatLevel = 0, - Health = 6500, - MaxHealth = 6500, + Health = 5000, + MaxHealth = 5000, RegenRate = 0, SubThreatLevel = 0, SurfaceThreatLevel = 18, @@ -79,8 +79,13 @@ UnitBlueprint { IconFadeInZoom = 130, LODs = { { + AlbedoName = '/units/INU3009/INU3009_Albedo.dds', + LODCutoff = 300, + MeshName = '/units/INU3009/INU3009_LOD0.scm', + NormalsName = '/units/INU3009/INU3009_normalsTS.dds', Scrolling = true, ShaderName = 'NomadsUnit', + SpecularName = '/units/INU3009/INU3009_SpecTeam.dds' }, }, }, @@ -269,7 +274,7 @@ UnitBlueprint { RackSalvoSize = 1, RackSlavedToTurret = false, RangeCategory = 'UWRC_DirectFire', - RateOfFire = 0.5, + RateOfFire = 0.4, TargetCheckInterval = 0.2, TargetPriorities = { 'SPECIALHIGHPRI', diff --git a/units/INU4001/INU4001_Script.lua b/units/INU4001/INU4001_Script.lua index 4df76491..1a2ed44f 100644 --- a/units/INU4001/INU4001_Script.lua +++ b/units/INU4001/INU4001_Script.lua @@ -7,7 +7,7 @@ local NomadsWeaponsFile = import('/lua/nomadsweapons.lua') local EMPMissileWeapon = NomadsWeaponsFile.EMPMissileWeapon local MissileWeapon1 = NomadsWeaponsFile.MissileWeapon1 local GattlingWeapon1 = NomadsWeaponsFile.GattlingWeapon1 -local TacticalMissileWeapon1 = NomadsWeaponsFile.TacticalMissileWeapon1 +local StrategicMissileWeapon = import('/lua/nomadsweapons.lua').StrategicMissileWeapon local ParticleBlaster1 = NomadsWeaponsFile.ParticleBlaster1 local explosion = import('/lua/defaultexplosions.lua') @@ -70,16 +70,16 @@ INU4001 = Class(NExperimentalHoverLandUnit, SlowHover) { return dist end, }, - TMLGun = Class(TacticalMissileWeapon1) { + NukeMissiles = Class(StrategicMissileWeapon) { OnCreate = function(self) - TacticalMissileWeapon1.OnCreate(self) + StrategicMissileWeapon.OnCreate(self) self.CurrentROF = self:GetBlueprint().RateOfFire or 1 end, OnWeaponFired = function(self) self.HatchThreadHandle = self:ForkThread( self.HandleHatchThread ) - TacticalMissileWeapon1.OnWeaponFired(self) + StrategicMissileWeapon.OnWeaponFired(self) end, HandleHatchThread = function(self) @@ -99,12 +99,12 @@ INU4001 = Class(NExperimentalHoverLandUnit, SlowHover) { ChangeRateOfFire = function(self, value) -- modified to store the rate of fire - TacticalMissileWeapon1.ChangeRateOfFire(self, value) + StrategicMissileWeapon.ChangeRateOfFire(self, value) self.CurrentROF = value end, SetWeaponEnabled = function(self, enable) - TacticalMissileWeapon1.SetWeaponEnabled(self, enable) + StrategicMissileWeapon.SetWeaponEnabled(self, enable) -- open or close the hatch based on whether we disable the weapon and make sure it stays that way by killing the -- hatch thread. @@ -171,19 +171,9 @@ INU4001 = Class(NExperimentalHoverLandUnit, SlowHover) { -- ANIMATIONS ===================== OpenTMLHatch = function(self) - -- plays the opening hatch anim - if self.HatchAnimManip and self:GetFractionComplete() >= 1 then -- only play anim if we're built - self.HatchAnimManip:SetRate(1) - return self.HatchAnimManip:GetAnimationTime() - end end, CloseTMLHatch = function(self) - -- plays the opening hatch anim - if self.HatchAnimManip then - self.HatchAnimManip:SetRate(-1) - return self.HatchAnimManip:GetAnimationTime() - end end, -- EFFECTS ===================== @@ -267,9 +257,14 @@ INU4001 = Class(NExperimentalHoverLandUnit, SlowHover) { -- We're not on water. Just explode a leave a wreck, no problemo self:DeathExplosionsThread( overkillRatio, instigator, true ) else - -- this should be more spectacular! - self:DeathExplosionsOnWaterThread( overkillRatio, instigator ) - NExperimentalHoverLandUnit.DeathThread( self, overkillRatio, instigator) + local WOFavailble = ( self.WOF_DoSink ~= nil) + if WOFavailble then + -- if WOF is available let it handle us sinking + NExperimentalHoverLandUnit.DeathThread( self, overkillRatio, instigator) + else + -- else, get killed on water and don't leave a corpse + self:DeathExplosionsOnWaterThread( overkillRatio, instigator ) + end end end, @@ -324,8 +319,9 @@ INU4001 = Class(NExperimentalHoverLandUnit, SlowHover) { -- create wreckage if leaveWreckage then self:CreateWreckage( overkillRatio ) - self:Destroy() end + + self:Destroy() end, DeathExplosionsOnWaterThread = function( self, overkillRatio, instigator) diff --git a/units/INU4001/INU4001_unit.bp b/units/INU4001/INU4001_unit.bp index 9fd1abdc..2a92e644 100644 --- a/units/INU4001/INU4001_unit.bp +++ b/units/INU4001/INU4001_unit.bp @@ -96,21 +96,25 @@ UnitBlueprint { 'NEEDMOBILEBUILD', 'OVERLAYANTIAIR', 'TRANSPORTABLEEXP', + 'NUKE', + 'SILO', + 'SHOWATTACKRETICLE', }, CollisionOffsetZ = -0.2, Defense = { AirThreatLevel = 40, ArmorType = 'Experimental', EconomyThreatLevel = 300, - Health = 40000, - MaxHealth = 40000, + Health = 20000, + MaxHealth = 20000, RegenRate = 20, SubThreatLevel = 0, SurfaceThreatLevel = 380, }, Description = 'Experimental Missile Tank', Display = { - Abilities = { + Abilities = { + 'Manual Launch', 'Anti-Air', 'Area bombardment', 'Deploys', @@ -300,8 +304,9 @@ UnitBlueprint { }, Economy = { BuildCostEnergy = 300000, - BuildCostMass = 24000, - BuildTime = 16000, + BuildCostMass = 16000, + BuildRate = 1080, + BuildTime = 40000, }, General = { Category = 'Experimental', @@ -312,12 +317,17 @@ UnitBlueprint { RULEUCC_Capture = false, RULEUCC_Guard = true, RULEUCC_Move = true, - RULEUCC_Nuke = false, + RULEUCC_Nuke = true, + RULEUCC_Pause = true, RULEUCC_Patrol = true, RULEUCC_Reclaim = false, RULEUCC_Repair = false, RULEUCC_RetaliateToggle = true, RULEUCC_Stop = true, + RULEUCC_SiloBuildNuke = true, + RULEUCC_SiloBuildTactical = false, + RULEUCC_Stop = true, + RULEUCC_Tactical = false, RULEUCC_Transport = false, }, FactionName = 'Nomads', @@ -357,9 +367,9 @@ UnitBlueprint { }, DragCoefficient = 0.2, Elevation = 0.5, - MaxAcceleration = 1.7, - MaxBrake = 1.7, - MaxSpeed = 1.7, + MaxAcceleration = 2.5, + MaxBrake = 2.5, + MaxSpeed = 2.5, MaxSpeedReverse = 1, MaxSteerForce = 3, MeshExtentsX = 8, --0.75, @@ -413,40 +423,75 @@ UnitBlueprint { }, AutoInitiateAttackCommand = false, BallisticArc = 'RULEUBA_None', - BombardParticipant = true, - CollideFriendly = false, - Damage = 500, - DamageFriendly = false, - DamageRadius = 3, - DamageType = 'Normal', - DisplayName = 'Tactical missile', + CollideFriendly = false, + CountedProjectile = true, + Damage = 0, + DamageType = 'BlackholeDamage', + DisplayName = 'Strategic missile', FireTargetLayerCapsTable = { Land = 'Land|Water|Seabed', Water = 'Land|Water|Seabed', }, - FiringTolerance = 180, - Label = 'TMLGun', - MaxRadius = 200, - MinRadius = 10, - MuzzleChargeDelay = 0, - MuzzleSalvoDelay = 0.3, - MuzzleSalvoSize = 12, - MuzzleVelocity = 3, - NotExclusive = true, - ProjectileId = '/projectiles/NTacticalMissile2/NTacticalMissile2_proj.bp', - ProjectileLifetime = 20, + FiringTolerance = 180, + InitialProjectileStorage = 0, + Label = 'NukeMissiles', + MaxProjectileStorage = 6, + ManualFire = 1, + MaxRadius = 410, + MinRadius = 100, + MuzzleSalvoDelay = 0, + MuzzleSalvoSize = 1, + MuzzleVelocity = 0, + NukeBlackHoleMinDuration = 5, + NukeBlackHoleFxLogo = true, + NukeBlackHoleFxScale = 1, + NukeInnerRingDamage = 40000, + NukeInnerRingRadius = 30, + NukeInnerRingTicks = 24, + NukeInnerRingTotalTime = 0, + NukeOuterRingDamage = 500, + NukeOuterRingRadius = 40, + NukeOuterRingTicks = 20, + NukeOuterRingTotalTime = 0, + NukeWeapon = true, + ProjectileId = '/projectiles/NStrategicMissile1/NStrategicMissile1_proj.bp', ProjectilesPerOnFire = 1, RackBones = { { MuzzleBones = { 'TML.001', + }, + RackBone = 'TML.001', + }, + { + MuzzleBones = { 'TML.002', + }, + RackBone = 'TML.002', + }, + { + MuzzleBones = { 'TML.003', + }, + RackBone = 'TML.003', + }, + { + MuzzleBones = { 'TML.004', + }, + RackBone = 'TML.004', + }, + { + MuzzleBones = { 'TML.005', + }, + RackBone = 'TML.005', + }, + { + MuzzleBones = { 'TML.006', }, - RackBone = 'TML.001', + RackBone = 'TML.006', }, }, RackRecoilDistance = 0, @@ -457,23 +502,12 @@ UnitBlueprint { RackSalvoSize = 1, RackSlavedToTurret = false, RangeCategory = 'UWRC_IndirectFire', - RateOfFire = 0.0833, + RateOfFire = 1, RenderFireClock = false, SlavedToBody = false, - TargetCheckInterval = 2, - TargetPriorities = { - 'SPECIALHIGHPRI', - 'EXPERIMENTAL', - 'SUBCOMMANDER', - 'STRUCTURE TECH3', - 'MOBILE TECH3', - 'STRUCTURE TECH2', - 'MOBILE TECH2', - 'STRUCTURE', - 'SPECIALLOWPRI', - 'ALLUNITS', - }, + TargetCheckInterval = 0,5, TargetRestrictDisallow = 'UNTARGETABLE', + TurretDualManipulators = false, TrackingRadius = 1, TurretPitch = 0, TurretPitchRange = 0, diff --git a/units/INU4002/INU4002_unit.bp b/units/INU4002/INU4002_unit.bp index 6d1d6309..9bda45f3 100644 --- a/units/INU4002/INU4002_unit.bp +++ b/units/INU4002/INU4002_unit.bp @@ -279,7 +279,7 @@ UnitBlueprint { Economy = { BuildCostEnergy = 380000, BuildCostMass = 30000, - BuildTime = 22000, + BuildTime = 50000, }, General = { Category = 'Experimental', @@ -387,16 +387,19 @@ UnitBlueprint { BombardParticipant = true, BombardSwingTurret = false, CollideFriendly = false, - Damage = 2250, --1500dps/2250dps with bombard + Damage = 30, DamageRadius = 2, DamageType = 'Normal', - DisplayName = 'Plasma cannon', + DisplayName = 'Energy Cannon', + DoTPulses = 10, + DoTTime = 2, FireTargetLayerCapsTable = { Land = 'Land|Water|Seabed', Water = 'Land|Water|Seabed', }, - FiringRandomness = 0.25, - FiringTolerance = 2, + FiringRandomness = 0.3, + FiringTolerance = 2, + InitialDamage = 1200, Label = 'MainGun', MaxRadius = 65, MinRadius = 8, @@ -404,8 +407,8 @@ UnitBlueprint { MuzzleSalvoSize = 2, MuzzleVelocity = 50, NotExclusive = true, - ProjectileId = '/projectiles/NPlasmaProj1/NPlasmaProj1_proj.bp', - ProjectilesPerOnFire = 1, + ProjectileId = '/projectiles/NEnergyProj2/NEnergyProj2_proj.bp', + ProjectilesPerOnFire = 2, RackBones = { { MuzzleBones = { @@ -427,7 +430,7 @@ UnitBlueprint { RackSalvoReloadTime = 0, RackSalvoSize = 1, RangeCategory = 'UWRC_DirectFire', - RateOfFire = 0.333, + RateOfFire = 0.5, TargetCheckInterval = 1, TargetPriorities = { 'SPECIALHIGHPRI',