How to create new armor patterns ?
Posted: Wed Feb 24, 2016 8:11 am
Greetings to the community,
I’m doing my first baby steps into the wonderfull world of X-com 2 modding and I have some (basic) questions regarding new armor patterns creation for the game.
I’m trying to make some (not so) original patterns for the game. I’ve watched UseYourIlusions video tutorial on You Tube a dozen times and followed his instructions step by step. But unfortunately it doesn’t work for me.
The mod builds up and debugs flawlessly (that’s a good start at least) but the new patterns I’ve made simply do no show up in the armor pattern menu when I create a new character in the characters pool.
Here is how I created my (non working) mod :
Using Modbuddy I created 3 folders (Config, Localization and Content) in my new project (which is simply called « Plasman »)
In the Config folder I created an .ini file called XcomContent.ini with the following syntax
[XComGame.X2BodyPartTemplateManager]
+BodyPartTemplateConfig=(PartType="Patterns", TemplateName="Bark", ArchetypeName="PlasmanText.Bark", bCanUseOnCivilian=false, bVeteran=true)
+BodyPartTemplateConfig=(PartType="Patterns", TemplateName="Brush", ArchetypeName="PlasmanText.Brush", bCanUseOnCivilian=false, bVeteran=true)
+BodyPartTemplateConfig=(PartType="Patterns", TemplateName="Giraffe", ArchetypeName="PlasmanText.Giraffe", bCanUseOnCivilian=false, bVeteran=true)
Notes : Bark, Brush and Giraffe are the name of the templates.
Then I created an .int file called XComGame.int in the Localization folder as follows :
[Bark X2BodyPartTemplate] DisplayName="Bark"
[Brush X2BodyPartTemplate] DisplayName="Brush"
[Giraffe X2BodyPartTemplate] DisplayName="Giraffe"
These lines are (as far as I know) supposed to make the Bark, Brush and Giraffe pattern options appear in the armor patterns menu.
Then I created a .upk file called PlasmanTex.upk using the editor’s tools. Creating a template for each pattern (called Bark, Brush and Giraffe). Importing 256x256 .png textures (taking great care of setting the LOD group to « character »). Attaching them to each template (by copying/pasting the address of each texture into the properties of the template). Then I saved PlasmanTex.upk into the proper Content folder. Used Modbuddy to add it. Used the build up menu, and then did the debugging.
No error but no patterns either. At least my « mod » is harmless to the game
My main suspect is the .int file, since the options for my new patterns do not even show up in the menu. Maybe I made some syntax mistakes.
All the help/advises I could get would be welcome. Thanks in advance folks.
I’m doing my first baby steps into the wonderfull world of X-com 2 modding and I have some (basic) questions regarding new armor patterns creation for the game.
I’m trying to make some (not so) original patterns for the game. I’ve watched UseYourIlusions video tutorial on You Tube a dozen times and followed his instructions step by step. But unfortunately it doesn’t work for me.
The mod builds up and debugs flawlessly (that’s a good start at least) but the new patterns I’ve made simply do no show up in the armor pattern menu when I create a new character in the characters pool.
Here is how I created my (non working) mod :
Using Modbuddy I created 3 folders (Config, Localization and Content) in my new project (which is simply called « Plasman »)
In the Config folder I created an .ini file called XcomContent.ini with the following syntax
[XComGame.X2BodyPartTemplateManager]
+BodyPartTemplateConfig=(PartType="Patterns", TemplateName="Bark", ArchetypeName="PlasmanText.Bark", bCanUseOnCivilian=false, bVeteran=true)
+BodyPartTemplateConfig=(PartType="Patterns", TemplateName="Brush", ArchetypeName="PlasmanText.Brush", bCanUseOnCivilian=false, bVeteran=true)
+BodyPartTemplateConfig=(PartType="Patterns", TemplateName="Giraffe", ArchetypeName="PlasmanText.Giraffe", bCanUseOnCivilian=false, bVeteran=true)
Notes : Bark, Brush and Giraffe are the name of the templates.
Then I created an .int file called XComGame.int in the Localization folder as follows :
[Bark X2BodyPartTemplate] DisplayName="Bark"
[Brush X2BodyPartTemplate] DisplayName="Brush"
[Giraffe X2BodyPartTemplate] DisplayName="Giraffe"
These lines are (as far as I know) supposed to make the Bark, Brush and Giraffe pattern options appear in the armor patterns menu.
Then I created a .upk file called PlasmanTex.upk using the editor’s tools. Creating a template for each pattern (called Bark, Brush and Giraffe). Importing 256x256 .png textures (taking great care of setting the LOD group to « character »). Attaching them to each template (by copying/pasting the address of each texture into the properties of the template). Then I saved PlasmanTex.upk into the proper Content folder. Used Modbuddy to add it. Used the build up menu, and then did the debugging.
No error but no patterns either. At least my « mod » is harmless to the game
My main suspect is the .int file, since the options for my new patterns do not even show up in the menu. Maybe I made some syntax mistakes.
All the help/advises I could get would be welcome. Thanks in advance folks.