Comment 5 for bug 895552

Revision history for this message
WoRmINaToR (worminator) wrote :

This needs re-opening because unless I am making some stupid mistake there is a problem.

The first part of this issue works. Using [TECHTYPE1]:[TECHTYPE2], TECHTYPE1 inherited all characteristics of TECHTYPE2, however the second part failed. The tags added after the unit's declaration are not parsed at all; none of the overrides are recognized by the game.

Of course it could be a mistake in my code, here is what I used:

;Predator Mech
[PREDATOR]
UIName=Name:PRED
Name=Predator Battle Mech
Prerequisite=GAWEAP
Prerequisite.Negative=GTNKUP,GAISUP,GAISUP2,GTNKUP2
Primary=105mm
Strength=300
Category=AFV
Armor=heavy
Turret=yes
IsTilter=yes
Crusher=yes
Operator=_ANY_
TooBigToFitUnderBridge=true
TechLevel=2
Passengers=1
SizeLimit=1
Sight=8
Sensors=yes
SensorsSight=6
Speed=4
CrateGoodie=no
Owner=British,French,Germans,Americans,Alliance
ForbiddenHouses=Germans
Cost=900
Soylent=900
Points=25
DeploysInto=GAPRGUN
ROT=5
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=GenAllVehicleSelect
VoiceMove=GenAllVehicleMove
VoiceAttack=GenAllVehicleAttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=GrizzlyTankMoveStart
CrushSound=TankCrush
MinDebris=5
MaxDebris=10
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=Normal
ThreatPosed=15
DamageParticleSystems=SparkSys,SmallGreySSys
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER
Accelerates=false
ImmuneToVeins=yes
Size=3
AllowedToStartInMultiplayer=no
OpportunityFire=yes
ElitePrimary=105mmE
BuildTimeMultiplier=1.0

;Predator w/ Lasers
[ISPREDATOR]:[PREDATOR]
Image=PREDATOR
Prerequisite=GAWEAP,GAISUP
Prerequisite.Lists=1
Prerequisite.List1=GAWEAP,GAISUP2
Prerequisite.Negative=GTNKUP,GTNKUP2
Primary=Laser105mm
ElitePrimary=Laser105mmE
DeploysInto=ISGAPRGUN

ISPREDATOR came out with no image (because PREDATOR doesn't have/need an Image= value), had the same prerequisites, and fired the same old gun as the first predator incantation.

On another note, I was unable to re-open this issue for some reason. I clicked re-open and posted this same note (or attempted to), and all I got was a white screen saying "Access Denied."