Providing the player with new tools or adjusting the game interface, without fundamentally changing gameplay.
Armors or armor equipment.
Change blueprint behavior.
I was able to export my grid to a template, but I'm unable to import it again! No button shows when I hold my template in hand, and my grid window is opened! I also have all necessary equipment in my inventory!
I tested with the character's grid and spidertron's grid!
Thanks.
'ello Dominiquini,
Hm... That's strange. Just to confirm - you click with a blank blueprint on the export button (with the little engineer silhouette), and then buttons do not swap over to import button?
If so, could you post me the blueprint string here?
Is the equipment grid from where you did the export the same size as the one you want to import the equipment into?
Oh, and if you happen to have some modded equipment in the exported template, would be good to know from which mod (bonus points if you can replicate the bug and provide blueprint with just the vanilla equipment).
As soon a click to export, all buttons disappear:
Grid Template:
Grid Template With Borders:
After exporting, I tried removing all my equipments from my grid and put in my inventory. Then tried to import again, but the buttons don't show up!
Thanks
I have custom equipments, but I tried to put only vanilla equipments in my grid, and the import function still doesn't work!
I'm also using a custom armor with much more slots for equipments!
Thanks.
Ok, those two blueprints you posted seem super non-vanilla to me, and trying to import them without the mods you have installed locally won't work for me.
So, let's see if something like this would be possible:
P.S.
Just to emphasize - I am unable to reproduce the issue locally, that's why I'm asking for blueprints, mods etc, I'm assuming it's something related to interaction with other mods :)
Ok, I have skimmed over your previous post, and missed the part about custom armor - but it would still be useful to get both a non-working all-vanilla blueprints and your mod list/Factorio version :)
I made more tests and found out the the problem is not custom equipments. The problem is custom armors. I was able to make this mod work with custom equipments on vanilla armor, but not with vanilla equipment on custom armor.
Is there any plans to support custom armors?
I'm using armor from this mod: https://mods.factorio.com/mod/Power%20Armor%20MK3
And custom spidertrons? The spidertron that I tested and it's not working was provided by this mod: https://mods.factorio.com/mod/spidertron-extended [Spidertron Extended - Factorio Mods]
Thanks
Ah, now we're talking. Thanks for going through the testing, I'll install the Power Armor MK3 mod and try to reproduce locally.
Theoretically, the mod should not care about whether the equipment grid belongs to vanilla or non-vanilla armor, the code is generic - unless I've missed something.
There is one known issue currently related to buttons not rendering/not being clickable, but this would impact both export and import buttons, so I don't think it's quite it.
I took some screenshots to try explain the problem better: https://imgur.com/a/RWFbDD9
Let me know if there's anything else I can do to help!
Thanks
Ok, I managed to reproduce the bug locally, and the fix has already been implemented in the new release :)
Turned out that I hard-coded the equipment grid width to 10 in the template validation function.
I haven't tested against the spidertron mod you linked, but it should be the same issue. Could you give the new version a go, and just let me know if this particular issue got fixed for you?
P.S.
If you run into more issues, feel free to open up a new thread - you're probably the early mod adapter :)
Oh, if the import button does not show-up on the custom spidertron window, try scaling the gui (default controls are Control + Numpad +
and Control + Numpad -
). Unfortunately, there's a slight bug in the game engine's handling of these anchored GUI elements (basically if the base window is too tall, the anchored elements at bottom won't render or won't be clickable).
I've opened up a bug report on forums, but not sure if/how quickly it will be addressed. In the meantime I might consider resorting to showing the buttons on the left side of window instead. but we'll see.
It's working now, even in the custom spidertron. I don't needed to scale the GUI!
Thanks for the fix!
Great mod!
I'm glad someone's already finding the mod useful - most of these template mods were about scratching my own itch. :)
Thanks for reporting the bug and letting me know the fix works, I'll go ahead and mark/lock the topic as fixed. If you run into more issues, just open up a new one. :)