1
0
mirror of https://github.com/veden/Rampant.git synced 2024-12-26 20:54:12 +02:00

96acef6: Reduced sticker sizes applied to player entities

This commit is contained in:
Aaron Veden 2023-01-15 16:11:11 -08:00
parent e0955458ac
commit 6ac7083773
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
3 changed files with 4 additions and 6 deletions

View File

@ -30,6 +30,7 @@ Version: 3.2.0
- Reduced max mod setting for enemy variations to 7 and created migrations for any variations greater than 8
- Reduced range of enemy structures and unit sizes
- Moved new enemies creation from data-update-final to data stage
- Reduced the size of stickers applied by Rampant new enemies to player entities
Bugfixes:
- Removed layer-13 from projectiles
- script_raised_built now looks for enemy faction and registers as needed

View File

@ -18,7 +18,6 @@ local fireUtils = {}
-- imported
local biterUtils = require("BiterUtils")
local colorUtils = require("ColorUtils")
local imageUtils = require("ImageUtils")

View File

@ -42,7 +42,7 @@ function stickerUtils.makeSticker(attributes)
direction_count = 1,
blend_mode = "normal",
animation_speed = 2,
scale = 0.4,
scale = 0.175,
tint = attributes.tint2 or { r = 1, g = 1, b = 1, a = 0.35 },
shift = math3d.vector2.mul({-0.078125, -1.8125}, 0.1),
},
@ -51,11 +51,9 @@ function stickerUtils.makeSticker(attributes)
target_movement_modifier_from = attributes.stickerMovementModifier or 1,
target_movement_modifier_to = 1,
vehicle_speed_modifier_from = (attributes.stickerMovementModifier and math.min(attributes.stickerMovementModifier * 1.25, 1)) or 1,
-- vehicle_speed_modifier_from = attributes.stickerMovementModifier or 1,
vehicle_speed_modifier_to = 1,
-- vehicle_friction_modifier_from = 1.5,
-- vehicle_friction_modifier_from = 1,
-- vehicle_friction_modifier_to = 1,
stickers_per_square_meter = 2,
damage_per_tick = attributes.stickerDamagePerTick and { amount = attributes.stickerDamagePerTick or 100 / 60,
type = attributes.stickerDamagePerTickType or "fire" },