Game crashes when computer controls new country

Bug #1654351 reported by Benedict Wolf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ares
New
Undecided
Unassigned

Bug Description

Hello, I just added a new country to Yuri's Revenge with Ares. Apparently I can play the new country just fine. But the game crashes when computer controls it. Here's the country info. Am I missing anything? I go through M7's tutorial 2-3 times but haven't seemed to spot anything different. Is there anything I can do? am using:

Operating System: Windows 10 64-bit
Game: C&C Yuri's Revenge from Origin
Mod:ares 0.c
No other patch

[China]
UIName=Name:China
Name=China
Suffix=Soviet
Prefix=B
Color=DarkRed
Multiplay=yes
Side=Nod
File.Flag=cnii.pcx
File.LoadScreen=ls800china.shp
File.LoadScreenPAL=mplps.pal
File.Taunt=tauam%021.wav
LoadScreenText.Name=Text:Blank
LoadScreenText.SpecialName=Text:Blank
LoadScreenText.Brief=LoadBrief:China
MenuText.Status=LoadBriefShort:China
RandomSelectionWeight=1

[Countries]
...
9=China

[Sides]
Nod=Russians,Africans,Confederation,Arabs,China

(I've attached the debug file below. Thanks in advance)

P.S: In addition, for some reason Apocalypse explosion is invisible when I use Ares But Normal with regular launcher. I tried to change the name of the apocexp.shp file and import it back into the game, change the artmd.ini but to no avail. Is there any advise to this?

Much appreciated,

Revision history for this message
Benedict Wolf (benedictwolf) wrote :
Revision history for this message
AlexB (alexander-b) wrote :

The AI can't build anything from BuildWeapons. There should be a line in debug.log about this.

Revision history for this message
Benedict Wolf (benedictwolf) wrote :

Thank you. I forgot to put China as Owner of some buildings. Thanks :)

Also, about the invisible apocalypse explosion is there any suggestion?
Currently the apocalypse cannon balls only have the bright effect upon impact. No matter what I did, it just stayed invisible. (I changed the apoc model, it's the same tank)

Revision history for this message
IamInnocentX3 (iaminnocentx3) wrote :

The [Animations] section and Warhead's AnimList= should have ApocAP, if not, then dunno what's the problem. In many cases the [Animations] section can be screwed and will require you to adjust the animation to another number.

Revision history for this message
IamInnocentX3 (iaminnocentx3) wrote :

^ *APOCEXP, my bad. It's in the Rulesmd

Revision history for this message
AlexB (alexander-b) wrote :

That's right, the [Animations] list does not contain APOCEXP, and the game silently adds it when parsing AnimList= on ApocAP warhead. Ares expands the AnimList= tag to support more than 128 characters, but does not add the parsed values to the list like the game does. This can't be easily added back in, because the same function is used for 60 other tags. Generally it's bad style anyhow to silently add types like that, because every typo gets converted to a valid new type.

Check the debug.log file. It will mention if an animation couldn't be found when an AnimList= tag is parsed, then add those to the end of the [Animations] list.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.