XCOM 2
[WOTC] Create Custom GTS
27 kommentarer
blasterscope 26. apr. kl. 14:25 
will this effect the language? of the game
Scroller 8. nov. 2024 kl. 10:11 
@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 kl. 3:53 
@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. okt. 2024 kl. 11:43 
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 kl. 19:27 
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 kl. 20:03 
Thanks a ton dude
Stukov81-T.TV 13. mar. 2022 kl. 21:05 
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 kl. 20:58 
how do you do that?
Stukov81-T.TV 27. feb. 2022 kl. 14:33 
You need to provide Localization
Badger 27. feb. 2022 kl. 13:56 
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 kl. 15:10 
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 kl. 3:15 
Is it possible to limit a gts project with required tech?
Bolganoth 5. dec. 2021 kl. 16:58 
我只能说 大佬牛逼
Rockfire ✘ 5. dec. 2021 kl. 6:30 
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.
黄俊浩  [ophavsmand] 29. nov. 2021 kl. 9:51 
The icon is arbitrary, you can use the icon in the example, only the visual effect
黄俊浩  [ophavsmand] 29. nov. 2021 kl. 9:42 
Should be compatible with anything
黄俊浩  [ophavsmand] 29. nov. 2021 kl. 9:41 
Does not contain any abilities, just allows you to create GTS, abilities come from other places
ironboy32 29. nov. 2021 kl. 9:08 
also, do you need to write the code like you did?
ironboy32 28. nov. 2021 kl. 20:30 
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 kl. 9:22 
nice!
oceansoul 25. nov. 2021 kl. 9:20 
Thank you very much. :steamthumbsup:
黄俊浩  [ophavsmand] 25. nov. 2021 kl. 9:15 
updated ,Configurable AllowedClasses
黄俊浩  [ophavsmand] 25. nov. 2021 kl. 8:42 
Update later
Rost Kurt 25. nov. 2021 kl. 8:40 
how adding new GTS perks for one class?
oceansoul 25. nov. 2021 kl. 8:37 
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.
黄俊浩  [ophavsmand] 25. nov. 2021 kl. 7:51 
Highlander is not needed, but I am too lazy to compile it again:steamfacepalm:
黄俊浩  [ophavsmand] 25. nov. 2021 kl. 7:49 
Very simple MOD, not tested in detail