XCOM 2
226 oy
[WOTC] Open Class Weapon Restrictions Config
   
Ödül
Favorilere Ekle
Favorilere Eklendi
Favorilerden Çıkar
Dosya Boyutu
Gönderilme
197.909 KB
1 May 2019 @ 7:10
1 Değişiklik Notu ( görüntüle )
Bu öğeyi kullanmak için DLC'ye ihtiyacınız var.

İndirmek için abone ol
[WOTC] Open Class Weapon Restrictions Config

Açıklama
This mod contains the configuration file for [WOTC] Open Class Weapon Restrictions.
..\steamapps\workshop\content\268500\1728899282\Config\XComWOTCOpenWeaponRestrictions.ini
Additionally, this mod also contains XComClassData.ini, which can be used to change allowed equipment for any individual class. To be clear, you don't need this mod to do that, and any XComClassData.ini in any other mod can be used for the same purpose just as well, this is just for your convenience.

Using a separate mod to configure OCWR is more convenient, since any updates done to OCWR would reset your configuration.

THIS mod will never be updated, so it should be safe to store your OCWR configuration without making backups every 5 minutes. I still, of course, recommend to make backups in case you need to reinstall XCOM 2 or whatnot.

HOW OCWR WORKS

The mod pulls information about all classes, and then provides access to additional weapon types, looking at what weapon types are already available to the class.

You specify one or several weapon types that are already available to a class, and one or several weapon types you want to grant the access to. If a class can use at least one of the allowed weapons, OCWR will grant them access to all specified weapons.

For example:
+GRANT_WEAPON=(AllowedWeaponType[0]="grenade_launcher", GrantWeaponType[0]="rifle", Slot[0]=eInvSlot_PrimaryWeapon)]
This configuration will allow any class that can use Grenade Launchers to also use an Assault Rifle in their primary weapon slot, which is useful if you use my Underbarrel Attachments mod.
If you don't specify the Slot, then the new weapon type will be open for the same slot. For example:
+GRANT_WEAPON=(AllowedWeaponType[0]="sword", GrantWeaponType[0]="combatknife")
This allows any class that uses a Sword to also use a LW2 Combat Knife in the same slot.
Finally, if you don't specify the Allowed Weapon, then the new weapon type will be open for ALL classes. For example:
+GRANT_WEAPON=(GrantWeaponType[0]="bullpup", Slot[0]=eInvSlot_PrimaryWeapon)
You do have to specify a Slot in that case.

KNOWN ISSUES

Without additional mods that change that, Pistols do not have Standard Pistol Shot ability. It is instead a Squaddie Perk for Sharpshooters. So if you want to allow non-Sharpshooter classes to use Pistols, you need to add the Pistol Shot ability to Pistols, or the other classes will be able to only take Overwatch with Pistols.

There are many mods that (can) address this issue, including, but not limited to, Pistols Get Pistol Shot, Autopistol Overhaul, Dedicated Pistol Slot, Primary Secondaries and Weapon Skin Replacer.

Swords suffer from the same issue. They are missing the Sword Slash ability, which is the Ranger's Squaddie perk.

Autopistols, however, do not have this issue.
99 Yorum
[EXD] Fox_pl 9 Şub @ 10:34 
Is there any way to give ripjack for reapers? I wrote this, and it doesn't work:
[Reaper X2SoldierClassTemplate]
+AllowedWeapons=(SlotType=eInvSlot_SecondaryWeapon, WeaponType="wristblade")
Iridar  [yaratıcı] 11 Oca 2023 @ 8:01 
You're correct, it's not something you can do with this mod.
aivo 11 Oca 2023 @ 7:36 
True it does not look very good (shotgun hanging in front) but it gets the job done.
I have this emotions with pistols: they are bad :)
Could there be an option to make myself a secondary weapon and copy from Shotgun. I guess it not that easy as you have to specify gun placement also and which animations to use.
Iridar  [yaratıcı] 10 Oca 2023 @ 18:37 
Yeah, but it will not look good.
aivo 10 Oca 2023 @ 14:42 
Used this mod to put shotgun to utility slot
https://steamproxy.net/sharedfiles/filedetails/?id=2848089939
aivo 10 Oca 2023 @ 14:07 
Would it be possible to add shotgun as secondary weapon?
Drake 27 Ara 2022 @ 16:23 
can this mod be used with the ballistics shield mod? also im a bit lost as where can i change some of the things as i want any class to use any weapon.
Totsnuk 21 Kas 2022 @ 18:15 
Oh, thanks.
Iridar  [yaratıcı] 21 Kas 2022 @ 3:42 
It needs to be GrantWeaponType[0]="SMG"
Totsnuk 21 Kas 2022 @ 0:41 
I have it in the XcomWOTCOpenWeaponRestrictions.ini but it's not doing anything