Posted: Sat Apr 10, 2021 10:49 am Post subject:
Custom PDPLANE problem
I came across this problem in which I made an all new cargo plane (Which is the tu-16 in my recent update). When the plane crashes or is shoot down by an AI or sometimes me (player) the game crashes for an unknown reason.
Here are the codes
Quote:
[TU16] ; Tu-16R 'Badger' Bomber
Cameo=OBMBICON
Voxel=yes
PrimaryFireFLH=0,32,0
DisableVoxelCache=yes ; HY
DisableShadowCache=yes ; HY
Quote:
[TU16R]
Image=TU16
UIName=NOSTR:Badger Strategic Aircraft
Name=Tu-16R Badger Strategic Aircraft - Utility Variant
Strength=400
Category=AirPower
Armor=medium(airc)
TechLevel=-1
Primary=ParaDropWeapon
Spawned=yes ; Created by another object and therefore not player controllable
LeadershipRating=10
Selectable=no
RadarInvisible=no
Sight=0
Landable=no
MoveToShroud=yes
PitchAngle=0 ; default is 20 degrees
Speed=15
Cost=2000
Owner=USSR,Yugoslavia,China,NorthKorea,Eygpt,Iraq,Venezuela,Cuba
Points=30
Ammo=100
ROT=2
Crewed=no
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=2
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=0 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
ImmuneToPsionics=yes
CanPassiveAquire=no ; Won't try to pick up own targets
CanRetaliate=no; Won't fire back when hit
VoiceSelect=BlackEagleSelect
VoiceMove=BlackEagleMove
VoiceAttack=BlackEagleAttackCommand
VoiceCrashing=BlackEagleVoiceDie
DieSound=
MoveSound=BlackEagleMoveLoop
CrashingSound=BlackEagleDie
ImpactLandSound=GenAircraftCrash
DeathWeapon=BlimpBomb
DeathWeaponDamageModifier=.1;gs needs a death weapon or it will do nothing when it crashes since its weapon is a camera
FlyBy=true ;GEF Don't slow down over your target
Any ideas ?
Please note that I am using both ARES 3.0 and Phobos Build 8. QUICK_EDIT
What does the DeathWeapon look like? _________________ One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done.
Tried both, It just so happens to crash randomly for a reason I do not know of. I even tried IsSelectableCombatant=yes/no and it did not work (had to remove it). Any other ideas ? I also removed Selectable=no. QUICK_EDIT
Check your mixes and make sure the HVA file is identified as a HVA file, if its corrupted it will show up as "unknown" _________________
ayylmao on Discord QUICK_EDIT
I found a makeshift solution for this kind of problem, using Crashable=no for the technotype solves the problem. But your going to have a large plane disappear with a small bang.
Hmm maybe making a custom explosion would solve this problem, that would be rad. 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