Page 1 of 1

Mod for belt immunity

Posted: Wed Apr 25, 2018 3:37 pm
by Hannu
Is there mod for belt immunity. I found some which work with power armor, but I play with mods and will not have power armor in long time. I would like to just make player permanently immune to belt movements without any bells and whistles. Command would be fine too, I do not care achievements.

Re: Mod for belt immunity

Posted: Mon Jun 18, 2018 2:30 pm
by hyspeed
Hi,

I feel the same way.

I took a look at the mod that fits into power armor and I think it would possible to change it to be based on a different item. It is currently based on the Night Vision item.

Perhaps the pistol?
I will put a comment in the mod discussion.


jon

Re: Mod for belt immunity

Posted: Mon Jun 18, 2018 7:37 pm
by eradicator
Belt-immunuity-equipment isn't "based off" of any other equipment. That mod only copies the recipe. There's no way i know of to make the player immune to belts without equipment. I guess you could add a 1x1 equipment grid to all normal armors that don't have one.

Code: Select all

--UNTESTED
data:extend
  {{
    type = "equipment-grid",
    name = "1x1-equipment-grid",
    width = 1,
    height = 1,
    equipment_categories = {"armor"}
  }}
  
for _,armor in pairs(data.raw.armor) do
  if not armor.equipment_grid then
    armor.equipment_grid = "1x1-equipment-grid"
    end
  end

Re: Mod for belt immunity

Posted: Tue Feb 05, 2019 7:25 pm
by BlueTemplar
You also need a

Code: Select all

	armor.stack_size = 1
, but it seems to work !
(I'll have to do the migrations too I guess ?)

Here you go, can't believe that nobody ever bothered to do that before ?!?

(Will test with magu5026's BeltImmunity ASAP...)

Re: Mod for belt immunity

Posted: Tue Feb 05, 2019 9:19 pm
by BlueTemplar
As I expected, BeltImmunity doesn't work without power...
So I changed the minimum grid from 1x1 to 3x2, so that you can power it with daydev's burner Equipment+: Portable Engine !

Here it is in action with the Fire Armor from Gangsir's Modding Tutorial :


Grid_ALL_the_Armors_16.0.1.zip
(2.64 KiB) Downloaded 111 times
(I will need to make adjustments to BeltImmunity and EquipmentPlusPortableEngine so that they are easier to research and to make...)

P.S.: The video doesn't show up for me?