Jump to content

auto ally based on position - map


Mi8

Recommended Posts

Hi 

Is it possible when the host select auto ally based on position,   the map updates automatically the positions with the teams groups such as A, B , C (without the names of the players of course)

 

Edited by Mi8
clarity
Link to comment
Share on other sites

On 2/21/2022 at 2:00 PM, Mi8 said:

Hi 

Is it possible when the host select auto ally based on position,   the map updates automatically the positions with the teams groups such as A, B , C (without the names of the players of course)

 

Not yet, but hopefully in a future update. It's definitely something on my radar.

Link to comment
Share on other sites

  • 1 month later...

If I could please add something to this... when the host selects auto-ally, could you make it so that all the "Team" boxes change from just plain hyphens to "Auto" in order to help clear up all-to-frequent confusion? Also, perhaps add to the message that appears, something such as "Host has enabled Auto-Ally--teams will be set automatically".

  • Upvote 1
Link to comment
Share on other sites

I suggest showing which teams will be on which spots in the preview map, so that all players would know, not just the host.
1 [A] 2 [A] 3 [B] 4 [B]... etc.
Especially that some maps can be played either 2 teams or 4 teams.

Edited by Sam-I-am
Link to comment
Share on other sites

On 4/7/2022 at 6:32 PM, Sam-I-am said:

I suggest showing which teams will be on which spots in the preview map, so that all players would know, not just the host.
1 [A] 2 [A] 3 [B] 4 [B]... etc.
Especially that some maps can be played either 2 teams or 4 teams.

This is a planned feature, but not yet started. The host will be able to select the auto ally teams directly on the map positions as well, rather than having to go into the drop downs.

Also, any player in the lobby has the ability to go into the auto ally player options area to see what the teams are set as.

  • Thanks 1
Link to comment
Share on other sites

On 2/23/2022 at 10:52 AM, Devo1929 said:

Not yet, but hopefully in a future update. It's definitely something on my radar.

Should store auto ally pre-sets in mpmaps.ini 

Perhaps something like...
[mapsection]
AutoAllyLvR=1A,2B,3A,4B
AutoAllyTvB=1A,2A,3B,4B

Where you get the info as a string and disassemble it for the logic.

Link to comment
Share on other sites

  • 2 weeks later...

A couple things I'd like to add, though slightly off-topic is in regards to the "Force Random Sides" option. First, please make it so that the "Spectator" option is still selectable if this option is enabled. Second, would you consider expanding upon this option and add in "Force Random Soviet" and "Force Random Allied" for those of us who wish to have a game consisting of "all Allied" or "all Sovs" without having to rely on players to cooperate? Furthermore, have it set up so that if crates are enabled in conjunction, MCVs from the other two factions are not available. It'd be a great way to add even more variety, if I don't say so myself.

Edited by PrezSpammer
Link to comment
Share on other sites

On 4/9/2022 at 10:43 AM, [CC] RaVaGe said:

Should store auto ally pre-sets in mpmaps.ini 

Perhaps something like...
[mapsection]
AutoAllyLvR=1A,2B,3A,4B
AutoAllyTvB=1A,2A,3B,4B

Where you get the info as a string and disassemble it for the logic.

This already exists and was a part of this feature from the beginning. The syntax however is:

TeamStartMapping0=A,A,B,B
TeamStartMapping0Name=TopLeft vs BottomRight
TeamStartMapping1=A,B,A,B
TeamStartMapping1Name=TopRight vs BottomLeft

The feature was originally called "Team Start Mappings", then rebranded to Auto Ally. The order in which A,B,C,D appear is based on spawn positions (per the map preview). IE, spawn 1 = Team A, 2 = B, 3 = C, 4 = D.

This above syntax is used for both mpmaps.ini as well as .map files so that custom map creators can incorporate it, too.

Release Notes:
https://github.com/CnCNet/cncnet-yr-client-package/releases/tag/yr-8.9

Link to comment
Share on other sites

14 hours ago, PrezSpammer said:

