Posted: Sat Dec 15, 2018 9:12 pm Post subject:
fatal string for naval yard
can someone please tell me whats wrong with this code as whenever it is about to blow up or get destroyed the game crashes with the fatal string
; Soviet shipyard
[NAYARD]
UIName=Name:NAYARD
Name=Soviet Shipyard
BuildCat=Tech
Prerequisite=PROC,POWER,NACNST
WeaponsFactory=yes
Factory=UnitType
Strength=1500
Armor=concrete
Naval=yes ; GS
WaterBound=yes ; should help AI, new with water zone
TechLevel=2
Adjacent=12
Sight=10
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry,Estonia
AIBasePlanningSide=1 ; gs 0 for Good, 1 for Evil
Cost=1000
Points=55
Power=-20
Powered=false
BaseNormal=no
Crewed=no
Explodes=yes
Capturable=no
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=DBRIS2SM,DBRIS3LG,DBRIS3SM,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM,DBRIS6SM,DBRIS7LG,DBRIS7SM,DBRIS8LG
MaxDebris=12
MinDebris=6
ThreatPosed=0 ; This value MUST be 0 for all building addons
;DamageParticleSystems=SparkSys,LGSparkSys
DamageSmokeOffset=700,700,500
AIBuildThis=yes
AIBuildCounts=4,3,2
UnitRepair=yes
NumberOfDocks=1
AmbientSound=_Amb_WavesLake
NumberImpassableRows=3 ; This is the fix to the Repair depots are flat and RadioContact/Enter means I can drive on you assumption. It counts from game west
TargetCoordOffset=256,256,0
ImmuneToPsionics=no ; defaults to yes for buildings, no for others QUICK_EDIT
The only potential problems I see here are the DebrisAnims.
Depending on what YR or Ares version you were using, Elasticity in artmd.ini might be the culprit (if that doesn't happen to you, consider yourself lucky, and please PM me the EXE, tnx).
But what do you mean with "crashes with fatal string"?
Do you mean the https://www.modenc.renegadeprojects.com/FATAL_Error ?
That only happens when RA2 starts running, and shouldn't happen mid-game... QUICK_EDIT
I had this problem once before, and it wasn't the codes and your codes as well have nothing wrong, it was something related to warheads explosions and debris QUICK_EDIT
Did you make any changes to DefaultDeathWeapon (The weapon used by [Combat]>DeathWeapon=)? _________________ "Don't beg for things; Do it yourself or you'll never get anything." 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