Can there be a better way to do Trek-style shields?

Oooh! Let me see what I can do with this :smiley:

Thank you!

//EDIT

So, performing logic in the ship file is no good for monitoring and then setting armour families based on health percentage. It seems that the logic in the file is only checked once, on load. Which makes sense. Changing the priority of the gamerule defaults or the ship defaults in the props folder is irrelevant as they will only be checked once on load.

The custom command can do all the same stuff, and it’s checked regularly, but you can’t set the armour family from within the custom command. Pointing the armour family in the ship file at something in the custom command is pretty pointless too, as that is (again) only run through once.

Looks like my lead led nowhere… no changing armour family on the fly with what’s there now :frowning:

Unless I missed something?

No, I think you have it - changing that on the fly was never considered. That data isn’t stored in the ships - it is stored in the ship - the shared type. Promoting that data to a per-ship variable is not hard, though it likely would make old saves angry.

If there are a list of things you wish could change per-ship, instead of per-ship-type, during gameplay - make a new post under the public preview and list them (and explain why). Changing those values is also a bit harder in MP because we have to make sure they change the same way, at the same time for everyone - so it is a bit more effort…

4 Likes

Done! Thank you for the to-do listing :slight_smile:

2 Likes