A couple things I'd like to add, though slightly off-topic is in regards to the "Force Random Sides" option. First, please make it so that the "Spectator" option is still selectable if this option is enabled. Second, would you consider expanding upon this option and add in "Force Random Soviet" and "Force Random Allied" for those of us who wish to have a game consisting of "all Allied" or "all Sovs" without having to rely on players to cooperate? Furthermore, have it set up so that if crates are enabled in conjunction, MCVs from the other two factions are not available. It'd be a great way to add even more variety, if I don't say so myself.

  • I never considered the lack of Specator option with Force Random Sides... I'll have to give that some thought on how it would work, but it should be doable.
  • I probably wouldn't add a Force Random Soviet or Force Random Allied checkbox. To me, that's too specific.. Rather, I think it would be a better general approach to convert the "No France/Yuri" checkbox to be a drop down of "Available Factions/Sides" where the host could choose from a multi select list of factions available for players to choose from.
  • I believe the "No France/Yuri" checkbox already limits crates from generating these MCVs. If the drop down suggested above were to work out, I don't see any reason why the same logic couldn't be used for it. 

All in all, these are great suggestions. Thanks!

Link to comment
Share on other sites

1.   When auto ally is set :

1:A, 2:A, 3:x, 4:x

5:B, 6:B, 7:x, 8:x

x : is supposed to block this position from players.

- or <blank> : available spot.

However, when the above is set in auto ally and when there are more than 4 players e.g 6 players, the game still launches ?  since in auto ally , only 4 players were set with position and there were 4x, it should prevent the game from launching if the list of players is 5 or more.  

 

2.   In the loading page, how are the players currently sorted?  It is not alphabetically. It is not by position of map.  what is it ?   Can it be sorted by team first and then by the current logic?

 

Link to comment
Share on other sites

On 4/23/2022 at 8:46 PM, Mi8 said:

1.   When auto ally is set :

1:A, 2:A, 3:x, 4:x

5:B, 6:B, 7:x, 8:x

x : is supposed to block this position from players.

- or <blank> : available spot.

However, when the above is set in auto ally and when there are more than 4 players e.g 6 players, the game still launches ?  since in auto ally , only 4 players were set with position and there were 4x, it should prevent the game from launching if the list of players is 5 or more.  

 

2.   In the loading page, how are the players currently sorted?  It is not alphabetically. It is not by position of map.  what is it ?   Can it be sorted by team first and then by the current logic?

 

You are correct. The game will launch even if you have more players than assigned locations. We could implement this, but it's also very simple for the host to simply kick any players over 4 in your scenario. 

As for the loading page and the sorting of players, I don't know that we have the ability to enforce that. We develop for the client which is everything you see up until the game launches. The actual game loading and game play is done in a different executable, one that we do not have the ability to modify.

Link to comment
Share on other sites

  • 2 years later...

For anyone still looking to auto ally, best way is set it up in your map using... 

```

[Basic]

TeamStartMapping0=A,A,B,B,C,C,D,D
TeamStartMapping1=A,A,A,A,B,B,B,B
TeamStartMapping2=A,A,A,B,B,B
TeamStartMapping0Name=2v2v2v2
TeamStartMapping1Name=4v4
TeamStartMapping2Name=3v3

```

Then in cncnet use Players > Enable Auto Allying option.

 

Also you can set the other cncnet options using...

 

```

[ForcedOptions]
;;;Pre-set cncnet client.
chkShortGame=true         ;Short Game.
chkRedeplMCV=true         ;MCV Repacks.
chkCrates=false           ;Crates Appear.
chkMultiEng=false         ;Multi Engineer.
chkIngameAllying=false    ;Ingame Allying.
;Game Speed.
cmbCredits=5.            ;Credits $10000
cmbStartingUnits=0        ;Starting Units.
;
chkBrutalAI=false         ;Brutal AI.
chkDestrBridges=true      ;Destroyable Bridges.
chkSuperWeapons=false     ;Superweapons.
chkBuildOffAlly=true      ;Build Off Ally ConYards.
chkRA2Mode=false          ;Red Alert 2.
chkNoSpawnPreviews=false  ;No Spawn Previews.
chkNoSpy=true             ;No Spy.
chkNoYuriNoFrance=true    ;No Yuri/No France.
chkNoDogEngiEat=false     ;No Dog Engineer Kills

```

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...