Jump to content

Assistance Needed


Azworai

Recommended Posts

Yes, that's where I've been searching, though I'm going to test the Shadow class in the debug based on your assumption, it hadn't occurred to me to check that. o.o

 

Edit:
Shadowclass seems to have weapon allotments in tactical that they don't even have ingame, but it can totally select primary/secondary weapons, unlike my class.

Edited by Azworai
Link to comment
Share on other sites

It looks like the Shadow class is allowed to use Rifles and Shotguns as primary, Pistols and Swords as secondary.

 

From XComClassData.ini:

[Shadow X2SoldierClassTemplate]
+bMultiplayerOnly=0
+ClassPoints=4
+IconImage="img:///UILibrary_StrategyImages.X2StrategyMap.MissionIcon_BlackMarket"
+NumInForcedDeck=1
+NumInDeck=4
+KillAssistsPerKill=4
+SquaddieLoadout="SquaddieShadow"
+AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="shotgun")
+AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="rifle")
+AllowedWeapons=(SlotType=eInvSlot_SecondaryWeapon, WeaponType="sword")
+AllowedWeapons=(SlotType=eInvSlot_SecondaryWeapon, WeaponType="pistol")

But their default loadout (from the SquaddieLoadout entry above) is Rifle and Pistol.

 

From XComGameData.ini:

 

[XComGame.X2ItemTemplateManager]
+Loadouts=(LoadoutName="SquaddieShadow", Items[0]=(Item="AssaultRifle_CV"), Items[1]=(Item="Pistol_CV"))
Edited by hairlessorphan
Link to comment
Share on other sites

Correct. The tactical debug even gives them option such as 'heavy turret primary'. The tactical debug for my Heavy Class returns only 'none' as an option.

 

 

[XComGame.X2SoldierClass_DefaultClasses]

+SoldierClasses=Heavy
+bMultiplayerOnly=0
+ClassPoints=4
+IconImage="img:///UILibrary_Common.class_ranger"
+NumInForcedDeck=1
+NumInDeck=4
+KillAssistsPerKill=4
+SquaddieLoadout=SquaddieHeavy
+AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="shotgun")
+AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="rifle")
+AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="cannon")
+AllowedWeapons=(SlotType=eInvSlot_SecondaryWeapon, WeaponType="sword")

That's my XComClassData.ini,

 

[XComGame.X2ItemTemplateManager]

+Loadouts=(LoadoutName="SquaddieHeavy", Items[0]=(Item="Cannon_CV"), Items[1]=(Item="Sword_CV"))
[XComGame.XGStrategy]
+DEBUG_StartingSoldierClasses="Heavy"

My XComGameData.ini

Link to comment
Share on other sites

Attempting to add that in, though I don't imagine that'd change it, I'm sure you're more experienced than me, and who knows with coding sometimes. :P Thank you for the help, by the way. Even if this mod attempt turns out to be unsalvageable, any help bouncing ideas is immensely helpful to my sanity, as I'd love to be learn to create content for this game.

Link to comment
Share on other sites

Well, it did change something. Heavy is no longer an option in the tactical debug with the above change.

 

;A configuration File

[XComGame.X2SoldierClass_DefaultClasses]
[Heavy X2SoldierClassTemplate]
+SoldierClasses=Heavy
+bMultiplayerOnly=0
+ClassPoints=4
+IconImage="img:///UILibrary_Common.class_ranger"
+NumInForcedDeck=1
+NumInDeck=4
+KillAssistsPerKill=4
+SquaddieLoadout=SquaddieHeavy
+AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="shotgun")
+AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="rifle")
+AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="cannon")
+AllowedWeapons=(SlotType=eInvSlot_SecondaryWeapon, WeaponType="sword")
;Squaddie
+SoldierRanks=( aAbilityTree=( (AbilityName="SwordSlice", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon) ), 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=1)), )
;Corporal
+SoldierRanks=( aAbilityTree=( (AbilityName="BlastPadding", ApplyToWeaponSlot=eInvSlot_Unknown), (AbilityName="Blademaster", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon) ), \\
+aStatProgression=((StatType=eStat_Offense,StatAmount=3), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=5), (StatType=eStat_CombatSims,StatAmount=0)), )
;Sargeant
+SoldierRanks=( aAbilityTree=( (AbilityName="Demolition", ApplyToWeaponSlot=eInvSlot_PrimaryWeapon), (AbilityName="Shadowstep", 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="Death From Above", ApplyToWeaponSlot=eInvSlot_PrimaryWeapon), (AbilityName="RunAndGun") ), 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="Implacable"), (AbilityName="Bladestorm", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon) ), aStatProgression=((StatType=eStat_Offense,StatAmount=2), (StatType=eStat_HP,StatAmount=0), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=5), (StatType=eStat_CombatSims,StatAmount=0)), )
;Major
+SoldierRanks=( aAbilityTree=( (AbilityName="Steady Hands"), (AbilityName="Untouchable") ), aStatProgression=((StatType=eStat_Offense,StatAmount=1), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=0), (StatType=eStat_CombatSims,StatAmount=0)), )
;Colonel
+SoldierRanks=( aAbilityTree=( (AbilityName="SaturationFire", ApplyToWeaponSlot=eInvSlot_PrimaryWeapon), (AbilityName="Reaper", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon) ), aStatProgression=((StatType=eStat_Offense,StatAmount=1), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=1), (StatType=eStat_Hacking,StatAmount=5), (StatType=eStat_CombatSims,StatAmount=0)), )

Did I screw something up?

Link to comment
Share on other sites

Looks like it... The headers at the top look misplaced.

 

Yours:

[XComGame.X2SoldierClass_DefaultClasses]
[Heavy X2SoldierClassTemplate]
+SoldierClasses=Heavy
+bMultiplayerOnly=0
+ClassPoints=4
...

Looks like it should be:

[XComGame.X2SoldierClass_DefaultClasses]
+SoldierClasses=Heavy
[Heavy X2SoldierClassTemplate]
+bMultiplayerOnly=0
+ClassPoints=4
...

What this says, roughly paraphrased, is:

 

Header: please add these classes to the game

entry: Heavy class

 

Header: here are the details for the Heavy soldier class template

entry: not a multiplayer-only class

entry: worth 4 class points (whatever that is)

etc...

Edited by hairlessorphan
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...