Scooty's Armor Swap


Adds a key binding (default: the "\" key) that equips the next armor in your inventory and sets your player color to the color that was last used with that armor. Rapidly cycle among color-coded armors specialized for different purposes!

Content
9 months ago
1.1
4.20K
Armor

b ✅ no change jetpack color (Closed)

9 months ago
(updated 9 months ago)

player color change aye, but the jetpack color remain stale!

to fix, add this line in jetpack/scripts/jetpack-graphics-sound.lua

rendering.set_color(jetpack.animation_mask, jetpack.character.player and jetpack.character.player.color or jetpack.character.color )

at the appropriate place in the block starting with

if (not jetpack.animation_mask) or not rendering.is_valid(jetpack.animation_mask) then

possibly, this bug report is for earendel; my guess is that jetpack should have that line, or if it helps performance it should cache .color and run that line if .color changes. but i don't discord and their mod discussion pages r locked and say to discord

9 months ago

Thanks naiad, I'll ask on the SE discord if they can make this update.

9 months ago

Hey Naiad, your fix seems to work perfectly! I've added it to my local copy of jetpack and I'm loving the change.

I've filed a bug report here: https://github.com/EarendelDevelopers/factorio-mods/issues/338

And let them know about it on the discord here: https://discord.com/channels/419526714721566720/1072720945480994826/1207194038676094996

9 months ago

oh there's a github! i'll github in the future

but hey, give me credit for the fix, i do the find it

9 months ago

They responded that it's something I can fix on my end! I'll try and get that out today.

9 months ago
(updated 9 months ago)

This is fixed in v1.4.0. Thanks for your help!! Could you please download the update and let me know if it's working for you?

9 months ago

it work, thx for fix

no thx for no credit

9 months ago

You were credited in the changelog notes for 1.4.0:
https://mods.factorio.com/mod/scootys-armor-swap/changelog

New response