1
0
mirror of https://github.com/veden/Rampant.git synced 2025-03-11 14:49:32 +02:00

see changelog

This commit is contained in:
Aaron Veden 2019-03-12 17:27:32 -07:00
parent e09897fb1d
commit 09cffae72a
13 changed files with 70 additions and 472 deletions

View File

@ -3,6 +3,14 @@ Version: 0.17.6
Date: 3. 12. 2019
Improvements:
- Reworked base upgrade system
Tweaks:
- Increased max evolution level for new biters from 95% to 97%
- Decreased distance to evolution from 1/7200 to 1/9600
- Normalized evolution requirement for Neutral faction 1-9 (0.08->0, 0.16->0.1, 0.24->0.2, 0.35->0.3, 0.4->0.4, 0.45->0.5, 0.55->0.6, 0.65->0.7, 0.75->0.8)
- Increased evolution requirement for levels 2+ by 2% per tier on Acid, Electric, Fire, Laser, Physical
- Increased evolution requirement for levels 2+ by 5% per tier on Energy Thief, Inferno, Poison, Troll, Wasp
- Increased evolution requirement for levels 2+ by 7% per tier on Nuclear, Spawner, Suicide
- readded acid splash purple for spitter attacks
Bugfixes:
- Fixed nest and worms incorrectly being upgraded resulting in lost entities
- Fixed NE and Bobs faction alignments being correctly selected
@ -108,7 +116,7 @@ Date: 2. 18. 2019
---------------------------------------------------------------------------------------------------
Version: 0.16.41
Date: 2. 18. 2019
Note:
Note:
- Enemy level maxes have changed what was 10 is now roughly equal to 8
Tweaks:
- Added energy thief crystal and pylon physical resistance 25%
@ -189,12 +197,12 @@ Date: 2. 10. 2019
- Added minor weakness to poison to inferno faction
- Added minor weakness to laser to physical faction
- Added minor weakness to electric to physical faction
- Increased general biters physical decrease for levels 7 - 10, (10->11,12->13,14->16,15->17)
- Increased general biters physical percent for levels 7 - 10, (13->14,13->16,14->18,15->20)
- Increased general biters explosion decrease for levels 6 - 10, (0->10,10->12,12->14,14->16,15->20)
- Increased general biters explosion percent for levels 6 - 10, (12->13,13->15,13->16,14->17,15->20)
- Added general spitters physical decrease for levels 1 - 10, (0,0,0,0,2,4,6,8,10,12)
- Added general spitters physical percent for levels 1 - 10, (0,0,0,10,12,12,14,14,15,15)
- Increased general biters physical decrease for levels 7 - 10, (10->11,12->13,14->16,15->17)
- Increased general biters physical percent for levels 7 - 10, (13->14,13->16,14->18,15->20)
- Increased general biters explosion decrease for levels 6 - 10, (0->10,10->12,12->14,14->16,15->20)
- Increased general biters explosion percent for levels 6 - 10, (12->13,13->15,13->16,14->17,15->20)
- Added general spitters physical decrease for levels 1 - 10, (0,0,0,0,2,4,6,8,10,12)
- Added general spitters physical percent for levels 1 - 10, (0,0,0,10,12,12,14,14,15,15)
- Decreased base spawner upgrade from 300 to 250
- Decreased base worm upgrade from 250 to 200
- Removed evolution requirement rounding for bobs spawners and ne spawners
@ -273,7 +281,7 @@ Date: 9. 25. 2018
Version: 0.16.32
Date: 8. 1. 2018
Improvements:
- Raiding AI Toggle - toggles the ai raiding parties from outside your pollution cloud
- Raiding AI Toggle - toggles the ai raiding parties from outside your pollution cloud
- Added a check for waterfill to trigger pass ability scan on affected chunks
Tweaks:
- Lowered base alignment selection threshold from 0.65 to 0.35, causing more variation in the later stages of the game for factions

View File

