Maps 2v2 & 3v1.....

Started by happypappy, March 02, 2010, 05:14:29 PM

Previous topic - Next topic

happypappy

Hey guys, been looking into the maps issue of setting up AI 3v1 etc...I think the XvsX factor is established in the attributes file inside the map.

The maps can be renamed to .mpq and opened up.

File attributes contains..

Quote
<?xml version="1.0" encoding="utf-8"?>
<Attributes>
    <Variant>       
        <Id Value="1"/>
        <Genre Value="1"/>
        <GameType Value="2"/>
        <MaxTeamSize Value="1"/>
        <Name Value="Variant001/Name"/>
        <Description Value="Variant001/Desc"/>
        <Attribute Id="3010">
            <Locked/>
            <Default>
                <Slot Id="Global"/>
                <Value Id="7955827"/>
            </Default>
        </Attribute>
        <Attribute Id="3000">
            <Default>
                <Slot Id="Global"/>
                <Value Id="538976308"/>
            </Default>
        </Attribute>
        <Attribute Id="1001">
            <Locked/>
            <Default>
                <Slot Id="Global"/>
                <Value Id="7955827"/>
            </Default>
        </Attribute>
        <Attribute Id="2001">
            <Locked/>
            <Default>
                <Slot Id="Global"/>
                <Value Id="3241521"/>
            </Default>
        </Attribute>
        <Attribute Id="3007">
            <Default>
                <Slot Id="0"/>
                <Value Id="1348563572"/>
            </Default>
            <Default>
                <Slot Id="1"/>
                <Value Id="1348563572"/>
            </Default>
            <Default>
                <Slot Id="2"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="3"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="4"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="5"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="6"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="7"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="8"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="9"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="10"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="11"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="12"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="13"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="14"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="15"/>
                <Value Id="1466004579"/>
            </Default>
        </Attribute>
        <Attribute Id="2002">
            <Default>
                <Slot Id="0"/>
                <Value Id="21553"/>
            </Default>
            <Default>
                <Slot Id="1"/>
                <Value Id="21554"/>
            </Default>
        </Attribute>
        <Attribute Id="500">
            <Default>
                <Slot Id="0"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="1"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="2"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="3"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="4"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="5"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="6"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="7"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="8"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="9"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="10"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="11"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="12"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="13"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="14"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="15"/>
                <Value Id="1332766062"/>
            </Default>
        </Attribute>
    </Variant>



    <Variant>        
        <Id Value="2"/>
        <Genre Value="1"/>
        <GameType Value="3"/>
        <MaxTeamSize Value="2"/>
        <Name Value="Variant002/Name"/>
        <Description Value="Variant002/Desc"/>
        <IsDefault/>
        <Attribute Id="3010">
            <Locked/>
            <Default>
                <Slot Id="Global"/>
                <Value Id="7955827"/>
            </Default>
        </Attribute>
        <Attribute Id="3000">
            <Default>
                <Slot Id="Global"/>
                <Value Id="538976308"/>
            </Default>
        </Attribute>
        <Attribute Id="1001">
            <Locked/>
            <Default>
                <Slot Id="Global"/>
                <Value Id="7955827"/>
            </Default>
        </Attribute>
        <Attribute Id="2001">
            <Locked/>
            <Default>
                <Slot Id="Global"/>
                <Value Id="3307058"/>
            </Default>
        </Attribute>
        <Attribute Id="3007">
            <Default>
                <Slot Id="0"/>
                <Value Id="1348563572"/>
            </Default>
            <Default>
                <Slot Id="1"/>
                <Value Id="1348563572"/>
            </Default>
            <Default>
                <Slot Id="2"/>
                <Value Id="1348563572"/>
            </Default>
            <Default>
                <Slot Id="3"/>
                <Value Id="1348563572"/>
            </Default>
            <Default>
                <Slot Id="4"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="5"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="6"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="7"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="8"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="9"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="10"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="11"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="12"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="13"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="14"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="15"/>
                <Value Id="1466004579"/>
            </Default>
        </Attribute>
        <Attribute Id="2003">
            <Default>
                <Slot Id="0"/>
                <Value Id="21553"/>
            </Default>
            <Default>
                <Slot Id="1"/>
                <Value Id="21553" Index="1"/>
            </Default>
            <Default>
                <Slot Id="2"/>
                <Value Id="21554"/>
            </Default>
            <Default>
                <Slot Id="3"/>
                <Value Id="21554" Index="1"/>
            </Default>
        </Attribute>
        <Attribute Id="500">
            <Default>
                <Slot Id="0"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="1"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="2"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="3"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="4"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="5"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="6"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="7"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="8"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="9"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="10"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="11"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="12"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="13"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="14"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="15"/>
                <Value Id="1332766062"/>
            </Default>
        </Attribute>
    </Variant>



    <Variant>       
        <Id Value="3"/>
        <Genre Value="1"/>
        <GameType Value="6"/>
        <MaxTeamSize Value="1"/>
        <Name Value="Variant003/Name"/>
        <Description Value="Variant003/Desc"/>
        <Attribute Id="3010">
            <Locked/>
            <Default>
                <Slot Id="Global"/>
                <Value Id="7955827"/>
            </Default>
        </Attribute>
        <Attribute Id="3000">
            <Default>
                <Slot Id="Global"/>
                <Value Id="538976308"/>
            </Default>
        </Attribute>
        <Attribute Id="1001">
            <Locked/>
            <Default>
                <Slot Id="Global"/>
                <Value Id="7955827"/>
            </Default>
        </Attribute>
        <Attribute Id="2001">
            <Locked/>
            <Default>
                <Slot Id="Global"/>
                <Value Id="4605505"/>
            </Default>
        </Attribute>
        <Attribute Id="3007">
            <Default>
                <Slot Id="0"/>
                <Value Id="1348563572"/>
            </Default>
            <Default>
                <Slot Id="1"/>
                <Value Id="1348563572"/>
            </Default>
            <Default>
                <Slot Id="2"/>
                <Value Id="1348563572"/>
            </Default>
            <Default>
                <Slot Id="3"/>
                <Value Id="1348563572"/>
            </Default>
            <Default>
                <Slot Id="4"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="5"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="6"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="7"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="8"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="9"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="10"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="11"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="12"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="13"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="14"/>
                <Value Id="1466004579"/>
            </Default>
            <Default>
                <Slot Id="15"/>
                <Value Id="1466004579"/>
            </Default>
        </Attribute>
        <Attribute Id="2006">
            <Default>
                <Slot Id="0"/>
                <Value Id="21553"/>
            </Default>
            <Default>
                <Slot Id="1"/>
                <Value Id="21554"/>
            </Default>
            <Default>
                <Slot Id="2"/>
                <Value Id="21555"/>
            </Default>
            <Default>
                <Slot Id="3"/>
                <Value Id="21556"/>
            </Default>
        </Attribute>
        <Attribute Id="500">
            <Default>
                <Slot Id="0"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="1"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="2"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="3"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="4"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="5"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="6"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="7"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="8"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="9"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="10"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="11"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="12"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="13"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="14"/>
                <Value Id="1332766062"/>
            </Default>
            <Default>
                <Slot Id="15"/>
                <Value Id="1332766062"/>
            </Default>
        </Attribute>
    </Variant>
