Hey guys! Following a very interesting discussion with our very own Earendil, I post this here:
So, in the game, if you take off the two handed property from any bow, you can use it simultaneously with a shield. Like in the well-known images of the Eastern horse archers the player or any troop with those two types of items equipped can shoot with a bow while having a shield equipped in the other hand. It's also possible then to block with it like with any other weapon type instead of a bow. It's a very interesting idea and quite immersive, especially in historical themed mods at which there are archer units on horse.
The only problem with it is that the game, of course, allows the player to equip any kind of shield with any bow that lacks the two_handed property, even a humongous tower shield; which is not really believable or immersive.
So, we've been thinking of a mission template trigger, one that would check if any number of bows is equipped in the four item slots and then go on checking if specific shields are also in these slots. Then, when the player would want to equip the bow with a shield, if this shield was in the list of the 'forbidden' items, it simply would un-equip it.
This is pretty much a theoretical discussion, a brainstorming session, if you like. Speaking for myself, I would be interested in the most efficient way possible, performance-wise, not just anything that works.
Now, the way I (with the valuable additions of Earendil) was thinking about it:
- make a mission template trigger, which would run all the time, without intervals, for the duration of the mission.
- it would check if player has any of the bows without the two_handed porperty equipped (troop_has_item_equipped)
- if it has one such bow equipped, it would go on to check if it has a specific shield in any of the 4 item slots and unequip it. That could be done with consecutive this_or_next or better, imo, with a is_between, if the shields are one after the other.
I am looking forward to hear thoughts and ideas, thanks!
So, in the game, if you take off the two handed property from any bow, you can use it simultaneously with a shield. Like in the well-known images of the Eastern horse archers the player or any troop with those two types of items equipped can shoot with a bow while having a shield equipped in the other hand. It's also possible then to block with it like with any other weapon type instead of a bow. It's a very interesting idea and quite immersive, especially in historical themed mods at which there are archer units on horse.
So, we've been thinking of a mission template trigger, one that would check if any number of bows is equipped in the four item slots and then go on checking if specific shields are also in these slots. Then, when the player would want to equip the bow with a shield, if this shield was in the list of the 'forbidden' items, it simply would un-equip it.
This is pretty much a theoretical discussion, a brainstorming session, if you like. Speaking for myself, I would be interested in the most efficient way possible, performance-wise, not just anything that works.
Now, the way I (with the valuable additions of Earendil) was thinking about it:
- make a mission template trigger, which would run all the time, without intervals, for the duration of the mission.
- it would check if player has any of the bows without the two_handed porperty equipped (troop_has_item_equipped)
- if it has one such bow equipped, it would go on to check if it has a specific shield in any of the 4 item slots and unequip it. That could be done with consecutive this_or_next or better, imo, with a is_between, if the shields are one after the other.
I am looking forward to hear thoughts and ideas, thanks!
Last edited by a moderator: