Jump to content

Grautvornix

Community Members
  • Posts

    707
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by Grautvornix

  1. No, that would be far too complex - what I have in mind is more a wrapper tool that helps defining the map/game/player characteristics, then hand over to the real Atlas for terrain sculpting, but then help placing entities, particularly walls and palisades (as a start) and visualizes that in 2D and a simplified 3D map. I am trying to use the new tool with Atlas in a kind of "pair-editing" (the tool only looking at and manipulating xml, Atlas basically everything). Atlas is very powerful but appears complex to me. The new tool is an attempt trying to reduce complexity where possibly without actually taking away Atlas powerful capabilities. Confirmed: convert_again deletes the copy and regenerates it from the untouched source, wiping any replacements. Please wait for a yet another version 1.9.2 .... (also saw a lot of documentation flaws that needed fixing). (thus demonstrating why short release cycles can be dangerous even with a lot of (automated) testing.)
  2. @Asher Please see the latest release 1.9.1 in the first message of this thread (the onyl functional change). There are other changes inside as I am also preparing a second tool to prepare, support, manipulate and visualize Atlas maps. The two tools post-atlas and the new one share common components hence the update of atlas-common 1.4.0 package (I actually should rename that to make clear this is not linked to the actual atlas tool in 0AD). I'll publish a first version of the new tool shortly in this part of the forum.
  3. Instead I would like to suggest walls that can be walked on (mechanics: moving garrisoned soldiers sideways replacing the next empty slot) towards the area of attack. Then, there could also be a successful attacker moving along the wall in the same way - garrisoning a wall segment from a siege tower or a ladder (and only from those) could be possible with a certain probability.
  4. My amateur "historians" opinion: Isn't the typical infantry attack on walls somehow representing kind of an undermining? (frankly, you may hit a stone wall for a VERY long time with a sword, a spear, or arrows, even with an axe, but without ny thing breaking ewxcept your own weapons.This is why city walls were so successful until the late middle ages, I believe.)
  5. Like this? (next release will have it) =============================================================================== == isles-r28 <- pack.zip output: C:\x\mods\isles-r28, 12 files copied mod.json: ... ---------------------------------------------------------------------------- maps/scenarios/greek_isles.xml renamed gaia/flora_tree_oak -> gaia/tree/oak (3x, r27) ---------------------------------------------------------------------------- maps/scenarios/delta.xml renamed gaia/flora_tree_oak -> gaia/tree/oak (3x, r27) ---------------------------------------------------------------------------- 2 maps: 2 changed, 0 needed nothing; ... =============================================================================== Result: no failures left - ...
  6. post-Atlas V. 1.9.0 is now available (please refer to the top of this thread to download). Fixed interlock between post-Atlas and the game when accessing the same archives Analyze tab: Player balancing information (staritng resources per player) fixed map enlarged preview Findings tab: fixed more replacement rules now also including actors and props double click to open "fix selected" window (thanks @Asher!) a mod's templates can be replaced with the game's own. (thanks @Asher! Please let me know if you find any bugs, or if you have more ideas and suggestions
  7. Tried to have it fixed in the next release. Here is what Claude commented: "Isn't letting me pick a replacement". Most likely those templates are supplied by another mod installed on the tester's machine. Then they aren't missing: they show up as one "N templates … come from mod X" finding, and there was nothing to replace. Choose replacements…, and a double-click on that finding, now offer to replace them with the game's own templates, chosen one by one in the usual table. The other possible case is an actor (a model placed directly, actor|…): the message now names those and says to replace them in Atlas. It's still worth asking the tester which mods they have installed. Yes, indeed, switching from Findings to Convert means pushing the convert button (or selecting the tab or the menu). Finally, when everything is finished, there is the output button (I don't like that button labelmyself but was not able to come up with anything better yet. "Do it" doesn't look so fancy and repeating "Convert" might be confusing)
  8. @Asher Thanks for the testing! Oh! Which type of templates are these? Any specific or just some? Good point! Will change that!
  9. @AsherIf you select only one map at a time then only that map is converted. When this is however a map pack, the entire pack is converted map by map but into the same folder, same as its source. Sorry, could not help it - just made another release 1.8.0 that provides better entity conversion support including automatic suggestion of most likely replacement and a few other improvements (e.g. @vladislavbelov's tree randomization script). One new architectural thing is that I extracted a common code package that will be also used by other ATLAS-related tools that I am preparing. Please find the latest release 1.8.0 in the top message of this thread (with updated screenshots)
  10. Here are a couple of older maps I was able to collect form the forum. Some (that I played in the past already) are pretty awesome like Fall of Constantinople, Alesia, or TheLegendofMali. The others will most probably also be interesting. I'd suggest you look into one map and verify if it can be converted and is still palyable, if you like. That would be very helpful!!! Thank you so much! alesia.zip Athens.zip Alpine Settlement 0,1.zip Epiphany_v5.pmp Epiphany_v5.xml Fall Of Constantinople.pmp Fall Of Constantinople.xml Halicarnassus.pmp Halicarnassus.xml TheLegendofMaliSecondVersion.pmp TheLegendofMaliSecondVersion.xml
  11. @Stan` Sorry for the trouble! Am I doing something wrong? (any data limit or the like?) Thanks for your help!
  12. Here is the latest version 1.6.0 (the topmost post of this thread goes often locked when I add a new version) CHANGELOG.md README.md post-atlas-1.6.0.zip CREDITS.md
  13. Thanks @Asher for your kind offer! Possibly if you could test the conversion of old maps (pmp version 5 or so). I am currently preparing another version 1.6.0 of post-Atlas that includes (1) the capability to randomly turn trees so they look less uniform as implemented by @vladislavbelov as a standalone Python script in https://wildfiregames.com/forum/topic/109382-atlas-scenario-editor-random-facing-direction-for-trees-on-placement/ (2) when converting an old map where there are units and other elements that cannot be anymore found (due to renaming, regrouping etc.) off er choosing an alternate elemetn from the currently available lsit.
  14. Converting old maps There was a decision in the past to split the Celts civ into Britons and Gaul as well as Helenes into Athen, Macedonians and Spartans. Not easy to convert old maps... Converting pmp version 5 to 6, or 7 seems to be easier than I thought, just we need to modify the pmp file for that. Here is a new version 1.5.3 of the Atlas post processor tool post-Atlas. Here is the changelog and the readme. Have fun map checking and converting! CHANGELOG.md README.md post-atlas-1.5.3.zip
  15. Thanks @Asher! This is great to hear! (read ) Just tried to convert some older maps from the forum (the LegendofMali worked mostly!) but some are just too old and I need to investigate how to still use them.
  16. @Thalatta You are right - will remove that constraint (also use captured buildings as a quarry). Will also change the refunding stone and metal (50% each) wood (30%). While modifying the mod, I changed the "delete" function of everything: a unit being deleted (killed by its "owner") looses health over time (10s) until it dies (same es when being attacked), as well as any structure/siege/ships being deleted. Here is the latest version 1.4.0 with that logic (I know there is still a way to go). recover-resources.zip README.md
  17. Updated to 1.3.0 (see top of this thread) Extended editing capability Analyze tab lists also treasures and relics if any Re-arranged section on the analyze and edit tabs fo rimproved readability.
  18. Here is an intermediate step recover-resources.mod V1.32. - not taking into account @Thalatta's latest comments yet, unfortunately. Version 1.3.2 · for 0 A.D. release 28 and the release 29 development builds When you delete one of your own structures, ships or siege engines, you get back a share of its resource cost, provided the situation allows it. What comes back is the salvage rat (30 % by default) multiplied by the object's health condition, meaning its remaining health. Food is never given back. Rules and Constraints: Only your own deliberate deletion (Delete key / delete button) triggers a refund. Nothing is refunded when an enemy destroys the entity. The refund is based on the entity's current cost, including cost modifiers from technologies and civilisation bonuses. Food is excluded: it was eaten during construction, while timber, stone and metal can be carried away. Entities you captured or converted from another player (or from Gaia) are not refunded. Ships are only refunded when deleted within 30 m of one of your own finished docks. Otherwise the message says how many ships gave nothing back. Siege engines are only refunded while they stand inside your own territory, e.g. a catapult abandoned deep in enemy land gives nothing back. The refund shrinks with condition: a ram at 40 % health gives back 40 % of the usual amount. Buildings (nw including walls and towers) must pass three rules: not attacked or captured in the last 15 seconds, no enemy capture progress and not decaying outside your borders, and one of your worker units within 20 m to do the work. Fields are never refunded. Nothing you delete dies at once. Buildings are dismantled and units disbanded over 10 seconds, losing health as they go, and any resources only arrive at the end (units don't give back resources). Pressing delete again calls it off and the drained health is given back; an enemy hit interrupts it the same way. Units take just as long even though they hand nothing back. Anything under threat is the exception: it falls the moment you press delete, because under fire there is no time for an orderly teardown. That means anything hit in the last 5 seconds, or with an armed enemy within 40 m — enemies closing in count even before the first blow lands. Whether it still pays out is decided by the ordinary rules, so a building under attack dies at once and gives nothing. Unfinished foundations are skipped because the base game already refunds the unbuilt part of their cost. Deletions the game itself blocks (for example, a building that is mostly captured) get no refund. A short message shows how much was recovered. recover-resources.zip README.md
  19. A new realease of post-Atlas is available (see intial post of this threat). It covers these bugs: changed to the game's standard spelling (hopefully captured all issues) show natural food resources placed on the map in analyze tab/resources table make the finding table sortable allow re-reading the map after changing (re-analyze button) conversion process can be stopped. added support for nomad mode And these new features: Assess balance of resources amongst players (imbalance might be an intended challenge hence this is only an indicational warning) Added a way to edit map properties (analyze tab, edit button), so that it is possible to edit description, names, map characteristics, players etc. without re-opening Atlas. Please let me know your observations, criticism, found bugs, new ideas, improvement suggestions etc.!
  20. Phantastic! Beautiful! Awesome!
  21. Exactly - had Claude analyse spelling through the game and maps and the verdict was rather US English, although not fully consistent throughout maps and modules. So most probably I continue in an inconsistent spelling (changed Analyse to Analyze and colour to color, but not yet civilisaiton to civilization). As this change took a lot of tokens, I'd park that for the moment.
  22. @AsherThanks for your comprehensive review! Let me try and resolve things ... Was the mod that provided the missing resource for the map activated in your game (and saved) ? (if not, the tool does not see it.) This is a great idea - normally I would have thought that this is defined by the map creator in Atlas already, or on an existing map the map author has a specific scenario in mind (hence the name scenario map). Will integrate that - with that warning, though. In any case the original map is never modified by the tool unless you explicitly request that using the "edit map in place" button. Please clarify! That was a decision is because food resources are also part of what you will be building (fields, corrals). If you consider it useful we can certainly add natural food resources like fish, berries/fruit trees/edible animals etc. This could show a maps initial nutrition potential. Will change. Ok, got me - I used UK English and you are requesting US English. Will change. Had the same observation when I had installed the map already in the target folder in game. This is a logic bug. Will change. But wouldn't that potentially stop the process in the middle of something, i.e. in a non deterministic situation? This should then remove the product of conversion. Or do you want to stop the process when processing batches of maps after one map has finished befaore the next one is started? That's another bug to fix. The conversion from persian to achaemenid somehow was wrongly assumed to have happened pre-R0.28. Will change.
  23. Indeed the GUI of Atlas is powerful but not particularly user friendly in my opinion. Started working on it using python. Approaching the editor from two sides - a map analyser/checker/covnerter called "post-Atlas",see this thread: and a map skeleton preparation tool referred to as "prep-Atlas" (not yet published). Actually I would like to modify the ATLAS UI itself but this is a larger task.
  24. @Asher Here is a bit of feedback on dependencies on entities in other mods: post-Atlas already reads dependencies and shows them on the Analyse tab. What it does not do is connect them to the entities a map places — which is your actual request A maps mod.json provides Dependencies as a real key: "dependencies": ["0ad>=0.28.0", "millenniumad>=1.0"]. Operators are <=, >=, =, <, >. A dependency with no operator is not checked at all. CheckForIncompatibleMods only compares when it finds an operator in the string, so "dependencies": ["millenniumad"] is documentation, nothing more. Write millenniumad>=0 if you want it enforced. CAVEAT: It requires the other mod to be enabled, not merely installed — the version table is built only from the mods in that launch list. It names the mod's name key, not its folder. The base game is 0ad, though its folder is public. Proposed solution: Today a template that isn't in public or the map's own mod produces entity-template-missing, a FAIL, while another mod might have it. Four steps: When templates are missing, search the other mods in the selected install — its own binaries/data/mods and the user's Documents\My Games\0ad\mods, both of which Session already knows — for simulation/templates/<name>.xml, and for actors under art/actors/. Only when something is missing, so nothing slows down. Report what was found by name: "structures/mil/tower is in mod millenniumad (Millennium A.D. 1.2)" — the finding turns from "broken map" into "enable this mod". Where nothing is found: say plainly that these are probably from a mod not installed here, and name the count. Check the map's own mod.json against that: entities from mod X with X not in dependencies → WARN, with an automatic fix that adds X>=<installed version>. write_mod_json already preserves keys it doesn't own, and the converter already writes the file. Conversion and Test in Game: carry the dependency into the converted mod's mod.json, say in the report which mods must also be enabled, and add them to the -mod= list when launching. The other issues, inactive buttons not being visible on dark schem, missing light scheme, missing tooltips Are also addressed. As usual I'll put the release into the top message of this thread. Let me know if something is missing or failing!
×
×
  • Create New...