Posted: Thu Jan 31, 2013 2:21 am Post subject:
Bomber Problems
Hi, everyone. I'm posting because I encountered a problem when creating a bomber: when I ask it to attack something, it doesn't, instead, it suspend itself in mid-air. But it has the red target laser. Here's the code for rules, including the one for the bomber and the bomb, did I do anything wrong?
rulesmd.ini code for the bomber:
[HONG]
UIName=Name:HONG
Name=Hong-7
Prerequisite=RADAR
Primary=HBomb
CanPassiveAquire=no ; Won't try to pick up own targets
CanRetaliate=no; Won't fire back when hit
Strength=500
Category=AirPower
Armor=medium
TechLevel=3
Sight=8
RadarInvisible=no
Landable=yes
MoveToShroud=yes
;Dock=GAAIRC,GAHPAD,NAHPAD
Dock=GAAIRC,AMRADR,CAAIRC,CARUN,JAAIRC
PipScale=Ammo
Speed=14
;PitchSpeed=0.9
;PitchAngle=0
PitchSpeed=1.1
PitchAngle=0
OmniFire=yes
Owner=Beijing,Jinan,Nanjing,Chengdu
Cost=20
Points=20
ROT=3
Ammo=4
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=4
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
AllowedToStartInMultiplayer=no
ImmuneToPsionics=yes
ElitePrimary=HBombE
PreventAttackMove=yes
LandTargeting=0
NavalTargeting=0
rules.ini code for the weapon
[HBomb]
Damage=200
ROF=10
Range=10
Projectile=AirToGroundMissile
Speed=80
Warhead=ORCAHE
Report=IntruderAttack
Brust=1
OmniFire=yes QUICK_EDIT
Ok, it worked on buildings, but it still suspend itself in the air when asking it to attack a tank or any ground targets. I'm using NP, is there any special rules about this? QUICK_EDIT
Since it works for others, it's obviously a problem with some global value
Thus disable NP. Test it.
If it works then, you know the problem.
If it doesn't works, you've set something wrong in the global rules.ini values.
If the weapon would have only Range=2, then i would have said the aircraft might fly too high to be able to reach the ground. But i doubt you have set the default flightlevel to something about 5000. _________________ SHP Artist of Twisted Insurrection: Nod buildings
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