Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tank Drop?
#1
I used this tutorial to make a tank drop (http://modenc.renegadeprojects.com/Adding_A_Tank_Drop)
but it just doesn't work! Every time I make it attack, it just lands and unloads. For the unit, I just cloned the black eagle, by the way. Also, I am not very good at modding, so I might have done something completely obvious wrong.

Here is my code:

[AIR001]
UIName=Name:BEAGLE
Name=Black Eagle
Prerequisite=RADAR
CanPassiveAquire=no ; Won't try to pick up own targets
CanRetaliate=no; Won't fire back when hit
Strength=200
Category=AirPower
Armor=light
TechLevel=3
Sight=8
RadarInvisible=no
Landable=yes
MoveToShroud=yes
PipScale=Ammo
Speed=16
PitchSpeed=1.1
PitchAngle=0
OmniFire=yes
Owner=British,French,Germans,Americans,Alliance
Cost=1200
Points=20
ROT=3
Crewed=yes
ConsideredAircraft=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
Maxdebris=3
IsSelectableCombatant=yes
VoiceSelect=BlackEagleSelect
VoiceMove=BlackEagleMove
VoiceAttack=BlackEagleAttackCommand
VoiceCrashing=BlackEagleVoiceDie
DieSound=
MoveSound=BlackEagleMoveLoop
CrashingSound=BlackEagleDie
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=BlackEagleTakeOff ;Taking off
;AuxSound2=BlackEagleLanding ;Landing
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=STRONGER,FIREPOWER,ROF
Fighter=yes
AllowedToStartInMultiplayer=no
ImmuneToPsionics=yes
PreventAttackMove=yes
ManualReload=No
Image=BEAG
Ammo=1
Carryall=yes
Primary=Dummy
Passengers=1
SizeLimit=30


[Dummy]
Projectile=Airtorgroundinvisible
Warhead=Null Warhead

[Airtorgroundinvisible]
Inviso=yes
Image=none
Dropping=yes
Level=no

[Null Warhead]
;no tags
Sorry for the double post (I can't edit my post since I'm a guest), but I'm fine if the plane can't drop tanks, as long as it is player buildable and can paradrop infantry.
Nevermind about the double post.
Reply
#2
Have you definitely added the cloned unit to the AircraftTypes list, not the VehicleTypes one? Also, try increasing Passengers to something like 5 or 6.
Ares Project Manager.
[Image: t3wbanner.png]
[Image: cncgsigsb_sml.png]
Open Ares positions: Documentation Maintainer, Active Testers.
PM if interested.
Reply
#3
Yes, it is most definitely on the aircrafttrypes list, and increasing the passengers allows it to carry more units, but it still does not paradrop.
EDIT: I've tried adding the Parachuted=yes tag to [Airtorgroundinvisible] and it still does not work.

Also, I am experiencing an additional problem, even with it's size limit, AIR001 refuses to pick up tanks.
Reply
#4
Try not calling your warhead "Null Warhead". Spaces are frowned upon. Also, give it some verses, even if it's just everything at 1%.
Ares Project Manager.
[Image: t3wbanner.png]
[Image: cncgsigsb_sml.png]
Open Ares positions: Documentation Maintainer, Active Testers.
PM if interested.
Reply
#5
EDIT: After removing Inviso=yes and adding Parachuted=yes, it works! But, it still cannot pick up tanks for some reason.
EDIT: It can only paradrop once a game, oddly enough.
Reply
#6
It'll only paradrop once a game because you have Ammo=1 on the unit with no reload tags whatsoever. Making a combination carryall / transport probably doesn't go down too well with the engine.
Ares Project Manager.
[Image: t3wbanner.png]
[Image: cncgsigsb_sml.png]
Open Ares positions: Documentation Maintainer, Active Testers.
PM if interested.
Reply
#7
Thanks
Reply




Users browsing this thread: 1 Guest(s)