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 Wed Apr 24, 2024 5:06 pm
All times are UTC + 0
Disabling a country in a MP Gamemode
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
MustaphaTR
Scorpion Sniper


Joined: 22 Jan 2015
Location: Kastamonu, Turkey

PostPosted: Sun Oct 04, 2015 6:37 pm    Post subject:  Disabling a country in a MP Gamemode Reply with quote  Mark this post and the followings unread

I'm tring to add a new gamemode to my mod named as RA1 Game. As i have RA1 Missions in my mod. I wanted to do a MP Gamemode with similar rules to maps. As there is no Yuri in RA1, i want to disable them in this Gamemode. Can i do this? If yes, how? Currently i'm using "Multiplay=no,MultiplayPassive=yes,ListIndex=-1 and RandomSelectionWeight=-1 in Gamemode's ini file but they are still avalible.

_________________
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
deathreaperz
Commander


Joined: 20 May 2013
Location: Indonesia

PostPosted: Sun Oct 04, 2015 11:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well, it can

_________________
Quote:
Humans were born for two things: to pray and be productive.


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


Joined: 22 Jan 2015
Location: Kastamonu, Turkey

PostPosted: Mon Oct 05, 2015 2:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

Wity current code if you start a game as Yuri, You don't have or see anything but don't lose. If you set an AI as Yuri they are not really be in game. Also in diplomacy menu, you can't see your and other Yuri Player's name, as in screenshot.

However making RandomSelectionWeight=0 looks like fixing Random Country selects Yuri, but they are still avalible for manually choosing.



Disabling Yuri.PNG
 Description:
 Filesize:  298.69 KB
 Viewed:  1175 Time(s)

Disabling Yuri.PNG



_________________
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
deathreaperz
Commander


Joined: 20 May 2013
Location: Indonesia

PostPosted: Mon Oct 05, 2015 2:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

For example, you have ra1game.ini that setting RA1 Game Mode, even its multiplayer.

For simple, you can add:
[YuriCountry]
ListIndex=-1

It works for me

Quote:
However making RandomSelectionWeight=0 looks like fixing Random Country selects Yuri

It is, it disables YuriCountry from random list.

_________________
Quote:
Humans were born for two things: to pray and be productive.


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


Joined: 22 Jan 2015
Location: Kastamonu, Turkey

PostPosted: Mon Oct 05, 2015 2:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

That is what i'm using. It doesn't work for me.

_________________
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
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Fri Oct 09, 2015 10:30 am    Post subject: Reply with quote  Mark this post and the followings unread

Changes within the game mode ini (&/or map) files aren't applied until the map/game is loaded, thus it's not possible to change anything on the skirmish setup screen with them.

_________________



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 [6 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.1891s ][ Queries: 14 (0.0106s) ][ Debug on ]