Page 1 of 1

How do i create a suit/armor with integrated power supply?

Posted: Sat Feb 16, 2019 6:40 pm
by julius1701
I want to create a suit with an integrated solar panel type energy provider and a integrated battery. Can someone pls help me?

Re: How do i create a suit/armor with integrated power supply?

Posted: Mon Feb 18, 2019 9:29 am
by bobingabout
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?

Re: How do i create a suit/armor with integrated power supply?

Posted: Mon Feb 18, 2019 4:15 pm
by julius1701
Thanks for the reply. I will ask the devs. Can you make an Solar modul with integrated Battery?

Re: How do i create a suit/armor with integrated power supply?

Posted: Fri Feb 22, 2019 11:24 am
by bobingabout
...... maaaaybe, I've never tried. probably not.

Re: How do i create a suit/armor with integrated power supply?

Posted: Fri Feb 22, 2019 3:45 pm
by Ranakastrasz
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.

Re: How do i create a suit/armor with integrated power supply?

Posted: Fri Feb 22, 2019 5:09 pm
by julius1701
Could i just add a buffer to the solar equipment?

Re: How do i create a suit/armor with integrated power supply?

Posted: Wed Feb 27, 2019 9:34 am
by bobingabout
julius1701 wrote: Fri Feb 22, 2019 5:09 pm Could i just add a buffer to the solar equipment?
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.

Re: How do i create a suit/armor with integrated power supply?

Posted: Thu Feb 28, 2019 8:01 pm
by Ranakastrasz
julius1701 wrote: Fri Feb 22, 2019 5:09 pm Could i just add a buffer to the solar equipment?
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.