Skip to content

Commit

Permalink
Version 68
Browse files Browse the repository at this point in the history
Merge pull request #312 from Nomads-Project/develop
  • Loading branch information
CookieNoob authored Aug 12, 2017
2 parents a2bb4e0 + 919dd3c commit 5c7709c
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
12 changes: 6 additions & 6 deletions lua/AI/PlatoonTemplates/EngineerPlatoonTemplates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ PlatoonTemplate {
Name = 'T2EngineerBuilder',
Plan = 'EngineerBuildAI',
GlobalSquads = {
{ categories.ENGINEER * categories.TECH2 - categories.FIELDENGINEER, 1, 1, 'support', 'None' }
{ categories.ENGINEER * categories.TECH2 - categories.FIELDENGINEER - categories.ENGINEERSTATION, 1, 1, 'support', 'None' }
},
}

PlatoonTemplate {
Name = 'T2EngineerTransfer',
Plan = 'TransferAI',
GlobalSquads = {
{ categories.ENGINEER * categories.TECH2 - categories.FIELDENGINEER, 1, 1, 'support', 'none' },
{ categories.ENGINEER * categories.TECH2 - categories.FIELDENGINEER - categories.ENGINEERSTATION, 1, 1, 'support', 'none' },
},
}

Expand All @@ -84,7 +84,7 @@ PlatoonTemplate {
Name = 'CybranT2EngineerBuilder',
Plan = 'EngineerBuildAI',
GlobalSquads = {
{ categories.CYBRAN * categories.ENGINEER * categories.TECH2, 1, 1, 'support', 'None' }
{ categories.CYBRAN * categories.ENGINEER * categories.TECH2 - categories.ENGINEERSTATION, 1, 1, 'support', 'None' }
},
}

Expand All @@ -108,7 +108,7 @@ PlatoonTemplate {
Name = 'T3EngineerTransfer',
Plan = 'TransferAI',
GlobalSquads = {
{ categories.ENGINEER * categories.TECH3, 1, 1, 'support', 'none' },
{ categories.ENGINEER * categories.TECH3 - categories.ENGINEERSTATION, 1, 1, 'support', 'none' },
},
}

Expand All @@ -132,7 +132,7 @@ PlatoonTemplate {
Name = 'CybranT3EngineerBuilder',
Plan = 'EngineerBuildAI',
GlobalSquads = {
{ categories.CYBRAN * categories.ENGINEER * ( categories.TECH3 + categories.SUBCOMMANDER ), 1, 1, 'support', 'None' }
{ categories.CYBRAN * categories.ENGINEER * ( categories.TECH3 + categories.SUBCOMMANDER ) - categories.ENGINEERSTATION, 1, 1, 'support', 'None' }
},
}

Expand Down Expand Up @@ -207,4 +207,4 @@ PlatoonTemplate {
{ 'inu2001', 1, 1, 'support', 'None' }
},
}
}
}
4 changes: 2 additions & 2 deletions mod_info.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name = "nomads"
version = 67
version = 68
copyright = "brute51"
description = "adds a new faction to the game"
author = "CookieNoob, Exotic_Retard, Brute51, original nomads team"
uid = "50423624-1e83-4fc2-85b3-nomadsv00067"
uid = "50423624-1e83-4fc2-85b3-nomadsv00068"
url = ""
icon = ""
identifier = ""
Expand Down
1 change: 1 addition & 0 deletions nomadhook/lua/keymap/unitkeygroups.lua
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ unitkeygroups = {

["Arties"] = {
"Artillery_Installation",
"inb3303", --Nomads t3 missile artillery
"Heavy_Artillery_Installation",

"T3_Strategic_Bomber",
Expand Down
9 changes: 4 additions & 5 deletions units/INA0001/INA0001_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,16 @@ UnitBlueprint {
Description = '<LOC ina0001_desc>Meteor Dropship',
Display = {
AnimationOpen = '/units/INA0001/INA0001_AOpen.sca',
AnimationSink = '/units/INA0001/INA0001_ASink.sca',
Mesh = {
IconFadeInZoom = 2000,
LODs = {
{
AlbedoName = '/Units/INA0001/INA0001_Albedo.dds',
AlbedoName = '/units/INA0001/INA0001_Albedo.dds',
LODCutoff = 215,
MeshName = '/Units/INA0001/INA0001_LOD0.scm',
NormalsName = '/UNITS/INA0001/INA0001_NormalsTS.dds',
MeshName = '/units/INA0001/INA0001_Lod0.scm',
NormalsName = '/units/INA0001/INA0001_normalsTS.dds',
ShaderName = 'NomadsUnit',
SpecularName = '/Units/INA0001/INA0001_SpecTeam.dds',
SpecularName = '/units/INA0001/INA0001_SpecTeam.dds',
},
},
},
Expand Down
7 changes: 6 additions & 1 deletion units/INB2302/INB2302_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,13 @@ INB2302 = Class(NStructureUnit) {
self:ForkThread( self.WatchFireState )
end,

--oldRoF = 0.05,
OnArtilleryUnitFired = function(self)
-- called each time the gun fires a projectile
if self.oldRoF ~= self:GetWeaponByLabel('TargetFinder').RateOfFire then
self.oldRoF = self:GetWeaponByLabel('TargetFinder').RateOfFire
self.ArtilleryUnit:GetWeaponByLabel('MainGun'):ChangeRateOfFire(self.oldRoF)
end
end,

OnArtilleryUnitKilledUnit = function(self, unitKilled)
Expand Down Expand Up @@ -177,4 +182,4 @@ INB2302 = Class(NStructureUnit) {
end,
}

TypeClass = INB2302
TypeClass = INB2302
5 changes: 0 additions & 5 deletions units/INO0001/INO0001_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ UnitBlueprint {
Mesh = {
IconFadeInZoom = 130,
LODs = {
{
LODCutoff = 10000,
Scrolling = true,
ShaderName = 'NomadsUnit',
},
{
LODCutoff = 10000,
ShaderName = 'NomadsUnit',
Expand Down

0 comments on commit 5c7709c

Please sign in to comment.