1.Get an air voxel and hva u want to use as the carpet bomber.
2.Numberize the new aircraft in [AircraftTypes]: xx=CBOMBER
3.Add this code:
[CBOMBER]
UIName=Name:CBOMBER
Name=Carpet Bomber
Image=CBOMBER ;(name the voxel+hva u downloaded this name)
Prerequisite=RADAR,GATECH
Primary=CBOMB
CanPassiveAquire=no ; Won't try to pick up own targets
CanRetaliate=no; Won't fire back when hit
Strength=500 ;300
Category=AirPower
Armor=special_2
;Armor=light
TechLevel=8
Sight=9
RadarInvisible=yes
Landable=yes
MoveToShroud=yes
;Dock=GAAIRC,GAHPAD,NAHPAD
Dock=GAAIRC,AMRADR,YASPAD,YAAIRPAD
PipScale=Ammo
Speed=14
PitchSpeed=0
PitchAngle=0
RollAngle=20.0
FlightLevel=1700
OmniFire=yes
Owner=British,French,Germans,Americans,Alliance
Cost=2000
Points=30
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
;Explodes=yes
MaxDebris=2
MinDebris=0
DebrisAnims=DBRIS5LG,DBRS10LG,DBRS10SM
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=30 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=IntruderTakeOff ;Taking off
AuxSound2=IntruderLanding ;Landing
VeteranAbilities=STRONGER,FIREPOWER,SENSORS
SensorsSight=10
EliteAbilities=STRONGER,FIREPOWER,CLOAK
;Fighter=yes
;FlyBy=true
AllowedToStartInMultiplayer=no
ImmuneToPsionics=yes
TypeImmune=yes
PreventAttackMove=yes
Now add the next codes:
--weapon code--
[CBOMB]
Damage=60
ROF=10
Range=7
Burst=5
Projectile=BlimpBombP2
Speed=0
Warhead=CBOMBWH
Report=ApocalypseAttackGround
Floater=yes
--Projectile code--
[BlimpBombP2]
Image=ZBOMB
Arm=10
Shadow=no
Acceleration=1
DetonationAltitude=20000 ; Needs this to prevent premature explosionation since uses same system as nuke
--Warhead code-- (Numberize the WH in the WH list [Warheads] as: xx=CBOMBWH)
[CBOMBWH]
CellSpread=2
Verses=500%,500%,500%,150%,150%,100%,60%,125%,60%,200%,100%
InfDeath=3
Wall=yes
Bright=yes
Tiberium=yes
ProneDamage=350%
AnimList=S_CLSN16,S_CLSN22,S_CLSN30,S_CLSN42,S_CLSN58
Sparky=no
ShakeXlo=1
ShakeXhi=1
ShakeYlo=2
ShakeYhi=2
Now just use your knowlage to build up the art code. Just copy other planes code and change it as your wish.
Now u have a cool carpet bomber.
Edited by avpx, 22 August 2006 - 11:17 AM.