Posted: Fri Mar 02, 2018 2:59 pm Post subject:
Custom spy stuff and stolen tech.
So I've been trying this but unfortunately it seems it's not working on my case. Infiltrating GATECH doesn't still give the stolen tech unit.
Code:
[GATECH]
UIName=Name:GATECH
Name=Allied Battle Lab
BuildCat=Tech
Prerequisite=GAAIRC,GAWEAP,GACNST
Strength=500
Armor=wood
TechLevel=8
Adjacent=2
Sight=6
Owner=Allied,Soviet,Yuri
AIBasePlanningSide=0 ;gs 0 for Good, 1 for Evil
Cost=2000
Points=85
Power=-100
Capturable=true
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS2LG,DBRIS4SM,DBRIS5LG,DBRIS5SM,DBRIS6SM,DBRS10LG
MaxDebris=12
MinDebris=6
ThreatPosed=0 ; This value MUST be 0 for all building addons
;DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=1500, 1055, 815
AIBuildThis=yes
TogglePower=no
Spyable=yes
SpyEffect.Custom=yes
SpyEffect.StolenTechIndex=1
ProtectWithWall=yes
ImmuneToPsionics=no ; defaults to yes for buildings, no for others
SuperWeapon=ForceShieldSpecial
ImmuneToEMP=no
And here's the supposedly stolen tech unit from GATECH.
I've already tried doing Spyable=no on GATECH but that means the Spy won't be able to infiltrate GATECH anymore, hence either custom spy infiltration will be useless on my case.
And if you're going to ask why I'm not using the vanilla RequiresStolenAlliedTech instead is because what I'm trying to achieve is you'll get 2(Or more than 2) stolen tech units/buildings once you infiltrate a Battle Lab and it seems the vanilla RequiresStolenSideTech is hard-coded to only 1 stolen tech unit/building as I've tried doing 7 stolen tech units using RequiresStolenSideTech tag on a certain Battle Lab but it still will only give you 1.
So that's why I'm using the custom Ares spy infiltration in case it'll be possible for 2 or more stolen tech units/buildings but unfortunately I'm stuck at the very beginning.
Am I missing some tags on my codes above? QUICK_EDIT
It's probably cos your tech centre is mobile. I think it only works on buildings? _________________ MIdAS - Turning wages into beer since 2002 QUICK_EDIT
I'm very sure I'm really careful when it comes to listing TechnoTypes.
Anyway, for some reason, it's suddenly working now. I'm not really sure why it didn't give me a stolen tech at first... Probably has something to do with Owner= stuff and it happened that the country that I was using isn't on the list of Owner on my actual mod. (The Owner=Allied,Soviet,Yuri on the tag above are just test countries on my test mod) QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum