OpenXcom Forum
OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Support => Topic started by: Aldorn on March 03, 2023, 08:21:25 pm
-
Hi,
I wonder if there is a possibility to apply some kind of "minRank" to items and armors?
Would be useful for example to make powerful weapons/armors require to be sergent or captain to use/wear it
No idea if it's possible to implement this constraint by script, if some of you have ideas how to deal with that request, I'm clearly interested
-
Items:
1/ wear/equip it - no
2/ use it - partially via soldier skills + Y-scripts: https://openxcom.org/forum/index.php/topic,7974.0.html
3/ make it do no damage, etc. - yes, via Y-scripts, e.g. hitUnit/damageUnit hooks
Armors:
1/ wear it - no
2/ make it "unusable" - theoretically you can give it a negative health regeneration based on rank... so low rank soldiers will die or fall unconscious when using it
PS:
In general, we don't support any kind of Soldier Classes concept in OXC/OXCE.
I don't believe in such concept, classes belong into RPG games.
If you want soldier classes, you'll be better off modding Firaxis-XCOM.
The closest you can get is misuse of soldier types/races + use of soldier skills as developed by Vigilo Confido mod: https://openxcom.org/forum/index.php/topic,8007.0.html
-
Thanks for your answers!