XCOM 2
Lucubrations Infantry Class
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)) \\
)
Última edição por Sergeant Kelly; 29/mar./2017 às 8:07
< >
Exibindo comentários 115 de 17
dmc32 12/fev./2017 às 16:42 
thanks, giving this a try one of my favorite classes.
Última edição por dmc32; 12/fev./2017 às 16:43
theOzman84 2/mar./2017 às 15:27 
Thanks dude, I really love this class!!!
Yunzhao 14/mar./2017 às 18: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.
Última edição por Yunzhao; 14/mar./2017 às 19:27
Sergeant Kelly 14/mar./2017 às 19:51 
Uh oh, I just updated this yesterday, and might have broken something. I'll upload a fix using my current file.
Bambaataa 24/jun./2017 às 10:42 
Any update on a fix for this?
Sergeant Kelly 24/jun./2017 às 13:01 
Yep! I made a fix to it on March 29, let me know if this one has the same issue!
Navin 28/jun./2017 às 0:37 
YO NICE
dmc32 28/jun./2017 às 19:24 
Sergeant Kelly,

Can you do something similiar with the scout, really good class.
Nikibanzai💀 13/jul./2017 às 3:29 
thanks Sergeant Kelly!
killiankrieger 23/jul./2017 às 21: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 24/jul./2017 às 19: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é 29/ago./2017 às 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 29/ago./2017 às 16:38 
Yep! If this can be upgraded with just some ini tweaks, I'll be definitely converting them for us all to use.
José 29/ago./2017 às 16:54 
You're a saint, Kelly. Pity Lucubrations is AWOL; they really know how to put a class together, better than vanilla.
Sergeant Kelly 6/set./2017 às 17:07 
Looks like Lucubrations got the WotC version up!
< >
Exibindo comentários 115 de 17
Por página: 1530 50