OpenXcom Forum
OpenXcom => Suggestions => Topic started by: XOps on August 30, 2015, 10:30:34 pm
-
I've noticed that a list order cannot be applied when selecting an armor for a soldier in both the craft screen and the soldier screen. It also moves any armor with storeItem: STR_NONE to the top of the list by default. It would be awesome for us modders (ie probably only me ;D) if we could apply a list order to our armor sets for the equip screen.
-
It's dependant on the order of Armors, top-down. To reorder them, you need to do this physically, in your armors.rul file :)
-
I have. The thing is that I want to add several default armors to the list that are not dependent on items (basically like the default coveralls) by using storeItem: STR_NONE. The problem is that any armor with storeItem: STR_NONE is automatically moved to the top of the list above armors with item requirements regardless of their order in the ruleset.
-
Do you mean that, except for this cosmetic issue, Openxcom already supports having variants of unarmored soldiers ? So you don't need to buy/build/store a specific number of red shirts, blue shirts, etc, all colors are always available in the list ?
-
:) Yep. That's why this came up (see attached image. Note that there is no number next to the armor). I am moving all of my kevlar vests and beret uniforms into the default armor list since I have never used them as items. All a modder has to do is to set up the armor like a normal armor and just use storeItem: STR_NONE and it appears in armor selection list without any item needed in your base. However, don't delete the original armor STR_NONE_UC or it crashes the game. The game is hardcoded to equip that armor by default.
-
That's awesome! Brings so many ideas... :)
-
Ahh, this is not as good as I hoped, because the first item with the list is stuck with a label of "NONE" You can't rename it to get a list:
- URBAN UNIFORM <- rookies are recruited with it
- CAMO UNIFORM
- BLUE UNIFORM
(Because the string STR_NONE_UC is used to show things like DIRECTION: NONE, or ASSIGNED CRAFT: NONE.)
Oh well. This would only have made a difference in the very early game, anyway.
-
There is a place in the soldiers.rul to define their default armor, but it doesn't seem to work.
-
Armors use their item list order.
-
and "none" isn't an item