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 8:08 pm
All times are UTC + 0
Issue with adding a new Side/new Countries
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Millennium
Commander


Joined: 09 Mar 2008
Location: Osaka (JP)/Hong Kong/Germany

PostPosted: Sat Mar 26, 2016 3:24 pm    Post subject:  Issue with adding a new Side/new Countries
Subject description: Attempting to play any country of the new Side in Skirmish immediately leads to defeat.
Reply with quote  Mark this post and the followings unread

As the topic description says, I have the following issue with a new Side I have added:
If any country of the Side is selected in Skirmish, upon the game starting, the game will immediately proclaim all houses of the game to have been defeated, including the player, and the game will end.

The most curious aspect, however, is that the Side essentially already existed, fully functional, before this issue started appearing. I have made the following changes to the Side that apparently caused it to be no longer functional:

  • The side contained just one country, to which I added two more.
  • The ID of the country that was originally in this Side was changed.

The other countries of this Side, iirc, had been equally non-functional before, which caused me to remove them in the first place. Now, trying to re-add them, the problem just reappears as well, and I want to solve it for good. Perhaps an alternate way of looking at this issue is not that the Side itself is implicated in the countries being unplayable, but that each of the countries is missing some important aspect that makes them unplayable, regardless of the settings of the Side itself. But then why would the mere change of an ID cause a previously-playable country to become exhibit this bug?

I know that this is a somewhat common problem that people tend to have when adding a new Side and I remember that it is due to some obvious mistake that is made, but I cannot remember what that mistake is or how to fix it.

Possible causes for this problem that I have already checked into:

  • PowerPlants: There is a structure listed in the AI.PowerPlants= statement of each of the new side's countries.  
  • PowerPlants: That structure's Owner= statement has all countries of the new side listed.
  • PowerPlants: The structure is listed in PrerequisitePower= and BuildPower=.
  • MCV: There is an MCV listed in BaseUnit. This MCV's Owner= statement also includes all of the countries of the new Side.


Perhaps I am missing some very obvious aspect?

_________________
Mao Zedong wrote:

Our mission, unfinished, may take a thousand years.  

Back to top
View user's profile Send private message
MustaphaTR
Scorpion Sniper


Joined: 22 Jan 2015
Location: Kastamonu, Turkey

PostPosted: Sat Mar 26, 2016 6:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

Side should have at least 1 AllowedToStartInMultiplayer=yes (or not set, its wierdly default to yes) unit which is not a MCV. MCV aslo needs this tag on it to work properly.

_________________
CnCD2K Mod: http://www.moddb.com/mods/red-alert-2-yuris-revenge-cncd2k-mod
Changed Dune Mod: http://www.moddb.com/mods/changed-dune
MustaphaTR's D2K Mod: http://www.moddb.com/mods/mustaphatrs-d2k-mod
Generals Alpha: http://www.moddb.com/mods/generals-alpha
Romanov's Vengeange: https://www.moddb.com/mods/romanovs-vengeance

Back to top
View user's profile Send private message
Millennium
Commander


Joined: 09 Mar 2008
Location: Osaka (JP)/Hong Kong/Germany

PostPosted: Sat Mar 26, 2016 7:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks. Checked and present, but it is still non-functional.
At the risk of being unduly inspirational, here is the code for the countries:

Code:

[Sides]
[...]
Alliance=Chinese,Japanese,Koreans


Code:

[Countries]
[...]
Asia0=Alliance
Asia1=Chinese   ; Chinese Empire
Asia2=Japanese   ; Japanese Shogunate
Asia3=Koreans   ; Korean Kingdom


China:
Code:

;------------------------------------------------------------------------------
; China
[Chinese]

;----- Name -----
UIName=Name:Chinese
Name=China
Prefix=E
Suffix=C

;----- MP -----
Side=Alliance
Multiplay=yes
;MenuText.Status=
ListIndex=13            ; Allies 1-3, Soviet 4-6, Third 7-9, Brotherhood 10-12, Eastasia 13-15
;RandomSelectionWeight=;regular

;----- Art -----
Color=Gold
LoadScreenText.Color=DarkGold
File.Flag=qini.pcx

;----- Veteran Techs -----
VeteranInfantry=RKETGUY,HAX0R      ; Rocket Man, Hacker
VeteranUnit=ECMT         ; Hacker Tank

;----- Stat Multipliers -----
CostInfantryMult=.8

;----- AI -----
SmartAI=yes
AI.PowerPlants=EGPOWR


Japan:
Code:

;------------------------------------------------------------------------------
; Japan
[Japanese]

;----- Name -----
UIName=Name:Japanese
Name=Japan
Prefix=E
Suffix=J

;----- Art -----
File.Flag=japi.pcx
Color=Gold
LoadScreenText.Color=DarkGold

;----- MP -----
Side=Alliance
Multiplay=yes
;MenuText.Status=
ListIndex=14            ; Allies 1-3, Soviet 4-6, Third 7-9, Brotherhood 10-12, Eastasia 13-15
;RandomSelectionWeight=;regular

;----- Veteran Techs -----
VeteranInfantry=SHIN,HEVY      ; ShadowHand, Light Mobile Suit
VeteranUnit=STNK,IMCH,MMCH      ; Spider Tank, Medium Mobile Suit, Heavy Mobile Suit
VeteranAircraft=YUKI         ; F-Zero Yukikaze
CostInfantryMult=.8

;----- AI -----
SmartAI=yes
AI.PowerPlants=EGPOWR


Korea:
Code:

;------------------------------------------------------------------------------
; Korea
[Koreans]

;----- Name -----
UIName=Name:Koreans
Name=Korea
Prefix=E
Suffix=K

;----- Art -----
File.Flag=kori.pcx
Color=Gold
LoadScreenText.Color=DarkGold

;----- MP -----
Side=Alliance
Multiplay=yes
ListIndex=15      ; Allies 1-3, Soviet 4-6, Third 7-9, Brotherhood 10-12, Eastasia 13-15
;RandomSelectionWeight= ; regular
;MenuText.Status=

;----- Veteran Techs -----
VeteranInfantry=RKETGUY      ; Rocket Man
VeteranUnit=MISLTNK      ; Rocket Tank
CostInfantryMult=.8

;----- AI -----
SmartAI=yes
AI.PowerPlants=EGPOWR


Perhaps someone else's perspective will allow them to glean some mistake from this code that I have missed.

_________________
Mao Zedong wrote:

Our mission, unfinished, may take a thousand years.  

Back to top
View user's profile Send private message
Agent Z
AA Infantry


Joined: 05 Sep 2013
Location: LocationNotFoundException at RealLife.Location.find() at line: -1

PostPosted: Sat Mar 26, 2016 11:48 pm    Post subject: Reply with quote  Mark this post and the followings unread

I am no expert on sides and countries, but I suspect that "Alliance" being listed as a country AND a side might confuse the game somehow. I know that the Nod and GDI sides were listed this way, but "ThirdSide" wasn't.

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Sun Mar 27, 2016 9:23 am    Post subject: Reply with quote  Mark this post and the followings unread

Does the game instantly end with short game turned off? Is there any difference if you or the AI use the side?

Is the Conyard listed under BuildConst?

Can you post the code of the MCV & Conyard too.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 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.1476s ][ Queries: 11 (0.0089s) ][ Debug on ]