</Attributes>

So im thinking its a 4 player map,
Varient ID 1 is 1v1
Varient ID 2 is 2v2
Varient ID 3 is FFA (This is being loaded because the maps arent being passed a value and it will grab the last value most likely)

I think if you where to say delete varient 1 & 3, and rename 2 to 1......it would load 2v2.....

Also if you where to remove varient 1 & 3 and change this section...

Quote
<Attribute Id="2003">
            <Default>
                <Slot Id="0"/>
                <Value Id="21553"/>
            </Default>
            <Default>
                <Slot Id="1"/>
                <Value Id="21553" Index="1"/>
            </Default>
            <Default>               
               <Slot Id="2"/>                
               <Value Id="21553" Index="2"/>           
            </Default>
            <Default>
                <Slot Id="3"/>
                <Value Id="21554"/>
            </Default>
        </Attribute>

You may end up with 3v1....Haven't tried any of this stuff cant Im at work now....hope it works :D

** UPDATE **
Actually, varient 2 also has....

Quote
<MaxTeamSize Value="2"/>

So to do 3v1, you'd probably have to change this value aswell....butthis is more then likely how the map 2v2, 3v3, 1v1 etc works....

Gamewiz

Nice find! I hope this does work!

happypappy

#2

Damn, think the global values have more to do with it then I originally thought..Ill work on it at home...

Nova

Test it yourself before releasing it. It's common decency.

happypappy

My first post said I was at work....Dont test em if u dont wanna...

Gamewiz

Quote from: Nova on March 02, 2010, 06:19:45 PM
Test it yourself before releasing it. It's common decency.


He explained why he couldn't. If you don't want to test them, then wait until he can, or someone else does. It's not a big deal.

KennYblu3

hey,


i tried the 2on2 lost temple but it doesnt work. I dont see my m8(computer) on the map. Have no Vision.

happypappy

#7
Quote from: KennYblu3 on March 02, 2010, 06:29:17 PM
hey,


i tried the 2on2 lost temple but it doesnt work. I dont see my m8(computer) on the map. Have no Vision.

Ok, Ill put 1 more 2v2 map up, if it doesnt work Ill work on it at home, the gamestrings.txt file says Varient 2 is 2v2....since a 3v1 doesnt exist may be hard to get that to work...but if the game is always loading FFA, and FFA has all the 2v2 settings it might work...

This is basically the Varient 3 with all Varient 2 settings...2v1 might be possible by keeping these settings and removing the extra player from 1 team...

Quote
        <Attribute Id="2003">
            <Default>
                <Slot Id="0"/>
                <Value Id="21553"/>
            </Default>
            <Default>
                <Slot Id="1"/>
                <Value Id="21553" Index="1"/>
            </Default>
            <Default>
                <Slot Id="2"/>
                <Value Id="21554"/>
            </Default>
            <Default>
                <Slot Id="3"/>
                <Value Id="21554" Index="1"/>
            </Default>
        </Attribute>

In any case Ill keep working on it at home...

KennYblu3


happypappy

Quote from: KennYblu3 on March 02, 2010, 06:58:12 PM
still dont work :)

Haha no worries :( Ill work on at home in a little while :D

KennYblu3


bhp255

The only thing i noticed from playing on the 3v1 map was that the other 3 were always the same race... or at least in the 3 games I played.

blood_hound

this is going to be another breakthrough, i hope you sort if out, it's not really fun going against FFA :D (it would be if you weren't targeted first..) at the same time the AIs only gets 1 duplicate race,

eg.

you - terran
P1 - Protoss/Zerg
P2 - protoss/Zerg
P3 - Zerg/Protoss

this already happened twice now (as well as the problem i had  :'( )

anyways that was AI V4 not sure about AI v5.5 :D

the Humans are not EXTINCT!!!