XCOM 2
Lucubrations Infantry Class
Sergeant Kelly 2017 年 2 月 12 日 上午 9:49
LW2 Version Built
Hi there! I enjoyed this class a lot in base Xcom, so I modified it to work correctly with Long War 2! I corrected the pistol skills to use LW2 pistols, gave it a combat knife, and gave it a tree of generally defensive perks for the middle tree. It should be sufficiently different than the LW2 Ranger class. Hope this helps those of you that want to keep using this class!

If you paste the below code in the file XComClassData.ini in steamapps\workshop\content\268500\632648555\Config, it'll update the class to my LW2 version.

[XComGame.X2SoldierClass_DefaultClasses]
+SoldierClasses="Infantry"


;************************************************************************************************************
;*** Infantry Class Data ***
;************************************************************************************************************

[Infantry X2SoldierClassTemplate]
+bMultiplayerOnly=0
+ClassPoints=4
+IconImage="img:///UILibrary_InfantryClass.class_infantry"
+NumInForcedDeck=1
+NumInDeck=2
+KillAssistsPerKill=4
+SquaddieLoadout="SquaddieInfantry"
+AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="shotgun")
+AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="rifle")
+AllowedWeapons=(SlotType=eInvSlot_SecondaryWeapon, WeaponType="combatknife")
+AllowedWeapons=(SlotType=eInvSlot_HeavyWeapon, WeaponType="heavy")
+AllowedArmors="soldier"
+bAllowAWCAbilities=1

; squaddie
+SoldierRanks=( aAbilityTree=( (AbilityName="LightEmUp" ), \\
(AbilityName="KnifeFighter", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon), \\
(AbilityName="Quickdraw", ApplyToWeaponSlot=eInvSlot_Utility, UtilityCat="pistol") \\
), \\
aStatProgression=( (StatType=eStat_Offense,StatAmount=3), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_CombatSims,StatAmount=1)) )
; corporal
+SoldierRanks=( aAbilityTree=( (AbilityName="Opportunist", ApplyToWeaponSlot=eInvSlot_Unknown), \\
(AbilityName="Combatives", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon), \\
(AbilityName="Harrier", ApplyToWeaponSlot=eInvSlot_Unknown) ), \\
aStatProgression=( (StatType=eStat_Offense,StatAmount=2), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=0), (StatType=eStat_CombatSims,StatAmount=0)) )
; sergeant
+SoldierRanks=( aAbilityTree=( (AbilityName="Suppression_LW", ApplyToWeaponSlot=eInvSlot_PrimaryWeapon), \\
(AbilityName="Fortify" ), \\
(AbilityName="Flare", ApplyToWeaponSlot=eInvSlot_Unknown) ), \\
aStatProgression=( (StatType=eStat_Offense,StatAmount=3), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=0), (StatType=eStat_CombatSims,StatAmount=0)) )
; lieutenant
+SoldierRanks=( aAbilityTree=( (AbilityName="ZoneOfControl", ApplyToWeaponSlot=eInvSlot_Utility, UtilityCat="pistol"), \\
(AbilityName="Formidable", ApplyToWeaponSlot=eInvSlot_Unknown), \\
(AbilityName="StaggeringShot", ApplyToWeaponSlot=eInvSlot_PrimaryWeapon) ), \\
aStatProgression=( (StatType=eStat_Offense,StatAmount=2), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=1), (StatType=eStat_Hacking,StatAmount=0), (StatType=eStat_CombatSims,StatAmount=0)) )
; captain
+SoldierRanks=( aAbilityTree=( (AbilityName="ShakeItOff", ApplyToWeaponSlot=eInvSlot_Unknown), \\
(AbilityName="HardTarget", ApplyToWeaponSlot=eInvSlot_Unknown), \\
(AbilityName="StickAndMove", ApplyToWeaponSlot=eInvSlot_PrimaryWeapon) ), \\
aStatProgression=( (StatType=eStat_Offense,StatAmount=3), (StatType=eStat_HP,StatAmount=0), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=5), (StatType=eStat_CombatSims,StatAmount=0)) )
; major
+SoldierRanks=( aAbilityTree=( (AbilityName="EstablishedDefensesOverwatch"), \\
(AbilityName="TacticalSense" ), \\
(AbilityName="EscapeAndEvadeActive") ), \\
aStatProgression=( (StatType=eStat_Offense,StatAmount=2), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=0), (StatType=eStat_CombatSims,StatAmount=0)) )
; colonel
+SoldierRanks=( aAbilityTree=( (AbilityName="RapidFire", ApplyToWeaponSlot=eInvSlot_PrimaryWeapon), \\
(AbilityName="DeepReserves", ApplyToWeaponSlot=eInvSlot_Unknown), \\
(AbilityName="HitAndRun", ApplyToWeaponSlot=eInvSlot_PrimaryWeapon), \\
aStatProgression=( (StatType=eStat_Offense,StatAmount=1), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=1), (StatType=eStat_Hacking,StatAmount=0), (StatType=eStat_CombatSims,StatAmount=0)) )

