Your idea is actually excessively complicated compared to what the original poster said. There is no need for any dummy or whatever. You're going to need the source of glamour anyway. So just use it.
Have all the weapons that come with two parts (bow and arrows, two daggers, two "fist" weapons etc.) recognize having two models, naming each model "main hand" and "off hand". It's possible it's already like that for the sake of placing the models in the right hands, so there may not be any change needed.
If you equip an item normally in the main hand it uses both models as normal, as it is now.
If you equip an item in the off hand, then only its off hand model is used to replace the off hand model of whatever is held. A simple "glamour" that uses the existing system. No stats are added.
Basically, there are three things that need to be done for this (one of which may already be in the game).
1) Naming the models as main hand and off hand within the code. This makes parts of a single item possible to glamour over and without separating the item into two.
2) Change the flag either for the weapons or the off-hand slot to allow main-hand weapons to be put in it, with no stats added. Changing the slot is obviously way less time consuming.
3) Make a system that automatically glamours over the "off-hand" weapon of what's equipped in the main slot with the "off-hand" weapon of whatever is used in the off-hand slot. This is the only really new piece of coding, but one that uses parts of glamour system (without the prism though).
All in all, provided that the models aren't "fused" somehow into a single file, this is work for a single day for a single person. Most time consuming is changing the flags for models of every game, but they must have some sort of a database, so it's mainly just copy/paste work that'll take four or five seconds per weapon. A pain, but not really hard.



Reply With Quote