@ -1,10 +1,9 @@
local vanillaUpdates = require("prototypes/utils/UpdatesVanilla")
local bobsUpdates = require("prototypes/utils/UpdatesBobs")
local NEUpdates = require("prototypes/utils/UpdatesNE")
local constants = require("libs/Constants")
local attackBobs = require("prototypes/utils/AttackBobs")
local attackNE = require("prototypes/utils/AttackNE")
if settings.startup["rampant-removeBloodParticles"].value then
local explosions = data.raw["explosion"]
@ -22,15 +21,6 @@ if settings.startup["rampant-useDumbProjectiles"].value then
attackBobs.addAttacks()
bobsUpdates.useDumbProjectiles()
end
option = settings.startup["NE_Difficulty"]
if option then
attackNE.addAttacks()
NEUpdates.useDumbProjectiles()
if settings.startup["rampant-useNEUnitLaunchers"].value then
NEUpdates.useNEUnitLaunchers()
end
end
end
for _, robot in pairs(data.raw["logistic-robot"]) do
@ -60,11 +50,6 @@ end
--]]
local mapSettings = data.raw["map-settings"]["map-settings"]
-- mapSettings.path_finder.short_request_ratio = constants.PATH_FINDER_SHORT_REQUEST_RATIO
-- mapSettings.path_finder.short_cache_size = constants.PATH_FINDER_SHORT_CACHE_SIZE
-- mapSettings.path_finder.long_cache_size = constants.PATH_FINDER_LONG_REQUEST_RATIO
-- mapSettings.path_finder.min_steps_to_check_path_find_termination = constants.PATH_FINDER_MIN_STEPS_TO_CHECK_PATH
mapSettings.max_failed_behavior_count = constants.MAX_FAILED_BEHAVIORS
mapSettings.unit_group.member_disown_distance = constants.UNIT_GROUP_DISOWN_DISTANCE

View File

@ -25,3 +25,51 @@ if settings.startup["rampant-useDumbProjectiles"].value then
end
require("prototypes/buildings/ChunkScanner")
if not data.raw["corpse"]["acid-splash-purple"] then
data:extend({
{
type = "corpse",
name = "acid-splash-purple",
flags = {"not-on-map"},
time_before_removed = 60 * 30,
final_render_layer = "corpse",
splash =
{
{
filename = "__Rampant__/graphics/acid-splash-purple/splash-1.png",
line_length = 5,
width = 199,
height = 159,
frame_count = 20,
shift = {0.484375, -0.171875}
},
{
filename = "__Rampant__/graphics/acid-splash-purple/splash-2.png",
line_length = 5,
width = 238,
height = 157,
frame_count = 20,
shift = {0.8125, -0.15625}
},
{
filename = "__Rampant__/graphics/acid-splash-purple/splash-3.png",
line_length = 5,
width = 240,
height = 162,
frame_count = 20,
shift = {0.71875, -0.09375}
},
{
filename = "__Rampant__/graphics/acid-splash-purple/splash-4.png",
line_length = 5,
width = 241,
height = 146,
frame_count = 20,
shift = {0.703125, -0.375}
}
},
splash_speed = 0.03
}
})
end

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

View File

@ -145,7 +145,7 @@ constants.BASE_DEADZONE_TTL = constants.TICKS_A_MINUTE * 18
constants.BASE_COLLECTION_THRESHOLD = constants.TICKS_A_MINUTE * 2
constants.BASE_DISTANCE_TO_EVO_INDEX = 1 / 7200
constants.BASE_DISTANCE_TO_EVO_INDEX = 1 / 9600
-- constants.BASE_DISTANCE_TO_EVO_INDEX = 1 / 32000
constants.BASE_SPAWNER_UPGRADE = 250

View File

@ -63,9 +63,8 @@ function wasp.addFaction()
type = "instant",
target_effects =
{
--FIXME
type = "create-entity",
entity_name = "explosion"
entity_name = "acid-splash-purple"
}
}
}
@ -274,9 +273,8 @@ function wasp.addFaction()
type = "instant",
target_effects =
{
--FIXME
type = "create-entity",
entity_name = "explosion"
entity_name = "acid-splash-purple"
}
}
}

View File

@ -75,7 +75,7 @@ data:extend({
circuit_wire_connection_point = circuit_connector_definitions["chest"].points,
circuit_connector_sprites = circuit_connector_definitions["chest"].sprites,
circuit_wire_max_distance = default_circuit_wire_max_distance
},
}-- ,
-- {
-- type = "container",
-- name = "chunk-scanner-nest-rampant",

View File

@ -59,10 +59,9 @@ function AttackBall.createAttackBall(attributes)
type = "instant",
target_effects = (attributes.pointEffects and attributes.pointEffects(attributes)) or
{
--FIXME
{
type= "create-entity",
entity_name = attributes.crater or "small-scorchmark"
entity_name = attributes.crater or "acid-splash-purple"
},
{
type = "damage",

View File

@ -1,248 +0,0 @@
-- import
local attacks = {}
local attackBall = require("AttackBall")
local FORCE_OLD_PROJECTILES = settings.startup["rampant-forceOldProjectiles"].value
-- module code
local softSmoke = "the-soft-smoke-rampant"
local createAttackBall = attackBall.createAttackBall
function attacks.addAttacks()
local multipler = (FORCE_OLD_PROJECTILES and 1) or 2.7
-- createAttackBall(
-- {
-- name = "ne-infected-unit-ball",
-- pTint = {r=0, g=0.97, b=0.34, a=0.5},
-- sTint = {r=0, g=0.1, b=1, a=1},
-- softSmokeName = softSmoke,
-- type = "projectile",
-- pointEffects = function (attributes)
-- return {
-- {
-- type = "create-entity",
-- entity_name = "unit-cluster",
-- trigger_created_entity = "true"
-- },
-- {
-- type = "create-sticker",
-- sticker = "slowdown-sticker",
-- },
-- {
-- type = "create-entity",
-- entity_name = "Infected-Poison-Cloud"
-- },
-- {
-- type = "damage",
-- damage = {amount = 10 * multipler, type = "explosion"}
-- },
-- {
-- type = "damage",
-- damage = {amount = 24 * multipler, type = "poison"}
-- }
-- }
-- end,
-- radius = 1,
-- areaEffects = function (attributes)
-- return
-- {
-- {
-- type = "damage",
-- damage = { amount = 0, type = "explosion" }
-- }
-- }
-- end
-- }
-- )
--
-- createAttackBall(
-- {
-- name = "ne-mutated-unit-ball",
-- pTint = {r=0.5, g=0.7, b=0.34, a=0.5},
-- sTint = {r=0.5, g=0.97, b=0.34, a=0.5},
-- softSmokeName = softSmoke,
-- type = "projectile",
-- pointEffects = function (attributes)
-- return {
-- {
-- type = "create-entity",
-- entity_name = "unit-cluster",
-- trigger_created_entity = "true"
-- },
-- {
-- type = "create-sticker",
-- sticker = "slowdown-sticker",
-- },
-- {
-- type = "create-entity",
-- --FIXME
-- entity_name = "explosion"
-- }
-- }
-- end,
-- radius = 2,
-- areaEffects = function (attributes)
-- return
-- {
-- {
-- type = "damage",
-- damage = { amount = 8 * multipler, type = "explosion" }
-- },
-- {
-- type = "damage",
-- damage = { amount = 18 * multipler, type = "acid" }
-- }
-- }
-- end
-- }
-- )
--
-- createAttackBall(
-- {
-- name = "ne-infected-ball",
-- pTint = {r=0.5, g=0.7, b=0.34, a=0.5},
-- sTint = {r=0.5, g=0.97, b=0.34, a=0.5},
-- softSmokeName = softSmoke,
-- type = "projectile",
-- pointEffects = function (attributes)
-- return {
-- {
-- type = "create-entity",
-- entity_name = "Infected-Poison-Cloud"
-- }
-- }
-- end,
-- radius = 1.5,
-- areaEffects = function (attributes)
-- return
-- {
-- {
-- type = "damage",
-- damage = { amount = 5 * multipler, type = "explosion" }
-- },
-- {
-- type = "damage",
-- damage = { amount = 12 * multipler, type = "poison" }
-- }
-- }
-- end
-- }
-- )
if not FORCE_OLD_PROJECTILES then
-- createAttackBall(
-- {
-- name = "ne-infected-ball-direction",
-- pTint = {r=0.5, g=0.7, b=0.34, a=0.5},
-- sTint = {r=0.5, g=0.97, b=0.34, a=0.5},
-- softSmokeName = softSmoke,
-- directionOnly = true,
-- type = "projectile",
-- pointEffects = function (attributes)
-- return {
-- {
-- type = "create-entity",
-- entity_name = "Infected-Poison-Cloud"
-- }
-- }
-- end,
-- radius = 1.5,
-- areaEffects = function (attributes)
-- return
-- {
-- {
-- type = "damage",
-- damage = { amount = 5 * multipler, type = "explosion" }
-- },
-- {
-- type = "damage",
-- damage = { amount = 12 * multipler, type = "poison" }
-- }
-- }
-- end
-- }
-- )
end
--
-- createAttackBall(
-- {
-- name = "ne-mutated-ball",
-- pTint = {r=0.5, g=0.7, b=0.34, a=0.5},
-- sTint = {r=0.5, g=0.97, b=0.34, a=0.5},
-- softSmokeName = softSmoke,
-- type = "projectile",
-- pointEffects = function (attributes)
-- return {
-- {
-- --FIXME
-- type = "create-entity",
-- entity_name = "explosion"
-- }
-- }
-- end,
-- radius = 1.5,
-- areaEffects = function (attributes)
-- return
-- {
-- {
-- type = "damage",
-- damage = { amount = 5 * multipler, type = "explosion" }
-- },
-- {
-- type = "damage",
-- damage = { amount = 12 * multipler, type = "acid" }
-- }
-- }
-- end
-- }
-- )
if not FORCE_OLD_PROJECTILES then
-- createAttackBall(
-- {
-- name = "ne-mutated-ball-direction",
-- pTint = {r=0.5, g=0.7, b=0.34, a=0.5},
-- sTint = {r=0.5, g=0.97, b=0.34, a=0.5},
-- softSmokeName = softSmoke,
-- directionOnly = true,
-- type = "projectile",
-- pointEffects = function (attributes)
-- return {
-- {
-- --FIXME
-- type = "create-entity",
-- entity_name = "explosion"
-- }
-- }
-- end,
-- radius = 1.5,
-- areaEffects = function (attributes)
-- return
-- {
-- {
-- type = "damage",
-- damage = { amount = 5 * multipler, type = "explosion" }
-- },
-- {
-- type = "damage",
-- damage = { amount = 12 * multipler, type = "acid" }
-- }
-- }
-- end
-- }
-- )
end
end
return attacks

View File

@ -1,192 +0,0 @@
local NEUpdates = {}
local FORCE_OLD_PROJECTILES = settings.startup["rampant-forceOldProjectiles"].value
local biterUtils = require("BiterUtils")
function NEUpdates.useNEUnitLaunchers ()
local turrets = data.raw["turret"];
local attackType = (FORCE_OLD_PROJECTILES and "stream") or "projectile"
-- turrets["medium-worm-turret"]["attack_parameters"] = biterUtils.createRangedAttack(
-- {
-- cooldown = 60,
-- range = 25,
-- type = "projectile",
-- min_range = 3,
-- turn_range = 1,
-- fire_penalty = 0,
-- damageModifier = 2.5,
-- scale = 1.2
-- },
-- "ne-infected-unit-ball-" .. attackType .. "-rampant")
-- turrets["big-worm-turret"]["attack_parameters"] = biterUtils.createRangedAttack(
-- {
-- cooldown = 60,
-- range = 30,
-- min_range = 3,
-- type = "projectile",
-- turn_range = 1,
-- fire_penalty = 0,
-- damageModifier = 3,
-- scale = 1.6
-- },
-- "ne-mutated-unit-ball-" .. attackType .. "-rampant")
end
function NEUpdates.useDumbProjectiles()
local turrets = data.raw["turret"];
local attackType = (FORCE_OLD_PROJECTILES and "stream") or "projectile"
local unitPrefix = (FORCE_OLD_PROJECTILES and "") or "direction-"
-- local turret = turrets["small-worm-turret"]
-- turret["attack_parameters"].range = 19
-- turret = turrets["medium-worm-turret"]
-- turret["attack_parameters"].range = 22
-- turret["attack_parameters"] = biterUtils.createRangedAttack(
-- {
-- cooldown = 60,
-- range = 25,
-- min_range = 3,
-- type = "projectile",
-- turn_range = 1,
-- fire_penalty = 0,
-- damageModifier = 4.5,
-- scale = 1.2
-- },
-- "ne-infected-ball-" .. attackType .. "-rampant")
-- turret = turrets["big-worm-turret"]
-- turret["attack_parameters"].range = 27
-- turret["attack_parameters"] = biterUtils.createRangedAttack(
-- {
-- cooldown = 60,
-- range = 30,
-- min_range = 3,
-- turn_range = 1,
-- type = "projectile",
-- fire_penalty = 0,
-- damageModifier = 5.5,
-- scale = 1.6
-- },
-- "ne-mutated-ball-" .. attackType .. "-rampant")
local units = data.raw["unit"]
-- local unit = units["small-spitter-Mk2"]
-- unit["attack_parameters"] = biterUtils.createRangedAttack(
-- {
-- cooldown = 100,
-- range = 13,
-- min_range = 3,
-- turn_range = 1,
-- type = "projectile",
-- fire_penalty = 15,
-- warmup = 30,
-- damageModifier = 1.1,
-- scale = biterUtils.findRunScale(unit),
-- tint = biterUtils.findTint(unit)
-- },
-- "ne-infected-ball-" .. unitPrefix .. attackType .. "-rampant",
-- spitterattackanimation(biterUtils.findRunScale(unit),
-- biterUtils.findTint(unit)))
-- unit = units["small-spitter-Mk3"]
-- unit["attack_parameters"] = biterUtils.createRangedAttack(
-- {
-- cooldown = 100,
-- range = 13,
-- min_range = 3,
-- turn_range = 1,
-- type = "projectile",
-- warmup = 30,
-- fire_penalty = 15,
-- damageModifier = 1.2,
-- scale = biterUtils.findRunScale(unit),
-- tint = biterUtils.findTint(unit)
-- },
-- "ne-mutated-ball-" .. unitPrefix .. attackType .. "-rampant",
-- spitterattackanimation(biterUtils.findRunScale(unit),
-- biterUtils.findTint(unit)))
-- unit = units["medium-spitter-Mk2"]
-- unit["attack_parameters"] = biterUtils.createRangedAttack(
-- {
-- cooldown = 100,
-- range = 14,
-- min_range = 3,
-- type = "projectile",
-- turn_range = 1,
-- warmup = 30,
-- fire_penalty = 15,
-- damageModifier = 2.3,
-- scale = biterUtils.findRunScale(unit),
-- tint = biterUtils.findTint(unit)
-- },
-- "ne-infected-ball-" .. unitPrefix .. attackType .. "-rampant",
-- spitterattackanimation(biterUtils.findRunScale(unit),
-- biterUtils.findTint(unit)))
-- unit = units["medium-spitter-Mk3"]
-- unit["attack_parameters"] = biterUtils.createRangedAttack(
-- {
-- cooldown = 100,
-- range = 14,
-- min_range = 3,
-- turn_range = 1,
-- type = "projectile",
-- warmup = 30,
-- fire_penalty = 15,
-- damageModifier = 2.6,
-- scale = biterUtils.findRunScale(unit),
-- tint = biterUtils.findTint(unit)
-- },
-- "ne-mutated-ball-" .. unitPrefix .. attackType .. "-rampant",
-- spitterattackanimation(biterUtils.findRunScale(unit),
-- biterUtils.findTint(unit)))
-- unit = units["big-spitter-Mk2"]
-- unit["attack_parameters"] = biterUtils.createRangedAttack(
-- {
-- cooldown = 100,
-- range = 15,
-- min_range = 3,
-- type = "projectile",
-- turn_range = 1,
-- warmup = 30,
-- fire_penalty = 15,
-- damageModifier = 3.3,
-- scale = biterUtils.findRunScale(unit),
-- tint = biterUtils.findTint(unit)
-- },
-- "ne-infected-ball-" .. unitPrefix .. attackType .. "-rampant",
-- spitterattackanimation(biterUtils.findRunScale(unit),
-- biterUtils.findTint(unit)))
-- unit = units["big-spitter-Mk3"]
-- unit["attack_parameters"] = biterUtils.createRangedAttack(
-- {
-- cooldown = 100,
-- range = 15,
-- min_range = 3,
-- turn_range = 1,
-- type = "projectile",
-- warmup = 30,
-- fire_penalty = 15,
-- damageModifier = 3.6,
-- scale = biterUtils.findRunScale(unit),
-- tint = biterUtils.findTint(unit)
-- },
-- "ne-mutated-ball-" .. unitPrefix .. attackType .. "-rampant",
-- spitterattackanimation(biterUtils.findRunScale(unit),
-- biterUtils.findTint(unit)))
end
return NEUpdates