; brigadier
+SoldierRanks=( aAbilityTree=( (AbilityName="FireForEffect", ApplyToWeaponSlot=eInvSlot_PrimaryWeapon), \\
(AbilityName="RunAndGun_LW"), \\
(AbilityName="ExplosiveAction", ApplyToWeaponSlot=eInvSlot_Unknown) \\
), \\
aStatProgression=((StatType=eStat_Offense,StatAmount=1), (StatType=eStat_HP,StatAmount=0), (StatType=eStat_Strength,StatAmount=1), (StatType=eStat_Hacking,StatAmount=0), (StatType=eStat_CombatSims,StatAmount=0)) \\
)
最后由 Sergeant Kelly 编辑于; 2017 年 3 月 29 日 上午 8:07
< >
正在显示第 1 - 15 条,共 17 条留言
dmc32 2017 年 2 月 12 日 下午 4:42 
thanks, giving this a try one of my favorite classes.
最后由 dmc32 编辑于; 2017 年 2 月 12 日 下午 4:43
theOzman84 2017 年 3 月 2 日 下午 3:27 
Thanks dude, I really love this class!!!
Yunzhao 2017 年 3 月 14 日 下午 6:53 
There's a small problem on my end, the Infantry's abilities for squaddie and corporal ranks in the center tree are empty. Additionally, the ability for the use of knives display an error. Could you please help me out? Many thanks in advance.

EDIT: I managed to work around the bug, however the ability Fortify is still not showing properly.
最后由 Yunzhao 编辑于; 2017 年 3 月 14 日 下午 7:27
Sergeant Kelly 2017 年 3 月 14 日 下午 7:51 
Uh oh, I just updated this yesterday, and might have broken something. I'll upload a fix using my current file.
Bambaataa 2017 年 6 月 24 日 上午 10:42 
Any update on a fix for this?
Sergeant Kelly 2017 年 6 月 24 日 下午 1:01 
Yep! I made a fix to it on March 29, let me know if this one has the same issue!
Navin 2017 年 6 月 28 日 上午 12:37 
YO NICE
dmc32 2017 年 6 月 28 日 下午 7:24 
Sergeant Kelly,

Can you do something similiar with the scout, really good class.
Nikibanzai💀 2017 年 7 月 13 日 上午 3:29 
thanks Sergeant Kelly!
killiankrieger 2017 年 7 月 23 日 下午 9:03 
Hi, in GTS for Infantry there is Extra Conditioning which in LW2 means that you got reduced timeout for Run&Gun. This is useless if don't take this perk on brigadier. I think it should be changed to Combat Fitness.
Sergeant Kelly 2017 年 7 月 24 日 下午 7:53 
Sadly, as you've noticed, it appears that LW2's Run & Gun Extra Conditioning is overwriting this mod's EC. (I added Run & Gun in an attempt to make the GTS upgrade not entirely useless in LW2.)

In order to fix that and replace the GTS upgrade with Combat Fitness, I would need to change the source code, recompile, and upload a true LW2 version. I can do all that, but I'll have to ask for permission from the mod's original dev to put it up here.
José 2017 年 8 月 29 日 上午 11:32 
@Sergeant Kelly: think that you could post a few edits that would make this compatible with WotC? Or @Divine Lucubrations: could you update this? The mod is amazing, and it doesn't feel right not to have one in my roster.
Sergeant Kelly 2017 年 8 月 29 日 下午 4:38 
Yep! If this can be upgraded with just some ini tweaks, I'll be definitely converting them for us all to use.
José 2017 年 8 月 29 日 下午 4:54 
You're a saint, Kelly. Pity Lucubrations is AWOL; they really know how to put a class together, better than vanilla.
Sergeant Kelly 2017 年 9 月 6 日 下午 5:07 
Looks like Lucubrations got the WotC version up!
< >
正在显示第 1 - 15 条,共 17 条留言
每页显示数: 1530 50