Hi all, can someone help me to create a mod that adds equipment grid to early armor (light and heavy)
my coding skills in lua are on the same level as Chinese speaking skill in other words zero!
so if some has the will and time to walk me trough it i would be grateful
Equipment Grid help
Re: Equipment Grid help
That's how a dev does it for his mod:
https://github.com/Klonan/Construction_ ... e.lua#L317
The function adds the tiny equipment grid (1x1) to all armor without any else skips it.
line 327 defines the grid
https://github.com/Klonan/Construction_ ... e.lua#L317
The function adds the tiny equipment grid (1x1) to all armor without any else skips it.
line 327 defines the grid
Re: Equipment Grid help
Thx, i assume i would have to change the "drone" part with "light-armor,Hevy-armor"?steinio wrote: ↑Sun May 05, 2019 1:15 pmThat's how a dev does it for his mod:
https://github.com/Klonan/Construction_ ... e.lua#L317
The function adds the tiny equipment grid (1x1) to all armor without any else skips it.
line 327 defines the grid
Re: Equipment Grid help
Ok so managed to create equipment grid for the early armor's (light and Heavy) but now i cant figure out why it wont accept the equipment?!
i know i have to define what equipment is acceptable, but for the life of me i cant figure that part out
i used other mods and a couple of tutorials and a lot of trial and error to figure it out to this stage
can some one have a look at this and help me out? here is a link to the mod
https://www.dropbox.com/s/ppcf1ereraed3 ... 1.zip?dl=0
i know i have to define what equipment is acceptable, but for the life of me i cant figure that part out
i used other mods and a couple of tutorials and a lot of trial and error to figure it out to this stage
can some one have a look at this and help me out? here is a link to the mod
https://www.dropbox.com/s/ppcf1ereraed3 ... 1.zip?dl=0