XCOM 2
46 betyg
[WOTC] Create Custom GTS
3
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
Uppdaterades
109.155 KB
25 nov, 2021 @ 7:42
25 nov, 2021 @ 9:12
2 ändringsnotiser ( visa )

Abonnera för att ladda ner
[WOTC] Create Custom GTS

Beskrivning
Description

This MOD can create custom GTS

Usage

;TemplateName = Unique ID
;AbilityName = The ability to be acquired
;bAllClasses = All soldiers
;RequiredHighestSoldierRank = Required military rank 0-7
;Cost = Supplies needed
;strImage = ICON

;RequiredSoldierClass = Need class rank
;AllowedClasses For example
;AllowedClasses[0]=Ranger,AllowedClasses[1]=Sharpshooter,
;Only valid for Ranger and Sharpshooter

Example
;for all
+Gts_Arr = (TemplateName = GTS_EverVigilant, AbilityName = EverVigilant, bAllClasses = true, RequiredHighestSoldierRank = 0, Cost = 100, strImage = "img:///UILibrary_XPACK_StrategyImages.Faction_unknown")

;for one
+Gts_Arr = (TemplateName = Gts_BlastPadding, AbilityName = BlastPadding, bAllClasses = false, RequiredSoldierClass = LWS_Shinobi , AllowedClasses[0] = LWS_Shinobi,RequiredHighestSoldierRank = 2, Cost = 100, strImage = "img:///UILibrary_XPACK_StrategyImages.Faction_unknown")

Remark
An example is attached to the file, EverVigilant
Also need to create language files, there are examples
27 kommentarer
blasterscope 26 apr @ 14:25 
will this effect the language? of the game
Scroller 8 nov, 2024 @ 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 @ 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 @ 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 @ 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 @ 20:03 
Thanks a ton dude
Stukov81-T.TV 13 mar, 2022 @ 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 @ 20:58 
how do you do that?
Stukov81-T.TV 27 feb, 2022 @ 14:33 
You need to provide Localization
Badger 27 feb, 2022 @ 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