Jump to content

List of maps with Iberian starting walls?


Hrafnagudh
 Share

Recommended Posts

Hello,

is there somewhere a list of the maps in which Iberian does have their starting walls? I was exploring a little and noticed that they are only in casual and not skirmish, and some even have the walls not completed or even just the cornerstones.

Also, there is some balancing reason behind them not appearing in skirmish maps? I'm new and curious sorry if it is a stupid question

  • Like 1
Link to comment
Share on other sites

On 13/04/2021 at 2:35 AM, Langbart said:

I think it was a bug, it has been fixed in the development version (see wiki/BuildInstructions).

The patch for this can be found here: D3616 - fix Iberian starting walls on skirmish maps (1/Mar/21).

I found the file with the error but I am unable to apply the patch to it
Not a gigantic problem though, I will enjoy iberians on the casual maps meanwhile :)

Edited by Hrafnagudh
Link to comment
Share on other sites

Thanks for the command.

Problem is, I found iber.json inside a protected zip. I can extract the file from it (on the desktop or another folder, not the one it is in) but I cannot put the new file inside again (I think because it's from snap?)

Edited by Hrafnagudh
Link to comment
Share on other sites

On 13/04/2021 at 12:19 AM, Hrafnagudh said:

Hello,

is there somewhere a list of the maps in which Iberian does have their starting walls? I was exploring a little and noticed that they are only in casual and not skirmish, and some even have the walls not completed or even just the cornerstones.

Also, there is some balancing reason behind them not appearing in skirmish maps? I'm new and curious sorry if it is a stupid question

What version of the game are you using? As pointed out earlier, they're erroneously not placed on any skirmish map in A24, though they were in A23 and earlier versions; it's fixed in the development version (svn, A25).

Whether or not the Iberians have starting walls is up to the map maker. They're present in some form on most (all?) random maps, several scenarios, and about half the skirmish maps:

Spoiler

[maps]$ grep -l iber.wall */*.xml

scenarios/fast_oasis.xml
scenarios/saharan_oases.xml
scenarios/sahel.xml
scenarios/sandbox_iberians.xml
scenarios/serengeti.xml
scenarios/siwa_oasis.xml

skirmishes/alpine_mountains_3p.xml
skirmishes/atlas_valleys_8p.xml
skirmishes/belgian_bog_2p.xml
skirmishes/butana_steppe_2p.xml
skirmishes/caspian_sea_2pv2p.xml
skirmishes/corinthian_isthmus_2p.xml
skirmishes/corinthian_isthmus_4p.xml
skirmishes/death_canyon_2p.xml
skirmishes/deccan_plateau_2p.xml
skirmishes/gambia_river_3p.xml
skirmishes/golden_oasis_2p.xml
skirmishes/greek_acropolis_2p.xml
skirmishes/greek_acropolis_night_2p.xml
skirmishes/libyan_oases_4p.xml
skirmishes/lorraine_plain_2p.xml
skirmishes/neareastern_badlands_2p.xml
skirmishes/neareastern_badlands_4p.xml
skirmishes/nile_river_4p.xml
skirmishes/obedska_bog_4p.xml
skirmishes/obedska_bog_night_4p.xml
skirmishes/persian_highlands_4p.xml
skirmishes/punjab_2p.xml
skirmishes/saharan_oases_4p.xml
skirmishes/sahel_4p.xml
skirmishes/sahyadri_buttes_5p.xml
skirmishes/skirmish_demo_2p.xml
skirmishes/syria_2p.xml
skirmishes/team_oasis_2pv2p.xml
skirmishes/tuscan_acropolis_4p.xml
skirmishes/two_seas_6p.xml
skirmishes/vesuvius_6p.xml
skirmishes/zagros_mountains_2p.xml

Edited by Nescio
exclude 0 counts
  • Like 1
Link to comment
Share on other sites

Under root should always be overwritten
# public.zip = Full path to public.zip

cd /tmp
unzip public.zip simulation/data/civs/iber.json

sed 's|skirmish/structures/iber/wall_|skirmish/structures/iber_wall_|' -i simulation/data/civs/iber.json
sudo zip public.zip simulation/data/civs/iber.json

 

  • Like 1
Link to comment
Share on other sites

1 hour ago, nwtour said:

Under root should always be overwritten
# public.zip = Full path to public.zip


cd /tmp
unzip public.zip simulation/data/civs/iber.json

sed 's|skirmish/structures/iber/wall_|skirmish/structures/iber_wall_|' -i simulation/data/civs/iber.json
sudo zip public.zip simulation/data/civs/iber.json

 

It still says

zip I/O error: Read-only file system

zip error: Could not create output file (/snap/0ad etc to public.zip) :(:(

1 hour ago, Nescio said:

What version of the game are you using? As pointed out earlier, they're erroneously not placed on any skirmish map in A24, though they were in A23 and earlier versions; it's fixed in the development version (svn, A25).

Whether or not the Iberians have starting walls is up to the map maker. They're present in some form on most (all?) random maps, several scenarios, and about half the skirmish maps:

  Reveal hidden contents


[maps]$ grep -l iber.wall */*.xml

scenarios/fast_oasis.xml
scenarios/saharan_oases.xml
scenarios/sahel.xml
scenarios/sandbox_iberians.xml
scenarios/serengeti.xml
scenarios/siwa_oasis.xml

skirmishes/alpine_mountains_3p.xml
skirmishes/atlas_valleys_8p.xml
skirmishes/belgian_bog_2p.xml
skirmishes/butana_steppe_2p.xml
skirmishes/caspian_sea_2pv2p.xml
skirmishes/corinthian_isthmus_2p.xml
skirmishes/corinthian_isthmus_4p.xml
skirmishes/death_canyon_2p.xml
skirmishes/deccan_plateau_2p.xml
skirmishes/gambia_river_3p.xml
skirmishes/golden_oasis_2p.xml
skirmishes/greek_acropolis_2p.xml
skirmishes/greek_acropolis_night_2p.xml
skirmishes/libyan_oases_4p.xml
skirmishes/lorraine_plain_2p.xml
skirmishes/neareastern_badlands_2p.xml
skirmishes/neareastern_badlands_4p.xml
skirmishes/nile_river_4p.xml
skirmishes/obedska_bog_4p.xml
skirmishes/obedska_bog_night_4p.xml
skirmishes/persian_highlands_4p.xml
skirmishes/punjab_2p.xml
skirmishes/saharan_oases_4p.xml
skirmishes/sahel_4p.xml
skirmishes/sahyadri_buttes_5p.xml
skirmishes/skirmish_demo_2p.xml
skirmishes/syria_2p.xml
skirmishes/team_oasis_2pv2p.xml
skirmishes/tuscan_acropolis_4p.xml
skirmishes/two_seas_6p.xml
skirmishes/vesuvius_6p.xml
skirmishes/zagros_mountains_2p.xml

The 24, in fact I was trying to apply the patch provided, but I'm still a noob at Linux and I'm having some difficulties xD

Link to comment
Share on other sites

20 minutes ago, Hrafnagudh said:

zip I/O error: Read-only file system

LOL.
Then you need to create a mod

mkdir ~/.local/share/0ad/mods/my_iberian_wall
cd ~/.local/share/0ad/mods/my_iberian_wall

unzip public.zip simulation/data/civs/iber.json
sed 's|skirmish/structures/iber/wall_|skirmish/structures/iber_wall_|' -i simulation/data/civs/iber.json
echo -ne '{\n\t"name": "my_iberian_wall",\n\t"version": "1",\n\t"label": "my_iberian_wall",\n\t"description": "my_iberian_wall",\n\t"dependencies": ["0ad"]\n}\n' > mod.json



1213358858_2021-04-1717-25-42.thumb.png.3b3985128e31c29e2cdae384137e16e3.png

Edited by nwtour
Link to comment
Share on other sites

1 hour ago, Hrafnagudh said:

It still says

zip I/O error: Read-only file system

zip error: Could not create output file (/snap/0ad etc to public.zip) :(:(

The 24, in fact I was trying to apply the patch provided, but I'm still a noob at Linux and I'm having some difficulties xD

It might have to do with the fact you're using snap. I don't know, I don't use snap. However, rather than trying to apply a patch or manually change it in the public.zip or, it's probably easier to do it via a mod. @nwtour's command looks good. Mods can also be created without the command line.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...