Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 9:05 am
All times are UTC + 0
fatal string for naval yard
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Renu48
Cyborg Soldier


Joined: 11 Nov 2018

PostPosted: Sat Dec 15, 2018 9:12 pm    Post subject:  fatal string for naval yard Reply with quote  Mark this post and the followings unread

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

Back to top
View user's profile Send private message
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Sun Dec 16, 2018 9:00 am    Post subject: Reply with quote  Mark this post and the followings unread

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...

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
Renu48
Cyborg Soldier


Joined: 11 Nov 2018

PostPosted: Sun Dec 16, 2018 10:09 am    Post subject: Reply with quote  Mark this post and the followings unread

Ok removing explodes=yes for some reason worked. Any ideas?

Back to top
View user's profile Send private message
TRUEGRIT
Grenadier


Joined: 21 Apr 2018

PostPosted: Sun Dec 16, 2018 9:48 pm    Post subject: Reply with quote  Mark this post and the followings unread

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

Back to top
View user's profile Send private message
4StarGeneral
General


Joined: 14 Sep 2006
Location: Limbo

PostPosted: Mon Dec 17, 2018 12:29 am    Post subject: Reply with quote  Mark this post and the followings unread

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."

Back to top
View user's profile Send private message Send e-mail YouTube User URL
Renu48
Cyborg Soldier


Joined: 11 Nov 2018

PostPosted: Mon Dec 17, 2018 10:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

As far as i know i dont think i changed anything related to deathweapons

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Tue Dec 18, 2018 3:53 am    Post subject: Reply with quote  Mark this post and the followings unread

ImmuneToPsionics=no

??????????

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
FurryQueen
General


Joined: 24 Jul 2010
Location: Liyue

PostPosted: Tue Dec 18, 2018 3:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

In vYR, YP can control buildings...

_________________
KGR | AT
AZUR
Discord: theastronomer1836
Steam

Back to top
View user's profile Send private message Skype Account
cxtian39
Commander


Joined: 11 Feb 2016

PostPosted: Wed Dec 19, 2018 7:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

Also the psychic dominator can blow your buildings up

_________________

Back to top
View user's profile Send private message Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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


Powered by phpBB © phpBB Group

[ Time: 0.1491s ][ Queries: 11 (0.0091s) ][ Debug on ]