mirror of
https://github.com/veden/Rampant.git
synced 2026-06-19 22:15:20 +02:00
updated smoke, and added variations properties
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Rampant Tactics
|
# Rampant Tactics
|
||||||
Factorio Mod - Improves the enemies tactics by using potential fields/pheromones allowing probing of defenses, retreats, reinforcements, counterattacking, breaching, rallying death cry, and player hunting. Also removes homing biter projectiles. Difficulty setting in mod options menu.
|
Factorio Mod - Improves the enemies tactics by using potential fields/pheromones allowing probing of defenses, retreats, reinforcements, counterattacking, breaching, rallying death cry, and player hunting. Also removes homing biter projectiles. Adds new Enemies. Difficulty setting in mod options menu.
|
||||||
|
|
||||||
# Forum Post
|
# Forum Post
|
||||||
|
|
||||||
@@ -26,6 +26,7 @@ Configure Options not in game menu:
|
|||||||
|
|
||||||
# Features
|
# Features
|
||||||
|
|
||||||
|
- New Enemy Factions - Neutral, Acid, Fast, Physical, Electric, Inferno, Suicide, Fire, Nuclear, Laser, Troll
|
||||||
- Swarming - Units will smoothly slide by one another allowing for streamlined attacking
|
- Swarming - Units will smoothly slide by one another allowing for streamlined attacking
|
||||||
- Difficulty Scaling - A mod option to control how quickly the ai can perform actions like making attack waves.
|
- Difficulty Scaling - A mod option to control how quickly the ai can perform actions like making attack waves.
|
||||||
- Nocturnal Mode - A mod option to force biters to only attack at night. Does not yet affect vanilla attacks. Best use with daynight extender mod
|
- Nocturnal Mode - A mod option to force biters to only attack at night. Does not yet affect vanilla attacks. Best use with daynight extender mod
|
||||||
@@ -49,14 +50,13 @@ Configure Options not in game menu:
|
|||||||
# Planned Features
|
# Planned Features
|
||||||
|
|
||||||
- Tunneling Biters
|
- Tunneling Biters
|
||||||
- Fire Biters
|
|
||||||
- Suicide Biters
|
|
||||||
- Infesting Biters
|
- Infesting Biters
|
||||||
- Adaptive aliens
|
|
||||||
- Base Expansion
|
- Base Expansion
|
||||||
|
|
||||||
# Version History
|
# Version History
|
||||||
|
|
||||||
|
New updates appear in the changelog now
|
||||||
|
|
||||||
0.15.24 -
|
0.15.24 -
|
||||||
- Feature: Swarming - by reducing the unit collision_mask to 40% of its original size the units no longer have the pathing issues that plagued large groups attacking
|
- Feature: Swarming - by reducing the unit collision_mask to 40% of its original size the units no longer have the pathing issues that plagued large groups attacking
|
||||||
- Optimization: further reduced memory footprint for faster saving and loading
|
- Optimization: further reduced memory footprint for faster saving and loading
|
||||||
|
|||||||
@@ -184,6 +184,11 @@ function upgrade.attempt(natives)
|
|||||||
game.surfaces[1].print("Rampant - Version 0.16.6")
|
game.surfaces[1].print("Rampant - Version 0.16.6")
|
||||||
global.version = constants.VERSION_41
|
global.version = constants.VERSION_41
|
||||||
end
|
end
|
||||||
|
if (global.version < constants.VERSION_42) then
|
||||||
|
|
||||||
|
game.surfaces[1].print("Rampant - Version 0.16.7")
|
||||||
|
global.version = constants.VERSION_42
|
||||||
|
end
|
||||||
|
|
||||||
return starting ~= global.version, natives
|
return starting ~= global.version, natives
|
||||||
end
|
end
|
||||||
|
|||||||
+10
-1
@@ -1,6 +1,15 @@
|
|||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 0.16.7
|
||||||
|
Date: 1. 26. 2018
|
||||||
|
Improvements:
|
||||||
|
- Reduced the number of trivial smoke created to 4 from ~20
|
||||||
|
Tweaks:
|
||||||
|
- Turned off new enemies by default
|
||||||
|
- Set default number of enemy variations per tier to 1
|
||||||
|
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.16.6
|
Version: 0.16.6
|
||||||
Date: 1. 23. 2018
|
Date: 1. 25. 2018
|
||||||
Features:
|
Features:
|
||||||
- Generated enemies for a large varity of things to battle
|
- Generated enemies for a large varity of things to battle
|
||||||
- Evolving bases now get stronger over time and specialize their units
|
- Evolving bases now get stronger over time and specialize their units
|
||||||
|
|||||||
@@ -1,4 +1,24 @@
|
|||||||
|
-- import
|
||||||
|
|
||||||
local acidBall = require("prototypes/utils/AttackBall")
|
local acidBall = require("prototypes/utils/AttackBall")
|
||||||
|
local colorUtils = require("prototypes/utils/ColorUtils")
|
||||||
|
local smokeUtils = require("SmokeUtils")
|
||||||
|
|
||||||
|
-- imported functions
|
||||||
|
|
||||||
|
local makeSmokeSoft = smokeUtils.makeSmokeSoft
|
||||||
|
local makeSmokeWithGlow = smokeUtils.makeSmokeWithGlow
|
||||||
|
local makeSmokeWithoutGlow = smokeUtils.makeSmokeWithoutGlow
|
||||||
|
local makeSmokeAddingFuel = smokeUtils.makeSmokeAddingFuel
|
||||||
|
|
||||||
|
local makeColor = colorUtils.makeColor
|
||||||
|
|
||||||
|
-- module code
|
||||||
|
|
||||||
|
makeSmokeSoft({name="the", softSmokeTint=makeColor(0.3, 0.75, 0.3, 0.1)})
|
||||||
|
makeSmokeWithGlow({name="the", smokeWithGlowTint=makeColor(0.3, 0.75, 0.3, 0.1)})
|
||||||
|
makeSmokeWithoutGlow({name="the", smokeWithoutGlowTint=makeColor(0.3, 0.75, 0.3, 0.1)})
|
||||||
|
makeSmokeAddingFuel({name="the"})
|
||||||
|
|
||||||
if settings.startup["rampant-useDumbProjectiles"].value then
|
if settings.startup["rampant-useDumbProjectiles"].value then
|
||||||
acidBall.generateLegacy()
|
acidBall.generateLegacy()
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name" : "Rampant",
|
"name" : "Rampant",
|
||||||
"factorio_version" : "0.16",
|
"factorio_version" : "0.16",
|
||||||
"version" : "0.16.6",
|
"version" : "0.16.7",
|
||||||
"title" : "Rampant",
|
"title" : "Rampant",
|
||||||
"author" : "Veden",
|
"author" : "Veden",
|
||||||
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",
|
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",
|
||||||
"description" : "Improves the enemies tactics by using potential fields/pheromones allowing probing of defenses, retreats, reinforcements, counterattacking, breaching, rallying death cry, and player hunting. Also removes homing biter projectiles. Difficulty setting in mod options menu.",
|
"description" : "Improves the enemies tactics by using potential fields/pheromones allowing probing of defenses, retreats, reinforcements, counterattacking, breaching, rallying death cry, and player hunting. Also removes homing biter projectiles. Adds new Enemies. Difficulty setting in mod options menu.",
|
||||||
"dependencies" : ["base >= 0.16.0", "? bobenemies", "? Natural_Evolution_Enemies", "? DayNightExtender", "? Orbital Ion Cannon"]
|
"dependencies" : ["base >= 0.16.0", "? bobenemies", "? Natural_Evolution_Enemies", "? DayNightExtender", "? Orbital Ion Cannon"]
|
||||||
}
|
}
|
||||||
|
|||||||
+64
-60
@@ -18,6 +18,7 @@ constants.VERSION_28 = 28
|
|||||||
constants.VERSION_33 = 33
|
constants.VERSION_33 = 33
|
||||||
constants.VERSION_38 = 38
|
constants.VERSION_38 = 38
|
||||||
constants.VERSION_41 = 41
|
constants.VERSION_41 = 41
|
||||||
|
constants.VERSION_42 = 42
|
||||||
|
|
||||||
-- misc
|
-- misc
|
||||||
|
|
||||||
@@ -311,79 +312,82 @@ constants.SENTINEL_IMPASSABLE_CHUNK.y = -1
|
|||||||
|
|
||||||
-- unit spawners
|
-- unit spawners
|
||||||
|
|
||||||
constants.NEUTRAL_NEST_TIERS = 10
|
local variations = settings.startup["rampant-newEnemyVariations"].value
|
||||||
constants.NEUTRAL_NEST_VARIATIONS = 20
|
local tiers = settings.startup["rampant-newEnemyTiers"].value
|
||||||
constants.NEUTRAL_WORM_TIERS = 10
|
|
||||||
constants.NEUTRAL_WORM_VARIATIONS = 20
|
|
||||||
|
|
||||||
constants.ACID_NEST_TIERS = 10
|
constants.NEUTRAL_NEST_TIERS = tiers
|
||||||
constants.ACID_NEST_VARIATIONS = 20
|
constants.NEUTRAL_NEST_VARIATIONS = variations
|
||||||
constants.ACID_WORM_TIERS = 10
|
constants.NEUTRAL_WORM_TIERS = tiers
|
||||||
constants.ACID_WORM_VARIATIONS = 20
|
constants.NEUTRAL_WORM_VARIATIONS = variations
|
||||||
|
|
||||||
constants.FIRE_NEST_TIERS = 10
|
constants.ACID_NEST_TIERS = tiers
|
||||||
constants.FIRE_NEST_VARIATIONS = 20
|
constants.ACID_NEST_VARIATIONS = variations
|
||||||
constants.FIRE_WORM_TIERS = 10
|
constants.ACID_WORM_TIERS = tiers
|
||||||
constants.FIRE_WORM_VARIATIONS = 20
|
constants.ACID_WORM_VARIATIONS = variations
|
||||||
|
|
||||||
constants.PHYSICAL_NEST_TIERS = 10
|
constants.FIRE_NEST_TIERS = tiers
|
||||||
constants.PHYSICAL_NEST_VARIATIONS = 20
|
constants.FIRE_NEST_VARIATIONS = variations
|
||||||
constants.PHYSICAL_WORM_TIERS = 10
|
constants.FIRE_WORM_TIERS = tiers
|
||||||
constants.PHYSICAL_WORM_VARIATIONS = 20
|
constants.FIRE_WORM_VARIATIONS = variations
|
||||||
|
|
||||||
constants.TROLL_NEST_TIERS = 10
|
constants.PHYSICAL_NEST_TIERS = tiers
|
||||||
constants.TROLL_NEST_VARIATIONS = 20
|
constants.PHYSICAL_NEST_VARIATIONS = variations
|
||||||
constants.TROLL_WORM_TIERS = 10
|
constants.PHYSICAL_WORM_TIERS = tiers
|
||||||
constants.TROLL_WORM_VARIATIONS = 20
|
constants.PHYSICAL_WORM_VARIATIONS = variations
|
||||||
|
|
||||||
constants.FAST_NEST_TIERS = 10
|
constants.TROLL_NEST_TIERS = tiers
|
||||||
constants.FAST_NEST_VARIATIONS = 20
|
constants.TROLL_NEST_VARIATIONS = variations
|
||||||
constants.FAST_WORM_TIERS = 10
|
constants.TROLL_WORM_TIERS = tiers
|
||||||
constants.FAST_WORM_VARIATIONS = 20
|
constants.TROLL_WORM_VARIATIONS = variations
|
||||||
|
|
||||||
constants.SUICIDE_NEST_TIERS = 10
|
constants.FAST_NEST_TIERS = tiers
|
||||||
constants.SUICIDE_NEST_VARIATIONS = 20
|
constants.FAST_NEST_VARIATIONS = variations
|
||||||
constants.SUICIDE_WORM_TIERS = 10
|
constants.FAST_WORM_TIERS = tiers
|
||||||
constants.SUICIDE_WORM_VARIATIONS = 20
|
constants.FAST_WORM_VARIATIONS = variations
|
||||||
|
|
||||||
constants.WASP_NEST_TIERS = 10
|
constants.SUICIDE_NEST_TIERS = tiers
|
||||||
constants.WASP_NEST_VARIATIONS = 20
|
constants.SUICIDE_NEST_VARIATIONS = variations
|
||||||
constants.WASP_WORM_TIERS = 10
|
constants.SUICIDE_WORM_TIERS = tiers
|
||||||
constants.WASP_WORM_VARIATIONS = 20
|
constants.SUICIDE_WORM_VARIATIONS = variations
|
||||||
|
|
||||||
constants.POISON_NEST_TIERS = 10
|
constants.WASP_NEST_TIERS = tiers
|
||||||
constants.POISON_NEST_VARIATIONS = 20
|
constants.WASP_NEST_VARIATIONS = variations
|
||||||
constants.POISON_WORM_TIERS = 10
|
constants.WASP_WORM_TIERS = tiers
|
||||||
constants.POISON_WORM_VARIATIONS = 20
|
constants.WASP_WORM_VARIATIONS = variations
|
||||||
|
|
||||||
constants.DECAYING_NEST_TIERS = 10
|
constants.POISON_NEST_TIERS = tiers
|
||||||
constants.DECAYING_NEST_VARIATIONS = 20
|
constants.POISON_NEST_VARIATIONS = variations
|
||||||
constants.DECAYING_WORM_TIERS = 10
|
constants.POISON_WORM_TIERS = tiers
|
||||||
constants.DECAYING_WORM_VARIATIONS = 20
|
constants.POISON_WORM_VARIATIONS = variations
|
||||||
|
|
||||||
constants.UNDYING_NEST_TIERS = 10
|
constants.DECAYING_NEST_TIERS = tiers
|
||||||
constants.UNDYING_NEST_VARIATIONS = 20
|
constants.DECAYING_NEST_VARIATIONS = variations
|
||||||
constants.UNDYING_WORM_TIERS = 10
|
constants.DECAYING_WORM_TIERS = tiers
|
||||||
constants.UNDYING_WORM_VARIATIONS = 20
|
constants.DECAYING_WORM_VARIATIONS = variations
|
||||||
|
|
||||||
constants.ELECTRIC_NEST_TIERS = 10
|
constants.UNDYING_NEST_TIERS = tiers
|
||||||
constants.ELECTRIC_NEST_VARIATIONS = 20
|
constants.UNDYING_NEST_VARIATIONS = variations
|
||||||
constants.ELECTRIC_WORM_TIERS = 10
|
constants.UNDYING_WORM_TIERS = tiers
|
||||||
constants.ELECTRIC_WORM_VARIATIONS = 20
|
constants.UNDYING_WORM_VARIATIONS = variations
|
||||||
|
|
||||||
constants.LASER_NEST_TIERS = 10
|
constants.ELECTRIC_NEST_TIERS = tiers
|
||||||
constants.LASER_NEST_VARIATIONS = 20
|
constants.ELECTRIC_NEST_VARIATIONS = variations
|
||||||
constants.LASER_WORM_TIERS = 10
|
constants.ELECTRIC_WORM_TIERS = tiers
|
||||||
constants.LASER_WORM_VARIATIONS = 20
|
constants.ELECTRIC_WORM_VARIATIONS = variations
|
||||||
|
|
||||||
constants.INFERNO_NEST_TIERS = 10
|
constants.LASER_NEST_TIERS = tiers
|
||||||
constants.INFERNO_NEST_VARIATIONS = 20
|
constants.LASER_NEST_VARIATIONS = variations
|
||||||
constants.INFERNO_WORM_TIERS = 10
|
constants.LASER_WORM_TIERS = tiers
|
||||||
constants.INFERNO_WORM_VARIATIONS = 20
|
constants.LASER_WORM_VARIATIONS = variations
|
||||||
|
|
||||||
constants.NUCLEAR_NEST_TIERS = 10
|
constants.INFERNO_NEST_TIERS = tiers
|
||||||
constants.NUCLEAR_NEST_VARIATIONS = 20
|
constants.INFERNO_NEST_VARIATIONS = variations
|
||||||
constants.NUCLEAR_WORM_TIERS = 10
|
constants.INFERNO_WORM_TIERS = tiers
|
||||||
constants.NUCLEAR_WORM_VARIATIONS = 20
|
constants.INFERNO_WORM_VARIATIONS = variations
|
||||||
|
|
||||||
|
constants.NUCLEAR_NEST_TIERS = tiers
|
||||||
|
constants.NUCLEAR_NEST_VARIATIONS = variations
|
||||||
|
constants.NUCLEAR_WORM_TIERS = tiers
|
||||||
|
constants.NUCLEAR_WORM_VARIATIONS = variations
|
||||||
|
|
||||||
return constants
|
return constants
|
||||||
|
|||||||
@@ -9030,6 +9030,7 @@ rampant-enableSwarm=Enable the swarm
|
|||||||
rampant-newEnemies=Enable new enemies
|
rampant-newEnemies=Enable new enemies
|
||||||
rampant-enemySeed=Enemy Random Seed
|
rampant-enemySeed=Enemy Random Seed
|
||||||
rampant-deadZoneFrequency=Enemy deadzone frequency
|
rampant-deadZoneFrequency=Enemy deadzone frequency
|
||||||
|
rampant-newEnemyVariations=Enemy Variations
|
||||||
|
|
||||||
[mod-setting-description]
|
[mod-setting-description]
|
||||||
rampant-useDumbProjectiles=Turns off homing projectiles for worms and spitters
|
rampant-useDumbProjectiles=Turns off homing projectiles for worms and spitters
|
||||||
@@ -9058,4 +9059,5 @@ rampant-enableSwarm=This reduces the size of the unit collision_mask causing the
|
|||||||
rampant-attack-warning=Shows a message warning players that an attack wave is incoming
|
rampant-attack-warning=Shows a message warning players that an attack wave is incoming
|
||||||
rampant-newEnemies=Adds news enemies that will be dispersed over the world
|
rampant-newEnemies=Adds news enemies that will be dispersed over the world
|
||||||
rampant-enemySeed=The seed that powers all of the unit generation, so change this if you want the enemy stats to change
|
rampant-enemySeed=The seed that powers all of the unit generation, so change this if you want the enemy stats to change
|
||||||
rampant-deadZoneFrequency=The percentage of zones that start out with worms or nests
|
rampant-deadZoneFrequency=The percentage of zones that start out with worms or nests
|
||||||
|
rampant-newEnemyVariations=This number corresponds to the number of variations per tier of of each unit, unit spawner, and worm types. This increases the RAM requirements minimum 2GB to 8GB.
|
||||||
+3
-9
@@ -2,9 +2,7 @@
|
|||||||
|
|
||||||
local acidBall = require("utils/AttackBall")
|
local acidBall = require("utils/AttackBall")
|
||||||
local biterUtils = require("utils/BiterUtils")
|
local biterUtils = require("utils/BiterUtils")
|
||||||
local smokeUtils = require("utils/SmokeUtils")
|
|
||||||
local swarmUtils = require("SwarmUtils")
|
local swarmUtils = require("SwarmUtils")
|
||||||
local colorUtils = require("utils/ColorUtils")
|
|
||||||
package.path = "../libs/?.lua;" .. package.path
|
package.path = "../libs/?.lua;" .. package.path
|
||||||
local constants = require("Constants")
|
local constants = require("Constants")
|
||||||
|
|
||||||
@@ -18,17 +16,13 @@ local ACID_WORM_VARIATIONS = constants.ACID_WORM_VARIATIONS
|
|||||||
|
|
||||||
-- imported functions
|
-- imported functions
|
||||||
|
|
||||||
local makeColor = colorUtils.makeColor
|
|
||||||
|
|
||||||
local makeSmokeSoft = smokeUtils.makeSmokeSoft
|
|
||||||
|
|
||||||
local buildUnitSpawner = swarmUtils.buildUnitSpawner
|
local buildUnitSpawner = swarmUtils.buildUnitSpawner
|
||||||
local buildWorm = swarmUtils.buildWorm
|
local buildWorm = swarmUtils.buildWorm
|
||||||
local createAttackBall = acidBall.createAttackBall
|
local createAttackBall = acidBall.createAttackBall
|
||||||
local createStreamAttack = biterUtils.createStreamAttack
|
local createStreamAttack = biterUtils.createStreamAttack
|
||||||
local createMeleeAttack = biterUtils.createMeleeAttack
|
local createMeleeAttack = biterUtils.createMeleeAttack
|
||||||
|
|
||||||
makeSmokeSoft({name="acid", softSmokeTint=makeColor(0.3, 0.75, 0.3, 0.1)})
|
local softSmoke = "the-soft-smoke-rampant"
|
||||||
|
|
||||||
-- acid biters
|
-- acid biters
|
||||||
buildUnitSpawner(
|
buildUnitSpawner(
|
||||||
@@ -568,7 +562,7 @@ buildUnitSpawner(
|
|||||||
explosion = "blood-explosion-small"
|
explosion = "blood-explosion-small"
|
||||||
},
|
},
|
||||||
attack = {
|
attack = {
|
||||||
softSmokeName = "acid-soft-smoke-rampant"
|
softSmokeName = softSmoke
|
||||||
},
|
},
|
||||||
resistances = {},
|
resistances = {},
|
||||||
|
|
||||||
@@ -1184,7 +1178,7 @@ buildWorm(
|
|||||||
|
|
||||||
attributes = {},
|
attributes = {},
|
||||||
attack = {
|
attack = {
|
||||||
softSmokeName = "acid-soft-smoke-rampant"
|
softSmokeName = softSmoke
|
||||||
},
|
},
|
||||||
resistances = {},
|
resistances = {},
|
||||||
|
|
||||||
|
|||||||
+3
-9
@@ -2,9 +2,7 @@
|
|||||||
|
|
||||||
local acidBall = require("utils/AttackBall")
|
local acidBall = require("utils/AttackBall")
|
||||||
local biterUtils = require("utils/BiterUtils")
|
local biterUtils = require("utils/BiterUtils")
|
||||||
local smokeUtils = require("utils/SmokeUtils")
|
|
||||||
local swarmUtils = require("SwarmUtils")
|
local swarmUtils = require("SwarmUtils")
|
||||||
local colorUtils = require("utils/ColorUtils")
|
|
||||||
package.path = "../libs/?.lua;" .. package.path
|
package.path = "../libs/?.lua;" .. package.path
|
||||||
local constants = require("Constants")
|
local constants = require("Constants")
|
||||||
|
|
||||||
@@ -18,17 +16,13 @@ local FAST_WORM_VARIATIONS = constants.FAST_WORM_VARIATIONS
|
|||||||
|
|
||||||
-- imported functions
|
-- imported functions
|
||||||
|
|
||||||
local makeColor = colorUtils.makeColor
|
|
||||||
|
|
||||||
local makeSmokeSoft = smokeUtils.makeSmokeSoft
|
|
||||||
|
|
||||||
local buildUnitSpawner = swarmUtils.buildUnitSpawner
|
local buildUnitSpawner = swarmUtils.buildUnitSpawner
|
||||||
local buildWorm = swarmUtils.buildWorm
|
local buildWorm = swarmUtils.buildWorm
|
||||||
local createAttackBall = acidBall.createAttackBall
|
local createAttackBall = acidBall.createAttackBall
|
||||||
local createStreamAttack = biterUtils.createStreamAttack
|
local createStreamAttack = biterUtils.createStreamAttack
|
||||||
local createMeleeAttack = biterUtils.createMeleeAttack
|
local createMeleeAttack = biterUtils.createMeleeAttack
|
||||||
|
|
||||||
makeSmokeSoft({name="fast", softSmokeTint=makeColor(0.3, 0.75, 0.3, 0.1)})
|
local softSmoke = "the-soft-smoke-rampant"
|
||||||
|
|
||||||
-- fast biters
|
-- fast biters
|
||||||
buildUnitSpawner(
|
buildUnitSpawner(
|
||||||
@@ -532,7 +526,7 @@ buildUnitSpawner(
|
|||||||
explosion = "blood-explosion-small"
|
explosion = "blood-explosion-small"
|
||||||
},
|
},
|
||||||
attack = {
|
attack = {
|
||||||
softSmokeName = "fast-soft-smoke-rampant"
|
softSmokeName = softSmoke
|
||||||
},
|
},
|
||||||
resistances = {},
|
resistances = {},
|
||||||
|
|
||||||
@@ -1043,7 +1037,7 @@ buildWorm(
|
|||||||
|
|
||||||
attributes = {},
|
attributes = {},
|
||||||
attack = {
|
attack = {
|
||||||
softSmokeName = "fast-soft-smoke-rampant"
|
softSmokeName = softSmoke
|
||||||
},
|
},
|
||||||
resistances = {},
|
resistances = {},
|
||||||
|
|
||||||
|
|||||||
+39
-47
@@ -2,9 +2,7 @@
|
|||||||
|
|
||||||
local acidBall = require("utils/AttackBall")
|
local acidBall = require("utils/AttackBall")
|
||||||
local biterUtils = require("utils/BiterUtils")
|
local biterUtils = require("utils/BiterUtils")
|
||||||
local smokeUtils = require("utils/SmokeUtils")
|
|
||||||
local swarmUtils = require("SwarmUtils")
|
local swarmUtils = require("SwarmUtils")
|
||||||
local colorUtils = require("utils/ColorUtils")
|
|
||||||
package.path = "../libs/?.lua;" .. package.path
|
package.path = "../libs/?.lua;" .. package.path
|
||||||
local constants = require("Constants")
|
local constants = require("Constants")
|
||||||
|
|
||||||
@@ -18,17 +16,13 @@ local FIRE_WORM_VARIATIONS = constants.FIRE_WORM_VARIATIONS
|
|||||||
|
|
||||||
-- imported functions
|
-- imported functions
|
||||||
|
|
||||||
local makeColor = colorUtils.makeColor
|
|
||||||
|
|
||||||
local makeSmokeSoft = smokeUtils.makeSmokeSoft
|
|
||||||
|
|
||||||
local buildUnitSpawner = swarmUtils.buildUnitSpawner
|
local buildUnitSpawner = swarmUtils.buildUnitSpawner
|
||||||
local buildWorm = swarmUtils.buildWorm
|
local buildWorm = swarmUtils.buildWorm
|
||||||
local createAttackBall = acidBall.createAttackBall
|
local createAttackBall = acidBall.createAttackBall
|
||||||
local createStreamAttack = biterUtils.createStreamAttack
|
local createStreamAttack = biterUtils.createStreamAttack
|
||||||
local createMeleeAttack = biterUtils.createMeleeAttack
|
local createMeleeAttack = biterUtils.createMeleeAttack
|
||||||
|
|
||||||
makeSmokeSoft({name="fire", softSmokeTint=makeColor(0.3, 0.75, 0.3, 0.1)})
|
local softSmoke = "the-soft-smoke-rampant"
|
||||||
|
|
||||||
-- fire biters
|
-- fire biters
|
||||||
buildUnitSpawner(
|
buildUnitSpawner(
|
||||||
@@ -596,7 +590,7 @@ buildUnitSpawner(
|
|||||||
},
|
},
|
||||||
attack = {
|
attack = {
|
||||||
damageType = "acid",
|
damageType = "acid",
|
||||||
softSmokeName = "fire-soft-smoke-rampant"
|
softSmokeName = softSmoke
|
||||||
},
|
},
|
||||||
resistances = {},
|
resistances = {},
|
||||||
|
|
||||||
@@ -643,8 +637,7 @@ buildUnitSpawner(
|
|||||||
|
|
||||||
{
|
{
|
||||||
unit = {
|
unit = {
|
||||||
{
|
{
|
||||||
|
|
||||||
type = "attribute",
|
type = "attribute",
|
||||||
name = "health",
|
name = "health",
|
||||||
[1] = 10,
|
[1] = 10,
|
||||||
@@ -654,10 +647,9 @@ buildUnitSpawner(
|
|||||||
[5] = 750,
|
[5] = 750,
|
||||||
[6] = 1000,
|
[6] = 1000,
|
||||||
[7] = 1500,
|
[7] = 1500,
|
||||||
[8] = 1500,
|
[8] = 2500,
|
||||||
[9] = 2500,
|
[9] = 4500,
|
||||||
[10] = 4500
|
[10] = 7000
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -1203,7 +1195,7 @@ buildWorm(
|
|||||||
attributes = {},
|
attributes = {},
|
||||||
attack = {
|
attack = {
|
||||||
damageType = "acid",
|
damageType = "acid",
|
||||||
softSmokeName = "fire-soft-smoke-rampant"
|
softSmokeName = softSmoke
|
||||||
},
|
},
|
||||||
resistances = {},
|
resistances = {},
|
||||||
|
|
||||||
@@ -1226,7 +1218,7 @@ buildWorm(
|
|||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
type = "attribute",
|
type = "attribute",
|
||||||
name = "health",
|
name = "health",
|
||||||
[1] = 200,
|
[1] = 200,
|
||||||
@@ -1236,9 +1228,9 @@ buildWorm(
|
|||||||
[5] = 900,
|
[5] = 900,
|
||||||
[6] = 1000,
|
[6] = 1000,
|
||||||
[7] = 1500,
|
[7] = 1500,
|
||||||
[8] = 1500,
|
[8] = 3000,
|
||||||
[9] = 2500,
|
[9] = 5000,
|
||||||
[10] = 4500
|
[10] = 9000
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -1422,35 +1414,35 @@ buildWorm(
|
|||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
type = "resistance",
|
type = "resistance",
|
||||||
name = "acid",
|
name = "acid",
|
||||||
decrease = {
|
decrease = {
|
||||||
[1] = 7,
|
[1] = 7,
|
||||||
[2] = 7,
|
[2] = 7,
|
||||||
[3] = 10,
|
[3] = 10,
|
||||||
[4] = 10,
|
[4] = 10,
|
||||||
[5] = 13,
|
[5] = 13,
|
||||||
[6] = 13,
|
[6] = 13,
|
||||||
[7] = 16,
|
[7] = 16,
|
||||||
[8] = 16,
|
[8] = 16,
|
||||||
[9] = 19,
|
[9] = 19,
|
||||||
[10] = 23
|
[10] = 23
|
||||||
},
|
|
||||||
percent = {
|
|
||||||
[1] = 65,
|
|
||||||
[2] = 65,
|
|
||||||
[3] = 70,
|
|
||||||
[4] = 75,
|
|
||||||
[5] = 75,
|
|
||||||
[6] = 80,
|
|
||||||
[7] = 85,
|
|
||||||
[8] = 85,
|
|
||||||
[9] = 90,
|
|
||||||
[10] = 90
|
|
||||||
}
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
percent = {
|
||||||
|
[1] = 65,
|
||||||
|
[2] = 65,
|
||||||
|
[3] = 70,
|
||||||
|
[4] = 75,
|
||||||
|
[5] = 75,
|
||||||
|
[6] = 80,
|
||||||
|
[7] = 85,
|
||||||
|
[8] = 85,
|
||||||
|
[9] = 90,
|
||||||
|
[10] = 90
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
type = "attack",
|
type = "attack",
|
||||||
|
|||||||
+4
-14
@@ -2,9 +2,7 @@
|
|||||||
|
|
||||||
local attackFlame = require("utils/AttackFlame")
|
local attackFlame = require("utils/AttackFlame")
|
||||||
local biterUtils = require("utils/BiterUtils")
|
local biterUtils = require("utils/BiterUtils")
|
||||||
local smokeUtils = require("utils/SmokeUtils")
|
|
||||||
local swarmUtils = require("SwarmUtils")
|
local swarmUtils = require("SwarmUtils")
|
||||||
local colorUtils = require("utils/ColorUtils")
|
|
||||||
package.path = "../libs/?.lua;" .. package.path
|
package.path = "../libs/?.lua;" .. package.path
|
||||||
local constants = require("Constants")
|
local constants = require("Constants")
|
||||||
local math3d = require("math3d")
|
local math3d = require("math3d")
|
||||||
@@ -19,23 +17,15 @@ local INFERNO_WORM_VARIATIONS = constants.INFERNO_WORM_VARIATIONS
|
|||||||
|
|
||||||
-- imported functions
|
-- imported functions
|
||||||
|
|
||||||
local makeColor = colorUtils.makeColor
|
|
||||||
|
|
||||||
local makeSmokeSoft = smokeUtils.makeSmokeSoft
|
|
||||||
local makeSmokeWithGlow = smokeUtils.makeSmokeWithGlow
|
|
||||||
local makeSmokeWithoutGlow = smokeUtils.makeSmokeWithoutGlow
|
|
||||||
local makeSmokeAddingFuel = smokeUtils.makeSmokeAddingFuel
|
|
||||||
|
|
||||||
|
|
||||||
local buildUnitSpawner = swarmUtils.buildUnitSpawner
|
local buildUnitSpawner = swarmUtils.buildUnitSpawner
|
||||||
local buildWorm = swarmUtils.buildWorm
|
local buildWorm = swarmUtils.buildWorm
|
||||||
local createAttackFlame = attackFlame.createAttackFlame
|
local createAttackFlame = attackFlame.createAttackFlame
|
||||||
local createStreamAttack = biterUtils.createStreamAttack
|
local createStreamAttack = biterUtils.createStreamAttack
|
||||||
|
|
||||||
local softSmoke = makeSmokeSoft({name="inferno", softSmokeTint=makeColor(0.3, 0.75, 0.3, 0.1)})
|
local softSmoke = "the-soft-smoke-rampant"
|
||||||
local smokeGlow = makeSmokeWithGlow({name="inferno", smokeWithGlowTint=makeColor(0.3, 0.75, 0.3, 0.1)})
|
local smokeGlow = "the-glow-smoke-rampant"
|
||||||
local smokeWithoutGlow = makeSmokeWithoutGlow({name="inferno", smokeWithoutGlowTint=makeColor(0.3, 0.75, 0.3, 0.1)})
|
local smokeWithoutGlow = "the-without-glow-smoke-rampant"
|
||||||
local smokeFuel = makeSmokeAddingFuel({name="inferno"})
|
local smokeFuel = "the-adding-fuel-rampant"
|
||||||
|
|
||||||
-- inferno spitters
|
-- inferno spitters
|
||||||
buildUnitSpawner(
|
buildUnitSpawner(
|
||||||
|
|||||||
@@ -2,9 +2,7 @@
|
|||||||
|
|
||||||
local acidBall = require("utils/AttackBall")
|
local acidBall = require("utils/AttackBall")
|
||||||
local biterUtils = require("utils/BiterUtils")
|
local biterUtils = require("utils/BiterUtils")
|
||||||
local smokeUtils = require("utils/SmokeUtils")
|
|
||||||
local swarmUtils = require("SwarmUtils")
|
local swarmUtils = require("SwarmUtils")
|
||||||
local colorUtils = require("utils/ColorUtils")
|
|
||||||
package.path = "../libs/?.lua;" .. package.path
|
package.path = "../libs/?.lua;" .. package.path
|
||||||
local constants = require("Constants")
|
local constants = require("Constants")
|
||||||
|
|
||||||
@@ -18,17 +16,13 @@ local LASER_WORM_VARIATIONS = constants.LASER_WORM_VARIATIONS
|
|||||||
|
|
||||||
-- imported functions
|
-- imported functions
|
||||||
|
|
||||||
local makeColor = colorUtils.makeColor
|
|
||||||
|
|
||||||
local makeSmokeSoft = smokeUtils.makeSmokeSoft
|
|
||||||
|
|
||||||
local buildUnitSpawner = swarmUtils.buildUnitSpawner
|
local buildUnitSpawner = swarmUtils.buildUnitSpawner
|
||||||
local buildWorm = swarmUtils.buildWorm
|
local buildWorm = swarmUtils.buildWorm
|
||||||
local createAttackBall = acidBall.createAttackBall
|
local createAttackBall = acidBall.createAttackBall
|
||||||
local createStreamAttack = biterUtils.createStreamAttack
|
local createStreamAttack = biterUtils.createStreamAttack
|
||||||
local createMeleeAttack = biterUtils.createMeleeAttack
|
local createMeleeAttack = biterUtils.createMeleeAttack
|
||||||
|
|
||||||
local softSmoke = makeSmokeSoft({name="laser", softSmokeTint=makeColor(0.3, 0.3, 0.75, 0.1)})
|
local softSmoke = "the-soft-smoke-rampant"
|
||||||
|
|
||||||
-- laser biters
|
-- laser biters
|
||||||
buildUnitSpawner(
|
buildUnitSpawner(
|
||||||
|
|||||||
@@ -2,9 +2,7 @@
|
|||||||
|
|
||||||
local acidBall = require("utils/AttackBall")
|
local acidBall = require("utils/AttackBall")
|
||||||
local biterUtils = require("utils/BiterUtils")
|
local biterUtils = require("utils/BiterUtils")
|
||||||
local smokeUtils = require("utils/SmokeUtils")
|
|
||||||
local swarmUtils = require("SwarmUtils")
|
local swarmUtils = require("SwarmUtils")
|
||||||
local colorUtils = require("utils/ColorUtils")
|
|
||||||
package.path = "../libs/?.lua;" .. package.path
|
package.path = "../libs/?.lua;" .. package.path
|
||||||
local constants = require("Constants")
|
local constants = require("Constants")
|
||||||
|
|
||||||
@@ -18,17 +16,13 @@ local NEUTRAL_WORM_VARIATIONS = constants.NEUTRAL_WORM_VARIATIONS
|
|||||||
|
|
||||||
-- imported functions
|
-- imported functions
|
||||||
|
|
||||||
local makeColor = colorUtils.makeColor
|
|
||||||
|
|
||||||
local makeSmokeSoft = smokeUtils.makeSmokeSoft
|
|
||||||
|
|
||||||
local buildUnitSpawner = swarmUtils.buildUnitSpawner
|
local buildUnitSpawner = swarmUtils.buildUnitSpawner
|
||||||
local buildWorm = swarmUtils.buildWorm
|
local buildWorm = swarmUtils.buildWorm
|
||||||
local createAttackBall = acidBall.createAttackBall
|
local createAttackBall = acidBall.createAttackBall
|
||||||
local createStreamAttack = biterUtils.createStreamAttack
|
local createStreamAttack = biterUtils.createStreamAttack
|
||||||
local createMeleeAttack = biterUtils.createMeleeAttack
|
local createMeleeAttack = biterUtils.createMeleeAttack
|
||||||
|
|
||||||
local softSmoke = makeSmokeSoft({name="neutral", softSmokeTint=makeColor(0.3, 0.75, 0.3, 0.1)})
|
local softSmoke = "the-soft-smoke-rampant"
|
||||||
|
|
||||||
-- neutral biters
|
-- neutral biters
|
||||||
buildUnitSpawner(
|
buildUnitSpawner(
|
||||||
|
|||||||
@@ -3,9 +3,7 @@
|
|||||||
local acidBall = require("utils/AttackBall")
|
local acidBall = require("utils/AttackBall")
|
||||||
local biterUtils = require("utils/BiterUtils")
|
local biterUtils = require("utils/BiterUtils")
|
||||||
local stickerUtils = require("utils/StickerUtils")
|
local stickerUtils = require("utils/StickerUtils")
|
||||||
local smokeUtils = require("utils/SmokeUtils")
|
|
||||||
local swarmUtils = require("SwarmUtils")
|
local swarmUtils = require("SwarmUtils")
|
||||||
local colorUtils = require("utils/ColorUtils")
|
|
||||||
package.path = "../libs/?.lua;" .. package.path
|
package.path = "../libs/?.lua;" .. package.path
|
||||||
local constants = require("Constants")
|
local constants = require("Constants")
|
||||||
|
|
||||||
@@ -19,10 +17,6 @@ local NUCLEAR_WORM_VARIATIONS = constants.NUCLEAR_WORM_VARIATIONS
|
|||||||
|
|
||||||
-- imported functions
|
-- imported functions
|
||||||
|
|
||||||
local makeColor = colorUtils.makeColor
|
|
||||||
|
|
||||||
local makeSmokeSoft = smokeUtils.makeSmokeSoft
|
|
||||||
|
|
||||||
local makeSticker = stickerUtils.makeSticker
|
local makeSticker = stickerUtils.makeSticker
|
||||||
local buildUnitSpawner = swarmUtils.buildUnitSpawner
|
local buildUnitSpawner = swarmUtils.buildUnitSpawner
|
||||||
local buildWorm = swarmUtils.buildWorm
|
local buildWorm = swarmUtils.buildWorm
|
||||||
@@ -30,7 +24,7 @@ local createAttackBall = acidBall.createAttackBall
|
|||||||
local createStreamAttack = biterUtils.createStreamAttack
|
local createStreamAttack = biterUtils.createStreamAttack
|
||||||
local createSuicideAttack = biterUtils.createSuicideAttack
|
local createSuicideAttack = biterUtils.createSuicideAttack
|
||||||
|
|
||||||
local softSmoke = makeSmokeSoft({name="nuclear", softSmokeTint=makeColor(0.3, 0.75, 0.3, 0.1)})
|
local softSmoke = "the-soft-smoke-rampant"
|
||||||
|
|
||||||
-- nuclear biters
|
-- nuclear biters
|
||||||
buildUnitSpawner(
|
buildUnitSpawner(
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ local createAttackBall = physicalBall.createAttackBall
|
|||||||
local createStreamAttack = biterUtils.createStreamAttack
|
local createStreamAttack = biterUtils.createStreamAttack
|
||||||
local createMeleeAttack = biterUtils.createMeleeAttack
|
local createMeleeAttack = biterUtils.createMeleeAttack
|
||||||
|
|
||||||
makeSmokeSoft({name="physical", softSmokeTint=makeColor(0.75, 0.75, 0.75, 0.1)})
|
local softSmoke = "the-soft-smoke-rampant"
|
||||||
|
|
||||||
-- physical biters
|
-- physical biters
|
||||||
buildUnitSpawner(
|
buildUnitSpawner(
|
||||||
@@ -522,7 +522,7 @@ buildWorm(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
softSmokeName = "physical-soft-smoke-rampant"
|
softSmokeName = softSmoke
|
||||||
},
|
},
|
||||||
resistances = {},
|
resistances = {},
|
||||||
|
|
||||||
|
|||||||
@@ -3,9 +3,7 @@
|
|||||||
local acidBall = require("utils/AttackBall")
|
local acidBall = require("utils/AttackBall")
|
||||||
local biterUtils = require("utils/BiterUtils")
|
local biterUtils = require("utils/BiterUtils")
|
||||||
local stickerUtils = require("utils/StickerUtils")
|
local stickerUtils = require("utils/StickerUtils")
|
||||||
local smokeUtils = require("utils/SmokeUtils")
|
|
||||||
local swarmUtils = require("SwarmUtils")
|
local swarmUtils = require("SwarmUtils")
|
||||||
local colorUtils = require("utils/ColorUtils")
|
|
||||||
package.path = "../libs/?.lua;" .. package.path
|
package.path = "../libs/?.lua;" .. package.path
|
||||||
local constants = require("Constants")
|
local constants = require("Constants")
|
||||||
|
|
||||||
@@ -19,10 +17,6 @@ local SUICIDE_WORM_VARIATIONS = constants.SUICIDE_WORM_VARIATIONS
|
|||||||
|
|
||||||
-- imported functions
|
-- imported functions
|
||||||
|
|
||||||
local makeColor = colorUtils.makeColor
|
|
||||||
|
|
||||||
local makeSmokeSoft = smokeUtils.makeSmokeSoft
|
|
||||||
|
|
||||||
local makeSticker = stickerUtils.makeSticker
|
local makeSticker = stickerUtils.makeSticker
|
||||||
local buildUnitSpawner = swarmUtils.buildUnitSpawner
|
local buildUnitSpawner = swarmUtils.buildUnitSpawner
|
||||||
local buildWorm = swarmUtils.buildWorm
|
local buildWorm = swarmUtils.buildWorm
|
||||||
@@ -30,7 +24,7 @@ local createAttackBall = acidBall.createAttackBall
|
|||||||
local createStreamAttack = biterUtils.createStreamAttack
|
local createStreamAttack = biterUtils.createStreamAttack
|
||||||
local createSuicideAttack = biterUtils.createSuicideAttack
|
local createSuicideAttack = biterUtils.createSuicideAttack
|
||||||
|
|
||||||
local softSmoke = makeSmokeSoft({name="suicide", softSmokeTint=makeColor(0.3, 0.75, 0.3, 0.1)})
|
local softSmoke = "the-soft-smoke-rampant"
|
||||||
|
|
||||||
-- suicide biters
|
-- suicide biters
|
||||||
buildUnitSpawner(
|
buildUnitSpawner(
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ local createAttackBall = acidBall.createAttackBall
|
|||||||
local createStreamAttack = biterUtils.createStreamAttack
|
local createStreamAttack = biterUtils.createStreamAttack
|
||||||
local createMeleeAttack = biterUtils.createMeleeAttack
|
local createMeleeAttack = biterUtils.createMeleeAttack
|
||||||
|
|
||||||
makeSmokeSoft({name="troll", softSmokeTint=makeColor(0.3, 0.75, 0.3, 0.1)})
|
local softSmoke = "the-soft-smoke-rampant"
|
||||||
|
|
||||||
-- troll biters
|
-- troll biters
|
||||||
buildUnitSpawner(
|
buildUnitSpawner(
|
||||||
@@ -540,7 +540,7 @@ buildUnitSpawner(
|
|||||||
explosion = "blood-explosion-small"
|
explosion = "blood-explosion-small"
|
||||||
},
|
},
|
||||||
attack = {
|
attack = {
|
||||||
softSmokeName = "troll-soft-smoke-rampant"
|
softSmokeName = softSmoke
|
||||||
},
|
},
|
||||||
resistances = {},
|
resistances = {},
|
||||||
|
|
||||||
@@ -1061,7 +1061,7 @@ buildWorm(
|
|||||||
|
|
||||||
attributes = {},
|
attributes = {},
|
||||||
attack = {
|
attack = {
|
||||||
softSmokeName = "troll-soft-smoke-rampant"
|
softSmokeName = softSmoke
|
||||||
},
|
},
|
||||||
resistances = {},
|
resistances = {},
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,10 @@
|
|||||||
-- import
|
-- import
|
||||||
|
|
||||||
local streamUtils = require("StreamUtils")
|
local streamUtils = require("StreamUtils")
|
||||||
local colorUtils = require("ColorUtils")
|
|
||||||
local smokeUtils = require("SmokeUtils")
|
|
||||||
|
|
||||||
|
|
||||||
-- imported functions
|
-- imported functions
|
||||||
|
|
||||||
local makeSmokeSoft = smokeUtils.makeSmokeSoft
|
|
||||||
|
|
||||||
local makeStream = streamUtils.makeStream
|
local makeStream = streamUtils.makeStream
|
||||||
local makeColor = colorUtils.makeColor
|
|
||||||
|
|
||||||
-- dumb acid projectiles
|
-- dumb acid projectiles
|
||||||
local AttackBall = {}
|
local AttackBall = {}
|
||||||
@@ -67,16 +61,14 @@ function AttackBall.createAttackBall(attributes)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function AttackBall.generateLegacy()
|
function AttackBall.generateLegacy()
|
||||||
makeSmokeSoft({name="acid-ball", softSmokeTint=makeColor(0.3, 0.75, 0.3, 0.1)})
|
AttackBall.createAttackBall({name="acid-ball", pTint={r=0, g=1, b=1, a=0.5}, sTint={r=0, g=1, b=1, a=0.5}, softSmokeName="the-soft-smoke-rampant", damage=4, radius=1.2})
|
||||||
|
AttackBall.createAttackBall({name="acid-ball-1", pTint={r=0, g=1, b=1, a=0.5}, sTint={r=0, g=1, b=1, a=0.5}, softSmokeName="the-soft-smoke-rampant", damage=9, radius=1.3})
|
||||||
AttackBall.createAttackBall({name="acid-ball", pTint={r=0, g=1, b=1, a=0.5}, sTint={r=0, g=1, b=1, a=0.5}, softSmokeName="acid-ball-soft-smoke-rampant", damage=4, radius=1.2})
|
AttackBall.createAttackBall({name="acid-ball-2", pTint={r=0, g=1, b=1, a=0.5}, sTint={r=0, g=1, b=1, a=0.5}, softSmokeName="the-soft-smoke-rampant", damage=14, radius=1.4})
|
||||||
AttackBall.createAttackBall({name="acid-ball-1", pTint={r=0, g=1, b=1, a=0.5}, sTint={r=0, g=1, b=1, a=0.5}, softSmokeName="acid-ball-soft-smoke-rampant", damage=9, radius=1.3})
|
AttackBall.createAttackBall({name="acid-ball-3", pTint={r=0, g=1, b=1, a=0.5}, sTint={r=0, g=1, b=1, a=0.5}, softSmokeName="the-soft-smoke-rampant", damage=23, radius=1.5})
|
||||||
AttackBall.createAttackBall({name="acid-ball-2", pTint={r=0, g=1, b=1, a=0.5}, sTint={r=0, g=1, b=1, a=0.5}, softSmokeName="acid-ball-soft-smoke-rampant", damage=14, radius=1.4})
|
AttackBall.createAttackBall({name="wide-acid-ball", pTint={r=0, g=1, b=1, a=0.5}, sTint={r=0, g=1, b=1, a=0.5}, softSmokeName="the-soft-smoke-rampant", damage=18, radius=3})
|
||||||
AttackBall.createAttackBall({name="acid-ball-3", pTint={r=0, g=1, b=1, a=0.5}, sTint={r=0, g=1, b=1, a=0.5}, softSmokeName="acid-ball-soft-smoke-rampant", damage=23, radius=1.5})
|
AttackBall.createAttackBall({name="acid-ball-4", pTint={r=0, g=1, b=1, a=0.5}, sTint={r=0, g=1, b=1, a=0.5}, softSmokeName="the-soft-smoke-rampant", damage=25, radius=1.75})
|
||||||
AttackBall.createAttackBall({name="wide-acid-ball", pTint={r=0, g=1, b=1, a=0.5}, sTint={r=0, g=1, b=1, a=0.5}, softSmokeName="acid-ball-soft-smoke-rampant", damage=18, radius=3})
|
AttackBall.createAttackBall({name="acid-ball-5", pTint={r=0, g=1, b=1, a=0.5}, sTint={r=0, g=1, b=1, a=0.5}, softSmokeName="the-soft-smoke-rampant", damage=50, radius=2})
|
||||||
AttackBall.createAttackBall({name="acid-ball-4", pTint={r=0, g=1, b=1, a=0.5}, sTint={r=0, g=1, b=1, a=0.5}, softSmokeName="acid-ball-soft-smoke-rampant", damage=25, radius=1.75})
|
AttackBall.createAttackBall({name="acid-ball-6", pTint={r=0, g=1, b=1, a=0.5}, sTint={r=0, g=1, b=1, a=0.5}, softSmokeName="the-soft-smoke-rampant", damage=70, radius=2.5})
|
||||||
AttackBall.createAttackBall({name="acid-ball-5", pTint={r=0, g=1, b=1, a=0.5}, sTint={r=0, g=1, b=1, a=0.5}, softSmokeName="acid-ball-soft-smoke-rampant", damage=50, radius=2})
|
|
||||||
AttackBall.createAttackBall({name="acid-ball-6", pTint={r=0, g=1, b=1, a=0.5}, sTint={r=0, g=1, b=1, a=0.5}, softSmokeName="acid-ball-soft-smoke-rampant", damage=70, radius=2.5})
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return AttackBall
|
return AttackBall
|
||||||
|
|||||||
@@ -17,11 +17,16 @@ local makeSticker = stickerUtils.makeSticker
|
|||||||
|
|
||||||
-- module code
|
-- module code
|
||||||
|
|
||||||
|
local softSmoke = "the-soft-smoke-rampant"
|
||||||
|
local smokeGlow = "the-glow-smoke-rampant"
|
||||||
|
local smokeWithoutGlow = "the-without-glow-smoke-rampant"
|
||||||
|
local smokeFuel = "the-adding-fuel-rampant"
|
||||||
|
|
||||||
makeStream({
|
makeStream({
|
||||||
name = "bob-explosive-ball",
|
name = "bob-explosive-ball",
|
||||||
particleTint = {r=1, g=0.97, b=0.34, a=0.5},
|
particleTint = {r=1, g=0.97, b=0.34, a=0.5},
|
||||||
spineAnimationTint = {r=1, g=0.97, b=0.34, a=0.5},
|
spineAnimationTint = {r=1, g=0.97, b=0.34, a=0.5},
|
||||||
softSmokeTint = makeColor(0.3, 0.75, 0.3, 0.1),
|
softSmokeName = softSmoke,
|
||||||
actions = {
|
actions = {
|
||||||
{
|
{
|
||||||
type = "direct",
|
type = "direct",
|
||||||
@@ -70,12 +75,13 @@ makeStream({
|
|||||||
local name = "bob-fire-ball"
|
local name = "bob-fire-ball"
|
||||||
local spawnEntityName = makeSpreadEffect({
|
local spawnEntityName = makeSpreadEffect({
|
||||||
name = name,
|
name = name,
|
||||||
smokeWithoutGlowTint = makeColor(0.45,0.25,0.1, 0.25),
|
smokeWithoutGlowName = smokeWithoutGlow
|
||||||
})
|
})
|
||||||
local fireName = makeFire({
|
local fireName = makeFire({
|
||||||
name = name,
|
name = name,
|
||||||
fireTint = {r=0, g=0.9, b=0, a=0.5},
|
fireTint = {r=0, g=0.9, b=0, a=0.5},
|
||||||
smokeWithGlowTint = {r=0.2, g=0.8, b=0.2, a=0.25},
|
smokeWithGlowName = smokeGlow,
|
||||||
|
smokeAddingFuelName = smokeFuel,
|
||||||
spawnEntityName = spawnEntityName
|
spawnEntityName = spawnEntityName
|
||||||
})
|
})
|
||||||
local stickerName = makeSticker({
|
local stickerName = makeSticker({
|
||||||
@@ -86,7 +92,7 @@ makeStream({
|
|||||||
name = name,
|
name = name,
|
||||||
particleTint = {r=1, g=0.17, b=0.17, a=0.5},
|
particleTint = {r=1, g=0.17, b=0.17, a=0.5},
|
||||||
spineAnimationTint = {r=1, g=0.43, b=0.17, a=0.5},
|
spineAnimationTint = {r=1, g=0.43, b=0.17, a=0.5},
|
||||||
softSmokeTint = makeColor(0.7, 0.4, 0.2, 0.1),
|
softSmokeTint = softSmoke,
|
||||||
actions = {
|
actions = {
|
||||||
{
|
{
|
||||||
type = "direct",
|
type = "direct",
|
||||||
@@ -130,7 +136,7 @@ makeStream({
|
|||||||
name = "bob-poison-ball",
|
name = "bob-poison-ball",
|
||||||
particleTint = {r=0.1, g=0.5, b=1, a=0.5},
|
particleTint = {r=0.1, g=0.5, b=1, a=0.5},
|
||||||
spineAnimationTint = {r=0, g=0, b=1, a=0.5},
|
spineAnimationTint = {r=0, g=0, b=1, a=0.5},
|
||||||
softSmokeTint = makeColor(0.7, 0.4, 0.2, 0.1),
|
softSmokeName = softSmoke,
|
||||||
actions = {
|
actions = {
|
||||||
{
|
{
|
||||||
type = "direct",
|
type = "direct",
|
||||||
@@ -201,7 +207,7 @@ makeStream({
|
|||||||
name = "bob-piercing-ball",
|
name = "bob-piercing-ball",
|
||||||
particleTint = {r=0.1, g=0.1, b=0.1, a=0.8},
|
particleTint = {r=0.1, g=0.1, b=0.1, a=0.8},
|
||||||
spineAnimationTint = {r=0.1, g=0.1, b=0.1, a=0.8},
|
spineAnimationTint = {r=0.1, g=0.1, b=0.1, a=0.8},
|
||||||
softSmokeTint = makeColor(0.7, 0.4, 0.2, 0.1),
|
softSmokeName = softSmoke,
|
||||||
actions = {
|
actions = {
|
||||||
{
|
{
|
||||||
type = "cluster",
|
type = "cluster",
|
||||||
@@ -283,7 +289,7 @@ makeStream({
|
|||||||
name = "bob-electric-ball",
|
name = "bob-electric-ball",
|
||||||
particleTint = {r=0, g=0.1, b=1, a=1},
|
particleTint = {r=0, g=0.1, b=1, a=1},
|
||||||
spineAnimationTint = {r=0, g=0.1, b=1, a=1},
|
spineAnimationTint = {r=0, g=0.1, b=1, a=1},
|
||||||
softSmokeTint = makeColor(0.7, 0.4, 0.2, 0.1),
|
softSmokeName = softSmoke,
|
||||||
actions = {
|
actions = {
|
||||||
{
|
{
|
||||||
type = "cluster",
|
type = "cluster",
|
||||||
@@ -323,7 +329,7 @@ makeStream({
|
|||||||
name = "bob-titan-ball",
|
name = "bob-titan-ball",
|
||||||
particleTint = {r=0, g=0.1, b=1, a=1},
|
particleTint = {r=0, g=0.1, b=1, a=1},
|
||||||
spineAnimationTint = {r=0, g=0.1, b=1, a=1},
|
spineAnimationTint = {r=0, g=0.1, b=1, a=1},
|
||||||
softSmokeTint = makeColor(0.7, 0.4, 0.2, 0.1),
|
softSmokeName = softSmoke,
|
||||||
actions = {
|
actions = {
|
||||||
{
|
{
|
||||||
type = "direct",
|
type = "direct",
|
||||||
@@ -375,7 +381,7 @@ makeStream({
|
|||||||
name = "bob-behemoth-ball",
|
name = "bob-behemoth-ball",
|
||||||
particleTint = {r=0, g=0.1, b=1, a=1},
|
particleTint = {r=0, g=0.1, b=1, a=1},
|
||||||
spineAnimationTint = {r=0, g=0.1, b=1, a=1},
|
spineAnimationTint = {r=0, g=0.1, b=1, a=1},
|
||||||
softSmokeTint = makeColor(0.7, 0.4, 0.2, 0.1),
|
softSmokeName = softSmoke,
|
||||||
actions = {
|
actions = {
|
||||||
{
|
{
|
||||||
type = "direct",
|
type = "direct",
|
||||||
@@ -431,7 +437,7 @@ makeStream({
|
|||||||
name = "bob-leviathan-ball",
|
name = "bob-leviathan-ball",
|
||||||
particleTint = {r=0, g=0.1, b=1, a=1},
|
particleTint = {r=0, g=0.1, b=1, a=1},
|
||||||
spineAnimationTint = {r=0, g=0.1, b=1, a=1},
|
spineAnimationTint = {r=0, g=0.1, b=1, a=1},
|
||||||
softSmokeTint = makeColor(0.7, 0.4, 0.2, 0.1),
|
softSmokeName = softSmoke,
|
||||||
actions = {
|
actions = {
|
||||||
{
|
{
|
||||||
type = "cluster",
|
type = "cluster",
|
||||||
|
|||||||
@@ -1,20 +1,20 @@
|
|||||||
-- import
|
-- import
|
||||||
|
|
||||||
local streamUtils = require("StreamUtils")
|
local streamUtils = require("StreamUtils")
|
||||||
local colorUtils = require("ColorUtils")
|
|
||||||
|
|
||||||
-- imported functions
|
-- imported functions
|
||||||
|
|
||||||
local makeStream = streamUtils.makeStream
|
local makeStream = streamUtils.makeStream
|
||||||
local makeColor = colorUtils.makeColor
|
|
||||||
|
|
||||||
-- module code
|
-- module code
|
||||||
|
|
||||||
|
local softSmoke = "the-soft-smoke-rampant"
|
||||||
|
|
||||||
makeStream({
|
makeStream({
|
||||||
name = "ne-infected-unit-ball",
|
name = "ne-infected-unit-ball",
|
||||||
particleTint = {r=0, g=0.97, b=0.34, a=0.5},
|
particleTint = {r=0, g=0.97, b=0.34, a=0.5},
|
||||||
spineAnimationTint = {r=0, g=0.1, b=1, a=1},
|
spineAnimationTint = {r=0, g=0.1, b=1, a=1},
|
||||||
softSmokeTint = makeColor(0.7, 0.4, 0.2, 0.1),
|
softSmokeName = softSmoke,
|
||||||
actions = {
|
actions = {
|
||||||
{
|
{
|
||||||
type = "direct",
|
type = "direct",
|
||||||
@@ -56,7 +56,7 @@ makeStream({
|
|||||||
name = "ne-mutated-unit-ball",
|
name = "ne-mutated-unit-ball",
|
||||||
particleTint = {r=0.5, g=0.7, b=0.34, a=0.5},
|
particleTint = {r=0.5, g=0.7, b=0.34, a=0.5},
|
||||||
spineAnimationTint = {r=0.5, g=0.97, b=0.34, a=0.5},
|
spineAnimationTint = {r=0.5, g=0.97, b=0.34, a=0.5},
|
||||||
softSmokeTint = makeColor(0.3, 0.75, 0.3, 0.1),
|
softSmokeName = softSmoke,
|
||||||
actions = {
|
actions = {
|
||||||
{
|
{
|
||||||
type = "direct",
|
type = "direct",
|
||||||
@@ -109,7 +109,7 @@ makeStream({
|
|||||||
name = "ne-infected-ball",
|
name = "ne-infected-ball",
|
||||||
particleTint = {r=0.5, g=0.7, b=0.34, a=0.5},
|
particleTint = {r=0.5, g=0.7, b=0.34, a=0.5},
|
||||||
spineAnimationTint = {r=0.5, g=0.97, b=0.34, a=0.5},
|
spineAnimationTint = {r=0.5, g=0.97, b=0.34, a=0.5},
|
||||||
softSmokeTint = makeColor(0.3, 0.75, 0.3, 0.1),
|
softSmokeName = softSmoke,
|
||||||
actions = {
|
actions = {
|
||||||
{
|
{
|
||||||
type = "direct",
|
type = "direct",
|
||||||
@@ -153,7 +153,7 @@ makeStream({
|
|||||||
name = "ne-mutated-ball",
|
name = "ne-mutated-ball",
|
||||||
particleTint = {r=0.5, g=0.7, b=0.34, a=0.5},
|
particleTint = {r=0.5, g=0.7, b=0.34, a=0.5},
|
||||||
spineAnimationTint = {r=0.5, g=0.97, b=0.34, a=0.5},
|
spineAnimationTint = {r=0.5, g=0.97, b=0.34, a=0.5},
|
||||||
softSmokeTint = makeColor(0.3, 0.75, 0.3, 0.1),
|
softSmokeName = softSmoke,
|
||||||
actions = {
|
actions = {
|
||||||
{
|
{
|
||||||
type = "direct",
|
type = "direct",
|
||||||
|
|||||||
+23
-1
@@ -67,6 +67,28 @@ data:extend({
|
|||||||
per_user = false
|
per_user = false
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
type = "int-setting",
|
||||||
|
name = "rampant-newEnemyVariations",
|
||||||
|
setting_type = "startup",
|
||||||
|
minimum_value = 1,
|
||||||
|
maximum_value = 20,
|
||||||
|
default_value = 1,
|
||||||
|
order = "d[modifier]-b[wave]",
|
||||||
|
per_user = false
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
type = "int-setting",
|
||||||
|
name = "rampant-newEnemyTiers",
|
||||||
|
setting_type = "startup",
|
||||||
|
minimum_value = 5,
|
||||||
|
maximum_value = 10,
|
||||||
|
default_value = 5,
|
||||||
|
order = "d[modifier]-c[wave]",
|
||||||
|
per_user = false
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
type = "int-setting",
|
type = "int-setting",
|
||||||
name = "rampant-attackWaveMaxSize",
|
name = "rampant-attackWaveMaxSize",
|
||||||
@@ -243,7 +265,7 @@ data:extend({
|
|||||||
name = "rampant-newEnemies",
|
name = "rampant-newEnemies",
|
||||||
description = "rampant-newEnemies",
|
description = "rampant-newEnemies",
|
||||||
setting_type = "startup",
|
setting_type = "startup",
|
||||||
default_value = true,
|
default_value = false,
|
||||||
order = "l[modifier]-b[unit]",
|
order = "l[modifier]-b[unit]",
|
||||||
per_user = false
|
per_user = false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user