From 714773a5e40eced1a4c435b6a16a2ec6b44fcef8 Mon Sep 17 00:00:00 2001 From: CookieNoob Date: Tue, 14 Feb 2017 21:35:31 +0100 Subject: [PATCH 1/3] remove useless code from init file (#156) --- init_nomads.lua | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/init_nomads.lua b/init_nomads.lua index b37a01f9..201a4b2e 100644 --- a/init_nomads.lua +++ b/init_nomads.lua @@ -1,21 +1,3 @@ -################################################################################################# -## VARIABLES -################################################################################################# - -# Edit these where needed. - -# Where can the uncompressed nomads files be found? Specify full path, with drive letter. Escape each \ with another \ . So for -# each \ in the path there should be 2. Example: C:\\games\\Nomads mod\\files -local DevPath = '' - -# Nomads datafile name + extension (in case we're not using DevPath) -local File = 'nomads.nmd' - -################################################################################################# -## DO NOT EDIT -################################################################################################# - -# Some functions local function mount_dir(dir, mountpoint) table.insert(path, { dir = dir, mountpoint = mountpoint }) end @@ -41,8 +23,6 @@ local function clear_cache() end end -######## - # Start, do original datapath file dofile(InitFileDir..'\\SupComDataPath.lua') # Add our own hook to the list. Used to make our files overwrite existing files to ensure flawless operation. @@ -57,7 +37,7 @@ clear_cache() # there are issues). local oldPath = path path = {} -mount_dir(InitFileDir..'\\..\\gamedata\\'..File, '/') +mount_dir(InitFileDir..'\\..\\gamedata\\nomads.nmd', '/') mount_dir(InitFileDir..'\\..\\movies', '/') for k, v in oldPath do From e4e853d809f2312dc03b9ac2a61b3c247d141a35 Mon Sep 17 00:00:00 2001 From: CookieNoob Date: Tue, 14 Feb 2017 21:47:50 +0100 Subject: [PATCH 2/3] change init file to allow better update support for pieces of the mod now all folders of nomads need to be zipped separately. reduces the amount of data that is send when nomads is updated. (not all files are changed) --- init_nomads.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/init_nomads.lua b/init_nomads.lua index 201a4b2e..3c0a7072 100644 --- a/init_nomads.lua +++ b/init_nomads.lua @@ -37,8 +37,17 @@ clear_cache() # there are issues). local oldPath = path path = {} -mount_dir(InitFileDir..'\\..\\gamedata\\nomads.nmd', '/') mount_dir(InitFileDir..'\\..\\movies', '/') +mount_dir(InitFileDir..'\\..\\gamedata\\units.nmd', '/') +mount_dir(InitFileDir..'\\..\\gamedata\\textures.nmd', '/') +mount_dir(InitFileDir..'\\..\\gamedata\\sounds.nmd', '/') +mount_dir(InitFileDir..'\\..\\gamedata\\effects.nmd', '/') +mount_dir(InitFileDir..'\\..\\gamedata\\env.nmd', '/') +mount_dir(InitFileDir..'\\..\\gamedata\\nomadhook.nmd', '/') +mount_dir(InitFileDir..'\\..\\gamedata\\lua.nmd', '/') +mount_dir(InitFileDir..'\\..\\gamedata\\projectiles.nmd', '/') +mount_dir(InitFileDir..'\\..\\gamedata\\nomads.nmd', '/') +mount_dir(InitFileDir..'\\..\\gamedata\\loc.nmd', '/') for k, v in oldPath do table.insert(path, v) From 3f3aedc90574a578bf5397473a2472dd9e334d26 Mon Sep 17 00:00:00 2001 From: CookieNoob Date: Wed, 15 Feb 2017 00:37:47 +0100 Subject: [PATCH 3/3] last minute balance changes and t3 arty fix --- units/INB3303/INB3303_unit.bp | 2 +- units/INO2302/INO2302_unit.bp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/units/INB3303/INB3303_unit.bp b/units/INB3303/INB3303_unit.bp index f7e15f87..28e1ebcf 100644 --- a/units/INB3303/INB3303_unit.bp +++ b/units/INB3303/INB3303_unit.bp @@ -189,7 +189,7 @@ UnitBlueprint { }, BallisticArc = 'RULEUBA_HighArc', CollideFriendly = false, - Damage = 675, + Damage = 1000, DamageFriendly = false, DamageRadius = 2, DamageType = 'Normal', diff --git a/units/INO2302/INO2302_unit.bp b/units/INO2302/INO2302_unit.bp index da885291..2d90cc78 100644 --- a/units/INO2302/INO2302_unit.bp +++ b/units/INO2302/INO2302_unit.bp @@ -198,7 +198,7 @@ UnitBlueprint { RangeCategory = 'UWRC_IndirectFire', RateOfFire = 0.08, RenderFireClock = true, - TargetCheckInterval = 50000, + TargetCheckInterval = 40, TargetPriorities = { 'SPECIALHIGHPRI', 'SPECIALLOWPRI',