How do i create a suit/armor with integrated power supply?
-
- Inserter
- Posts: 33
- Joined: Sun Dec 17, 2017 8:33 pm
- Contact:
How do i create a suit/armor with integrated power supply?
I want to create a suit with an integrated solar panel type energy provider and a integrated battery. Can someone pls help me?
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: How do i create a suit/armor with integrated power supply?
With the current modding interfaces, I don't think you can, the suit itself accepts modules that does things, but can't do anything beyond being armor itself.
Maybe you should request for it to be possible in the modding interface requests subforum?
Maybe you should request for it to be possible in the modding interface requests subforum?
-
- Inserter
- Posts: 33
- Joined: Sun Dec 17, 2017 8:33 pm
- Contact:
Re: How do i create a suit/armor with integrated power supply?
Thanks for the reply. I will ask the devs. Can you make an Solar modul with integrated Battery?
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: How do i create a suit/armor with integrated power supply?
...... maaaaybe, I've never tried. probably not.
- Ranakastrasz
- Smart Inserter
- Posts: 2124
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: How do i create a suit/armor with integrated power supply?
I've done something similar, in my Modular Armor revamp, but it was horrifically bad code, inefficient, and probably not worth the effort.
Namely the custom burner generators and conduits, before burner generators existed. It was pretty much a per-tick loop that looked at all player's armor's grids, and determined how much power to add, then looped through all items in the grid and added power to them.
Horrifically inefficient, but I couldn't find an alternative at the time.
So it is possible, absolutely. I have no idea how to do it efficiently.
Namely the custom burner generators and conduits, before burner generators existed. It was pretty much a per-tick loop that looked at all player's armor's grids, and determined how much power to add, then looped through all items in the grid and added power to them.
Horrifically inefficient, but I couldn't find an alternative at the time.
So it is possible, absolutely. I have no idea how to do it efficiently.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
-
- Inserter
- Posts: 33
- Joined: Sun Dec 17, 2017 8:33 pm
- Contact:
Re: How do i create a suit/armor with integrated power supply?
Could i just add a buffer to the solar equipment?
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: How do i create a suit/armor with integrated power supply?
It's what I'd try, adding buffer tags to the energy_source table, but I don't know if it would work or not. you should try it.
- Ranakastrasz
- Smart Inserter
- Posts: 2124
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: How do i create a suit/armor with integrated power supply?
I would say no, but it may have changed. That was one of the first things I tried back in ?0.12? or whenever I started my Modular armor mod, for custom generators. Had to use modified batteries instead. But who knows these days.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16