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