Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
This is gonna start poorly, but let's hope it ends well. XD
Now I'mma go smack the modding tool with a hammer till either the hammer breaks or I figure it out.
I'll let ya know how it goes.
Note you need to know how to use the mod tools to do this and would need to re-export the mod
(Part 2 of 2)
You should know that the trooper spawned is not a human but an alien AI (the same as the ADVENT troopers that are enemies) so you cannot change its clothes like a human XCOM soldier. You would need to change it to a human NPC however I do not know how to define what clothing human NPC soldiers wear. Lower down in the file you can find the function CreateTemplate_PAResistenceMk1(), this was my attempt at spawning in a human resistance NPC rather than an ADVENT trooper.
You will also need to look at other files in the classes folder, specifically PAOfficer_AbilitySet.uc which defines the skill that spawns the trooper, and the file X2Effect_PASpawnTrooperMk1.uc and X2Effect_PASpawnTrooperMk2.uc . This file states which of the characters defined in X2Character_PATrooper.uc to spawn. Good luck, hope this information helps you but you will need to do some more investigation on your own to achieve what you want.
In this file you will find the function CreateTemplate_PATrooperMk1() and CreateTemplate_PATrooperMk2() which defines the two trooper characters that are spawned (the first one is spawned if you have the Disposable Army skill, the second one is spawned if you have the Reinforced Army skill. Specifically the line
CharTemplate.CharacterGroupName = 'AdventTrooper'
and the lines CharTemplate.strPawnArchetypes.AddItem("GameUnit_AdvTrooper.ARC_GameUnit_AdvTrooperM1_M");
CharTemplate.strPawnArchetypes.AddItem("GameUnit_AdvTrooper.ARC_GameUnit_AdvTrooperM1_F");
are what you are looking for.
You can't choose both officer classes because of the same name and game goes something between "You have to choose one" and "They're the same picture", but didn't meet any crashes or whatsoever
Probably it can be fixed if you rename the specialization into "ADVENT Officer" instead of just Officer
https://i.imgur.com/toGVZ3i.png