Jump to content

community maps 2


andy5995
 Share

Recommended Posts

  • 9 months later...
8 hours ago, Tyrannosaurus said:

I think the Gaia-controlled barbarian units in the pack's Gaia RMS could vary depending on biome. They could be Gallic on temperate maps, Blemmye or Bedouin on desert maps, Noba on savanna maps, etc.

I do like this idea - but it sounds complicated to implement, unfortunately.

Link to comment
Share on other sites

4 hours ago, Grautvornix said:

I do like this idea - but it sounds complicated to implement, unfortunately.

Already exists on some maps. Basically you need n json one for each biome and load that depending on the current biomes ;) tha'ts how biomes work anyway

  • Thanks 2
Link to comment
Share on other sites

  • 10 months later...

@andy5995Great work guys, really enjoyed the community maps 2 mod - just wondering if it is possible to adapt the mod to the latest A27 release? Right now the mod cannot be used within this latest release, I assume it must have something to do with the new engine being used

Link to comment
Share on other sites

On 19/02/2025 at 5:00 AM, temacn said:

@andy5995Great work guys, really enjoyed the community maps 2 mod - just wondering if it is possible to adapt the mod to the latest A27 release? Right now the mod cannot be used within this latest release, I assume it must have something to do with the new engine being used

@temacnThanks for the feedback. What maps do you like?

The incompatibility is more likely due to differences in the data between a26 and a27. Many mods refer to functions that are defined in the javascript library under the mods/public folder.

I'm not sure when I'll get to updating it. @Stan`@real_tabasco_sauce@wowgetoffyourcellphoneare there some scripts available that can do some migration? I remember some were provided after the a24 or a25 release...

Edited by andy5995
Link to comment
Share on other sites

5 hours ago, andy5995 said:

@temacnThanks for the feedback. What maps do you like?

The incompatibility is more likely due to differences in the data between a26 and a27. Many mods refer to functions that are defined in the javascript library under the mods/public folder.

I'm not sure when I'll get to updating it. @Stan`@real_tabasco_sauce@wowgetoffyourcellphoneare there some scripts available that can do some migration? I remember some were provided after the a24 or a25 release...

@andy5995 @Stan`I especially enjoyed map Gaia with the Indian biome - the resources are plenty and the battles are usually grand haha.

I am not into programming so unfortunately cannot help you guys with the project, I am just more or less curious. Once again, great work on this community map project and I will wait for you guys patiently. 

Edited by temacn
  • Like 1
Link to comment
Share on other sites

On 21/02/2025 at 1:03 AM, Stan` said:

One step might be to run checkrefs.py.

@Stan`I get these errors when I run 'python3 /home/andy/src/my-0ad/0ad-appimage/0ad-0.27.0/source/tools/entity/checkrefs.py -m $PWD/community-maps-2 -tax' and I have no idea what's causing them.

WARNING - Could not find art/terrains/terrain.rng
WARNING - Could not find art/terrains/terrain_texture.rng
INFO - Validating textures...
WARNING - Could not find art/textures/texture.rng
INFO - Collecting materials...
Traceback (most recent call last):
  File "/home/andy/src/my-0ad/0ad-appimage/0ad-0.27.0/source/tools/xmlvalidator/validator.py", line 77, in read
    root = ET.parse(physical_path).getroot()
           ~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/xml/etree/ElementTree.py", line 1204, in parse
    tree.parse(source, parser)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/xml/etree/ElementTree.py", line 569, in parse
    self._root = parser._parse_whole(source)
                 ~~~~~~~~~~~~~~~~~~~^^^^^^^^
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 4

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/andy/src/my-0ad/0ad-appimage/0ad-0.27.0/source/tools/entity/checkrefs.py", line 863, in <module>
    if not check_ref.main():
           ~~~~~~~~~~~~~~^^
  File "/home/andy/src/my-0ad/0ad-appimage/0ad-0.27.0/source/tools/entity/checkrefs.py", line 141, in main
    if not validator.run():
           ~~~~~~~~~~~~~^^
  File "/home/andy/src/my-0ad/0ad-appimage/0ad-0.27.0/source/tools/xmlvalidator/validator.py", line 169, in run
    self.find_materials(os.path.join("art", "materials"))
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/andy/src/my-0ad/0ad-appimage/0ad-0.27.0/source/tools/xmlvalidator/validator.py", line 152, in find_materials
    if material.read(
       ~~~~~~~~~~~~~^
        self.get_physical_path(material_file["mod_name"], material_file["vfs_path"])
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ):
    ^
  File "/home/andy/src/my-0ad/0ad-appimage/0ad-0.27.0/source/tools/xmlvalidator/validator.py", line 79, in read
    self.logger.exception(physical_path)
    ^^^^^^^^^^^
AttributeError: 'Material' object has no attribute 'logger'

 

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...