Posted: Fri Feb 20, 2015 2:40 pm Post subject:
Trouble With Hunter Seeker SW
So I tried making my first new Super Weapon for a new team, and I've run into some trouble. Just can't get the HunterSeeker to work. I put it so each use costs $500 and the money never even gets subtracted. I haven't seen any example code for this so It was all guess work and looking at the documentation.
For the vehicle I copied the allied Orca plane and got rid of a few things:
Code:
[Seeker]
UIName=Name:Seeker
Name=Hunter Seeker
Image=FALC
Prerequisite=RADAR
Primary=Maverick
CanPassiveAquire=no ; Won't try to pick up own targets
CanRetaliate=no; Won't fire back when hit
Strength=150
Category=AirPower
Armor=light
TechLevel=3
Sight=8
RadarInvisible=no
Landable=no
MoveToShroud=yes
Speed=14
;PitchSpeed=0.9
;PitchAngle=0
Cost=1200
Points=20
ROT=3
Ammo=1
Crewed=yes
ConsideredAircraft=yes
AirportBound=yes ; If I ever need to land and there are no airports I crash because I can only land on them
GuardRange=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=3
IsSelectableCombatant=yes
VoiceSelect=IntruderSelect
VoiceMove=IntruderMove
VoiceAttack=IntruderAttackCommand
VoiceCrashing=IntruderVoiceDie
DieSound=
MoveSound=IntruderMoveLoop
CrashingSound=IntruderDie
ImpactLandSound=GenAircraftCrash
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=20 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=IntruderTakeOff ;Taking off
AuxSound2=IntruderLanding ;Landing
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=STRONGER,FIREPOWER,ROF
Fighter=yes
AllowedToStartInMultiplayer=no
ImmuneToPsionics=yes
ElitePrimary=MaverickE
PreventAttackMove=yes
HunterSeeker=yes
HunterSeekerDetonateProximity=150
HunterSeekerDescendProximity=700
HunterSeekerAscentSpeed=40
HunterSeekerDescentSpeed=50
HunterSeekerEmergeSpeed=6
HSBuilding=YPWR
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Fri Feb 20, 2015 2:47 pm Post subject:
Is the HunterSeeker a vehicle? I'd check debug.log, there must be a message within it when it should have been launched telling you the cause if you enable it with -log. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Is the HunterSeeker a vehicle? I'd check debug.log, there must be a message within it when it should have been launched telling you the cause if you enable it with -log.
I put the "Seeker" unit under "Aircraft Type List", is it supposed to be under "Vehicletypes"? I assumed because the Documentation said it needed a Fly locomotor that it should be there. I'll fix that and see what happens. 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