OpenXcom Forum

Modding => OXCE Suggestions NEW => OpenXcom Extended => OXCE Suggestions Archive => Topic started by: efrenespartano on February 13, 2019, 10:28:38 am

Title: [Suggestion] soldierType item restriction
Post by: efrenespartano on February 13, 2019, 10:28:38 am
This idea arises from the need to restrict certain items, such as weapons, to certain soldierType. This option would be incredibly useful in mods where soldier classes are actively used, such as Luke83's mod, OXC Factions. The use I intend to give them is that I want to specify certain types of weapons for Stormtrooper soldiers. In particular, submachine guns and machine pistols. That would prevent other soldierType from using weapons designed specifically for these classes, which would encourage their use.  :D

I also intend to use it with the Medic class soldierType, which would use more specialized equipment (like field surgery kit or adrenaline syringes) than a simple medikit, which any soldier can use.

In another use, more focused on other mods, you could recreate the design of the XCOM EU2012 classes, assigning shotguns for the Assault class, precision rifles for the Sniper class, LMG for Support and more. IIRC, this has been a dream in the OXC community for a long time.

I hope it is not very complicated and that someone else, besides me, likes this idea. It would really be very useful in my project and in others that seek to divide soldiers into classes and give them their own weapons.  ;D

Code: [Select]
items:
  - type: STR_LUGER_ARTILLERY
    allowedsoldierType: STR_STORMTROOPER
Title: Re: [Suggestion] soldierType item restriction
Post by: drages on February 13, 2019, 02:10:06 pm
Some weapon restriction would be nice. It would help to create more soldier types with special abilities too. But it would be better if other types can use the weapon but get penalties too. So a normal soldier can use a sniper rifle but with penalty, like maybe much more tu with acc penalty.
Title: Re: [Suggestion] soldierType item restriction
Post by: efrenespartano on February 14, 2019, 02:08:03 am
Some weapon restriction would be nice. It would help to create more soldier types with special abilities too. But it would be better if other types can use the weapon but get penalties too. So a normal soldier can use a sniper rifle but with penalty, like maybe much more tu with acc penalty.
Hey! That's even better!
I'm glad someone liked the idea. I hope it gets more attention and the devs implement it soon!

Enviado desde mi Blade A510 mediante Tapatalk

Title: Re: [Suggestion] soldierType item restriction
Post by: Ethereal on February 14, 2019, 08:34:10 am
I support the idea in any form of implementation. And it is better to have both one and the other for flexibility.
Title: Re: [Suggestion] soldierType item restriction
Post by: davide on February 14, 2019, 08:51:23 am
+10

It can be usefull into a lot of mods, such as Imperial Guard cannot use weapons of Marines and so on

Restrictions could be usefull to Armors and Crafts too ... but are 3 different request
Title: Re: [Suggestion] soldierType item restriction
Post by: luke83 on February 14, 2019, 11:34:31 am
as efrenespartano stated, this could be very useful in my current mod or if i ever pick up FOXY again.
Title: Re: [Suggestion] soldierType item restriction
Post by: mumble on February 19, 2019, 06:05:02 am
I'd agree if there was a soft and hard lock out for items. Ie, you can restrict extremely fancy stuff to be a brick to off class, but marine weapons are just unwieldy in hands of non marines.