Author Topic: [Suggestion] soldierType item restriction  (Read 4554 times)

Offline efrenespartano

  • Commander
  • *****
  • Posts: 765
  • I know a lot about the law and other lawyerings.
    • View Profile
[Suggestion] soldierType item restriction
« 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

Offline drages

  • Colonel
  • ****
  • Posts: 150
    • View Profile
Re: [Suggestion] soldierType item restriction
« Reply #1 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.

Offline efrenespartano

  • Commander
  • *****
  • Posts: 765
  • I know a lot about the law and other lawyerings.
    • View Profile
Re: [Suggestion] soldierType item restriction
« Reply #2 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


Offline Ethereal

  • Commander
  • *****
  • Posts: 684
    • View Profile
Re: [Suggestion] soldierType item restriction
« Reply #3 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.

Offline davide

  • Commander
  • *****
  • Posts: 565
    • View Profile
Re: [Suggestion] soldierType item restriction
« Reply #4 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

Offline luke83

  • Commander
  • *****
  • Posts: 1559
    • View Profile
    • openxcommods
Re: [Suggestion] soldierType item restriction
« Reply #5 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.

Offline mumble

  • Colonel
  • ****
  • Posts: 338
    • View Profile
Re: [Suggestion] soldierType item restriction
« Reply #6 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.