Mod for belt immunity

Looking for a mod? Have a review on a mod you'd like to share?
Post Reply
Hannu
Filter Inserter
Filter Inserter
Posts: 550
Joined: Thu Apr 28, 2016 6:27 am
Contact:

Mod for belt immunity

Post by Hannu » Wed Apr 25, 2018 3:37 pm

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.

hyspeed
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Sun Jun 05, 2016 10:18 pm
Contact:

Re: Mod for belt immunity

Post by hyspeed » Mon Jun 18, 2018 2:30 pm

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

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 2604
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Mod for belt immunity

Post by eradicator » Mon Jun 18, 2018 7:37 pm

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

User avatar
BlueTemplar
Filter Inserter
Filter Inserter
Posts: 266
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: Mod for belt immunity

Post by BlueTemplar » Tue Feb 05, 2019 7:25 pm

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...)
Attachments
Grid_ALL_the_Armors_16.0.0.zip
(2.13 KiB) Downloaded 1 time

User avatar
BlueTemplar
Filter Inserter
Filter Inserter
Posts: 266
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: Mod for belt immunity

Post by BlueTemplar » Tue Feb 05, 2019 9:19 pm

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 1 time
(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?
Attachments
BeltImmunity_with_FireArmor.mp4
(12.15 MiB) Downloaded 12 times

Post Reply

Return to “Questions, reviews and ratings”

Who is online

Users browsing this forum: No registered users and 2 guests