Lapecu Posted June 19, 2011 Share Posted June 19, 2011 HiI was making a map with my cousin and I was wondering if its possible to set teams because I dont see an option for that...can anybody guide me or guive an advise on this.Thanks... Link to comment Share on other sites More sharing options...
Lapecu Posted June 19, 2011 Author Share Posted June 19, 2011 I mean to set allies and enemies i want to be my cousin's ally Link to comment Share on other sites More sharing options...
wrod Posted June 19, 2011 Share Posted June 19, 2011 i think you can do that if you play it as a demo map (my maps never work because there always is a terrain issue) Link to comment Share on other sites More sharing options...
feneur Posted June 19, 2011 Share Posted June 19, 2011 In Alpha 5 it's not possible to set that in Atlas, it is possible to set it in the XML file though. Probably easier to wait until Alpha 6 is released where more control over players is included in Atlas Link to comment Share on other sites More sharing options...
Lapecu Posted June 19, 2011 Author Share Posted June 19, 2011 In Alpha 5 it's not possible to set that in Atlas, it is possible to set it in the XML file though. Probably easier to wait until Alpha 6 is released where more control over players is included in Atlas Interesting .xml I know some of C++ but I would like to mess with it bro can you give me som advice on what to look on the .xml file and where i can find it?..Wow alpha 6 OMG im so exited we love this game Link to comment Share on other sites More sharing options...
feneur Posted June 20, 2011 Share Posted June 20, 2011 The location depends on where the map file is saved, and that in turn depends on what operating system you're using, on Windows it's %appdata%\0ad\cache\mods\public\maps\scenarios (just copy-and-paste that into the address bar) on Linux I'm not sure exactly where it is, though I assume it's something like ~.0ad/data/public/maps/scenarios Someone please correct me if I'm wrong). Either way, when you've found the map file open the [map_name].xml file and find the lines which are surrounded by the <scriptSettings> tag. Below is that part from the Acropolis map: <scriptSettings><![CDATA[{ "Name": "Acropolis", "Description": "Four Greek cities duke it out on a gigantic round map. Each city starts on a large flat plateau, or 'Acropolis' and comes with a group of important civic buildings and a battalion of soldiers. The map represents central Greece around the area of Boeotia and Attica.", "PlayerData": [ { "Civ": "hele", "Resources": { "food": 250, "wood": 250, "metal": 250, "stone": 250 }, "Team": 0 }, { "Civ": "hele", "Resources": { "food": 250, "wood": 250, "metal": 250, "stone": 250 }, "Team": 0 }, { "Civ": "hele", "Resources": { "food": 250, "wood": 250, "metal": 250, "stone": 250 }, "Team": 1 }, { "Civ": "hele", "Resources": { "food": 250, "wood": 250, "metal": 250, "stone": 250 }, "Team": 1 } ], "CircularMap": true, "Keywords": []}]]></ScriptSettings>Then to each player add the "Team": 0 (or 1, 2, 3 for up to four different teams). It should go right before the closing curly bracket for each civ. Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted June 20, 2011 Share Posted June 20, 2011 Setting teams will be much easier in Alpha 6, so rejoice. But for now, just add the "team" line in the map's XML as Erik has shown you and all the secrets of the rock n' roll Universe will be revealed. Link to comment Share on other sites More sharing options...
Lapecu Posted June 20, 2011 Author Share Posted June 20, 2011 (edited) Thank you very much sir.I have to correct you if you allow me:The directory is:AppData\Local\0 A.D. alpha\binaries\data\mods\public\maps\scenariosKeep the good job this game OWNZ!!! Edited June 21, 2011 by Lapecu Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now