XCOM 2
[WOTC] Create Custom GTS
27 Comments
blasterscope 26 Apr @ 2:25pm 
will this effect the language? of the game
Scroller 8 Nov, 2024 @ 10:11am 
@oceansoul - Hi there. I've posted a section below. I seem to recall using copied code from the sections that work, so I'm not sure its down to typos or similar (particularly as the issue mostly seems to affect non-standard classes)

;Unlocks a slot for a psiamp.
+Gts_Arr = (TemplateName = Gts_MZ_Slot_Psiamp, AbilityName = MZ_Slot_Psiamp, bAllClasses = false, RequiredSoldierClass = ReaperCryptic, AllowedClasses[0] = ReaperCryptic, RequiredHighestSoldierRank = 2, Cost = 50, strImage = "img:///UILibrary_XPACK_StrategyImages.Faction_unknown")
oceansoul 8 Nov, 2024 @ 3:53am 
@Cdys have you put the text you want in the localisation file? If not then you'll be getting blank slots but purchase should give the ability tied to it. See Stukov's example a few replies down.

@Scroller could you provide one of your abilities as an example? My first thought is it's been set up as a universal rather than limited perk and thus is unlocking based on another unit (or you've set RequiredHighestSoldierRank to 0). Other possibility that springs to mind is errant or missing brackets causing cascading errors.
Scroller 5 Oct, 2024 @ 11:43am 
I have RPGO, Reaper Cryptics and the Mec Troopers (Redux version). I've added new GTS perks for all of them but none appear to work as expected. Firstly, they all cost 300 supplies and all of them are available immediately - I don't even have any Mec Troopers yet. Does anyone have any clues as to why this might be happening? Could they be invalid classes somehow?
Cdys 17 Aug, 2024 @ 7:27pm 
Should this still be working? I've attempted to add several perks for UniversalSoldier class and all I see at gts are blank slots I can purchase for no cost or requirement. I edited XComGame.int and XComGtsEditor.ini
Badger 14 Mar, 2022 @ 8:03pm 
Thanks a ton dude
Stukov81-T.TV 13 Mar, 2022 @ 9:05pm 
Go to the Folder of the mod should be somewhere similar to: SteamLibrary\steamapps\workshop\content\268500\2663800435

Go into the folder Localization there.

Open XCOMgame.int with a text editor

Here you can provide Localization for your GTS projects like:
[GTS_SKV_BattleComputer X2SoldierAbilityUnlockTemplate]
DisplayName="Battle Computer"
Summary="Newest state-of-the-Art Battle Computers help our units with aiming and dodging as well as a few other Stats. Unfortunately only interfaces exist in the Hunter Drone and the Frost Droid. Also available for SHIVs."
Badger 13 Mar, 2022 @ 8:58pm 
how do you do that?
Stukov81-T.TV 27 Feb, 2022 @ 2:33pm 
You need to provide Localization
Badger 27 Feb, 2022 @ 1:56pm 
Also, I've used the template exactly as far as I can tell, but in game it has no name and no explanatory text
Badger 18 Feb, 2022 @ 3:10pm 
if the ability also has to be applied to a specific weapon though a "ApplyToWeaponSlot=eInvSlot_PrimaryWeapon)" where do we include that if at all?
Stukov81-T.TV 15 Jan, 2022 @ 3:15am 
Is it possible to limit a gts project with required tech?
Bolganoth 5 Dec, 2021 @ 4:58pm 
我只能说 大佬牛逼
Rockfire ✘ 5 Dec, 2021 @ 6:30am 
Been looking for something like this for a long time, combined with Lily's Facilities mod. This allows for some pretty unique methods of balancing. Nice work.
黄俊浩  [author] 29 Nov, 2021 @ 9:51am 
The icon is arbitrary, you can use the icon in the example, only the visual effect
黄俊浩  [author] 29 Nov, 2021 @ 9:42am 
Should be compatible with anything
黄俊浩  [author] 29 Nov, 2021 @ 9:41am 
Does not contain any abilities, just allows you to create GTS, abilities come from other places
ironboy32 29 Nov, 2021 @ 9:08am 
also, do you need to write the code like you did?
ironboy32 28 Nov, 2021 @ 8:30pm 
is this compatible with mod perks like Sprint from the proficiency class pack? or do we just need to define it in the INI
Rost Kurt 25 Nov, 2021 @ 9:22am 
nice!
oceansoul 25 Nov, 2021 @ 9:20am 
Thank you very much. :steamthumbsup:
黄俊浩  [author] 25 Nov, 2021 @ 9:15am 
updated ,Configurable AllowedClasses
黄俊浩  [author] 25 Nov, 2021 @ 8:42am 
Update later
Rost Kurt 25 Nov, 2021 @ 8:40am 
how adding new GTS perks for one class?
oceansoul 25 Nov, 2021 @ 8:37am 
Would it be possible to add a way to limit the classes this gives the perk to? Basically I want to replicate the way the GTS currently gives class bonuses.

So to use your example setting it so Sharpshooters and Grenadiers get Ever vigilant while Rangers do not.
黄俊浩  [author] 25 Nov, 2021 @ 7:51am 
Highlander is not needed, but I am too lazy to compile it again:steamfacepalm:
黄俊浩  [author] 25 Nov, 2021 @ 7:49am 
Very simple MOD, not tested in detail