Posted: Fri Oct 08, 2021 10:40 am Post subject:
Boris Airstrike Hardcoded ?
I gave a new soldier the ability to call in an airstrike by using the Boris code but you see the targeting cursor but no laser poiunter and no air strike.
So is the boris ability hardcoded ?
[AGENT]
UIName=Name:AGENT
Name=AGENT
Image=SEAL
Category=Soldier
Prerequisite=GAPILE,RADAR
PrerequisiteOverride=CAWA2A,CAWA2B,CAWA2C,CAWA2D ; SJM: any Pentagon building sufficient to build SEAL
Primary=MP5
Secondary=Flare2
OpenTransportWeapon=0;defaults to -1 (decide normally) What weapon should I use in a Battle Fortress
NavalTargeting=4
LeadershipRating=8
Assaulter=no ; I clear out UC buildings
CrushSound=InfantrySquish
Crushable=no
TiberiumProof=yes
Strength=200
Armor=flak
TechLevel=9
Pip=red
Sight=9
Speed=5
Owner=British,French,Germans,Americans,Alliance
AllowedToStartInMultiplayer=no
Cost=1500
Soylent=750
Points=50
IsSelectableCombatant=yes
VoiceSelect=SealSelect
VoiceMove=SealMove
VoiceAttack=SealAttackCommand
VoiceFeedback=
VoiceSpecialAttack=SealSpecialAttack
CreateSound=SealCreated
DieSound=SealDie
EnterWaterSound=TanyaEntersWater
LeaveWaterSound=TanyaLeavesWater
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=25 ; This value MUST be 0 for all building addons
SpecialThreatValue=1
ImmuneToVeins=yes
ImmuneToPsionics=yes
ImmuneToPsionicWeapons=no
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,SCATTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Size=1
;DetectDisguise=yes
ElitePrimary=AKME
IFVMode=4
UseOwnName=true
;Charges=no
;LaserInnerColor = 255,0,0
;LaserOuterColor = 127,0,0;0,0,0
;LaserOuterSpread= 40,80,80;20,40,40
;LaserDuration = 90;15
Projectile=Invisible;LLine2
;IsLaser=true ; this flag tells the game to use the special laser draw effect
IsLine=true
IsHouseColor=true
;How many planes to call in
AirstrikeTeam=1;
EliteAirstrikeTeam=2;
;What type of planes to call in
AirstrikeTeamType=VULT
EliteAirstrikeTeamType=BPLN
;How long after the planes either leave the map or are destroyed will the next team of planes be ready?
AirstrikeRechargeTime=100;500
EliteAirstrikeRechargeTime=50;250
BuildLimit=2
SelfHealing=yes QUICK_EDIT
You have the weapon code in the middle of the unit code :/ Move everything below ";How many planes to call in" above the [Flare2] section. _________________
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