Jump to content

SciGuy42

Community Members
  • Posts

    107
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by SciGuy42

  1. Here is the situation. In one image, we see the passability map as I loaded the scenario. Then I use the modify button to raise a bunch of land where it clearly becomes not passable but the overlay doesn't update. If I save it and reload then the overlay will be correct. But it is a pain to do that, sculpting narrow passages requires the overlay to update as changes are made.
  2. I recently upgraded to a25 and was messing with Atlas as I am converting my campaign to a25 along with the help of a few other folks. Back in a23, as I would modify the height of the map, the terrain passability overlay shown in red would be recomputed and updated after each change, which was very useful for sculpting small narrrow passages, etc. Now in a25, the overlay no longer updates, I would have to reload the map to see how my changes have affected passability. My question is, is this the same for everyone else or is it just me? I really need to figure out how to get the passability overlay to update without reloading the map, otherwise I would just lose patience
  3. Thanks, yes, currently almost every .js will break because it makes some calls to functions that no longer exist and also interval actions have changed. This may take me a bit to go through, once I have fixed the first 5 missions, I'll make a post and ask for some testers.
  4. Great, thanks, yes, it indeed has to be run on both the xml and pmp file. Now I am getting the template errors. OK, so here is what I will proceed with -- I will need to go over the .js files and test them with your converted versions, I see that there are some small changes to the API and UnitAI specifically that may cause an issue, as well as hardcoded old templates (unless you also replaced those?). I will let you know how far I get over the next few days.
  5. Thanks, I can now use this script, and I should run it with 7 as the version, right? When I run it on one of my old maps, I get that it was converted successfully but the error when loading the scenaioro isn't particularly useful, it looks like this: Assertion failed: "0 && (L"Invalid map XML data")" Location: MapReader.cpp:768 (ReadEnvironment) Call stack: (0x55819d482e55) /usr/games/pyrogenesis(+0x5f4e55) [0x55819d482e55] (0x55819d422c19) /usr/games/pyrogenesis(+0x594c19) [0x55819d422c19] (0x55819d424291) /usr/games/pyrogenesis(+0x596291) [0x55819d424291] (0x55819d424b1b) /usr/games/pyrogenesis(+0x596b1b) [0x55819d424b1b] (0x55819d220179) /usr/games/pyrogenesis(+0x392179) [0x55819d220179] (0x55819d2281e6) /usr/games/pyrogenesis(+0x39a1e6) [0x55819d2281e6] (0x55819d228414) /usr/games/pyrogenesis(+0x39a414) [0x55819d228414] (0x55819d161cfc) /usr/games/pyrogenesis(+0x2d3cfc) [0x55819d161cfc] (0x55819cf38d80) /usr/games/pyrogenesis(+0xaad80) [0x55819cf38d80] (0x55819cf25f4e) /usr/games/pyrogenesis(+0x97f4e) [0x55819cf25f4e] (0x7f97b1abf0b3) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f97b1abf0b3] (0x55819cf365de) /usr/games/pyrogenesis(+0xa85de) [0x55819cf365de] errno = 0 (No error reported here) OS error = ? Yeah, I know that some templates in the xml are no longer in A25 but it doesn't tell me which template it actually got hung on. So how do you figure out when converting error by error which templates to change? Or do you basically assume all of them?
  6. I haven't done that yet, I mostly want to learn how to do it myself since I have another campaign in waiting as well How do you convert the PMP files?
  7. Thanks. The first error I get when I load Macedonia_1 is: Writing replay to /home/<my user name>/.local/share/0ad/replays/0.0.25/2021-11-03_0001 terminate called after throwing an instance of 'PSERROR_Game_World_MapLoadFailed' what(): Could not load terrain file - too old version! This is more than just replacing template names I think. How do you handle this one?
  8. Feel free to make a pull request to merge into the a25 branch instead of master and I will approve. But also, how are you actually doing these conversions, what scripts are you running?
  9. Thanks all for the info. I have successfully installed a25 now. How exactly are you converting the scenarios though? Is there a script you have to run? Seems like a lot of templates have changed, so I will need to verify that any templates used in my javascript code as well as the scenarios themselves are updated. I have also created a branch called "a25" in the repo. If anyone wants to help, let me know your github name and I can add you to the repo.
  10. Hi folks, it is now time for me to convert this to A25. Does anyone have a pointer to what scripts I need to run? And another silly question, how do I actually installl A25 on Linux (Ubuntu 20.04)? Would this work: sudo add-apt-repository ppa:wfg/0ad sudo apt-get update sudo apt-get install 0ad
  11. Macedonia 45 - Nightmare (323 BC) Alexander is in trouble. His skin is burning up, head is raging with internal fire and strife. As he lay dying, in his mind there is one final battle to be fought. The landscape is desolate, covered in fire and ash. The sea is red and full of blood. All his enemies have gathered against him -- from the Spartan rebels, to the city of Tyre, and all the way to India. His only allies are the people who greeted him like a living God -- the land of Egypt. Will he prevail? Only you will find out. AI Settings: Player 8 (Doom Guard) should be set to Sandbox. For the rest of the players use a difficulty of your choice. For casual game play, set your Ally to Hard or Very Hard and your Enemies to a combination of Easy and Medium difficulties. You can also gift units to your ally. Simply move them to the little palisade pen and they will switch ownership. Your ally may also gift units to you as well.
  12. Macedonia 44 - A Band of Heroes (Part 2, 325 BC) After returning to Mesopotamia, Alexander took the time to rule his newly formed empire. New laws, new rules, power plays, and shuffling of satraps were all day to day events. Occasionally, Alexander would host lavish parties with drunken debauchery, but he also enjoyed frequent hunting trips. On one such trip, Alexander took those closest to him -- from Macedonian and Greek nobles, to Persian satraps and even Indian adventurers. The hunters used small boats to reach the hunting grounds but a surprise lightning storm wrecked havoc to the small ships. Alexander finds himself alone on the short of an unfamiliar river, his companions nowhere in sight. A local band of archers has fortified itself awaiting reinforcements -- while Alexander was generally liked throughout his empire, many of the local Persians did not pledge allegiance to him and would rather see him captured or dead. Alexander must find and rescue the remaining 10 hunters and make haste to a small Greek colony that will provide safety. Little does he know that making to a safe house is going to be only half the battle. Notes: some building have dialogue options -- move a unit close the building (perhaps circle around) to trigger them. AI Settings: Players 2, 3 and 5 (the Persian Villages) should be set to Petra with a difficulty of your choice. All others should be Sandbox.
  13. That looks like it's because it's made for a23 version of the game, you'd need to down load it and install to play. I have two more missions to make, then it's conversion time. I will still keep the a23 version for noobs like me who just do sudo apt-get install 0ad.
  14. Macedonia 43 - The Gedrosian Desert (325 BC) Gedrosia is the Hellenized name of the part of coastal Balochistan that roughly corresponds to today's Makran. The region is mostly a desert, with few resources available. While Nearchus' navy sailed along the Persian coast, Alexnader too the path across the desert, where the marching conditions for his army were brutal, to say the least. It is not clear why Alexander chose such a treacherous path, some hypothesize that he was indirectly exacting revenge upon his troops for their refusal to follow him deeper into India. You are in charge of a small band of elite soldiers and your primary objectives are: 1) keep the army supplied with food; we lose food in fixed interval and if we ever approach 0, soldiers will start dying; and 2) keep the army safe while it crosses the desert; the soldiers are so weak, they will not be able to put up much of a fight if attacked; we must destroy the fortifications of some local Persian rebels, if they stay up for too long our army will be too vulnerable. Local traders may be of some assistance. We should immediately seek to make contact with monastery not too far from our starting point, as we'll need food and healers from them. We should also make sure the path towards the other side of the desert is clear of any immediate dangers. Our scouts report that a small band of mercenaries may be available for hire, they are residing in a tent camp in the desert. A trading village with an elephant stables may also be willing to sell us some elephants. Most of the locals up in the mountain will be hostile but we must seek them out as their food supply will surely come handy. One tribe is known for its large goat herds. Good luck! AI Settings: All AIs should be set to Sandbox Notes: 1. you must be constantly on the lookout for food. It is possible to store too much too quickly and some of it will go to waste. But it is probably better to have too much than too little. 2. If any of the Persian rebel fortifications remain standing after 1 hour of game time, you lose the game. 3. If more than 1200 army soldiers die (either due to starvation or enemies), you lose the game. Note that the number of units lost shown by the UI does not include starvation deaths. 4. Act quickly and save often!
  15. Macedonia 42 - Nearchus' Journey: The Fisheaters (325 BC) Nearchus' navy continues to sail West along the Persian coast, occasionally making a landing to secure supplies. On one such occasion, the Macedonians encountered a local tribe, which they described as the Fisheaters (the ancient Greeks often called people by the food they ate). While Nearchus explores to local waterways, one of his generals, Onesicritus, has established a beach head prepared to take on the Fisheaters. Our scouts report that most of the Fisheaters reside in the mountains north of the coast. A small fishing village is located to the West while a goat-herding village lies to the East. Your mission is to subjugate the Fisheaters as to acquire access to local game and fish, as well as their resources. The Fisheaters are primitive people, living in houses made of straw. Nevertheless, they clearly have access to iron-made weaponry. Our biggest hurdle is our lack of siege weapons or materials to construct them. Your officers suggest that we seek the Fisheaters' workshop -- should we capture or destroy it, we may be able to construct a few rams to make our job easier. Objectives: Destroy the three Fisheaters fortresses to subjugate the tribe. Do not lose more than 15 champion soldiers (we are very short on troops!)
  16. Macedonia 41 - Nearchus' Journey: The Hingol River (325 BC) After the Brahmin rebels were defeated, Alexander decided to return to Babylonia. In June, general Craterus had already left for Carmania with a third of the soldiers. In August, Alexander and three quarters of what remained of the army set out for a long and difficult march through the Gedrosian desert. Nearchus was to ship the remaining quarter of the soldiers, 17,000 - 20,000 men, to Carmania and Babylonia. The voyage down the Indus lasted from November 326 to July 325. It was not an easy cruise: several times, the Macedonians had to fight their way past resisting native towns. Finally, the reached Patala (Old Indian for "camp for ships"), modern Bahmanabad, 75 kilometers north-east of Hyderabad. While sailing westward along the Persian coast, Nearchus often had to go up rivers to seek supplies as the coastline was barren. At the Hingol river, he made one such expedition in order to procure supplies and forage for the food needed for the remainder of the journey. As you sail up the river, you find that hostile native tribes, the Oreitans, occupy both banks. Our scouts report that up the river lies a fork, where two smaller rivers join, and that at that fork, there is a native settlement, whose inhabitants recently killed one of our messengers. There are also friendly traders in this region, but beware of river raiders who are used to being unchallenged in the water. Objective: establish or capture a base and pacify the area -- destroy all Oreitans. AI Settings: Players 2 and 3 should be set to Petra with a difficulty of your choice (Medium for casual play); all others should be Sandbox.
  17. Thanks so much for taking a lead on this. I have 4 more missions to complete (the plan is to end at 44) and after that I'll get to updating. Currently, when I do "sudo apt-get install 0ad" on a linux system, the version I get is a23 so I wanted to make the campaign for the typical user. In a few weeks once I've finished all the missions, I will go back from the beginning and start converting them. If template names have changed and if the API has changed significantly, it may be some work. Quick question, do you think it makes sense to move to a24 or just go to a25 directly?
  18. Macedonia 40 - The Underground Assault (325 BC) During a siege on a Brahmin-held town, Alexander used a genius tactic -- rather than assaulting the town directly, which had strong natural defenses, his men dug tunnels underneath the city and to the surprise of the Indian defenders, emerged seemingly out of nowhere to take the town. Your soldiers have just completed digging 4 tunnels into the city. But we're not quite ready for the assault just yet. We must scour the land to find resources (and trading partners) to procure supplies, as to raise a bigger army. In addition, one of our scouts has been captured by a group of desert raiders -- we must investigate. We have also heard a small monastery nearby that may be able to assist us. Finally, there are rumors that on the mountains on the far side of the town, there may be a secret path into the city used by smugglers. Once inside the town, we'll be facing a large Brahmin guard -- we must eliminate their defensive and military buildings as quick as possible. We do not have siege weapons and therefore, we must capture the siege workshop inside the town so we can deal with any fortifications we may encounter. AI Settings: All AIs should be set to Sandbox Note that each time this mission is played, the tunnel outlets are randomly positioned inside the city. Not surprisingly, this scenario features a custom-built teleportation mechanic. Enjoy!
  19. Thanks for the help. Yes, I am currently using 23, it's what's installed by default on Ubuntu 16.04 or 18.04 I believe. Does anyone know what it takes to convert these so they're compatible with 24?
  20. Macedonia 39 - The Brahmin Rebellion (325 BC) In April of 325 BC, the Brahmin went into open rebellion against Alexander's forces. While the rebellion was ultimately unsuccessful, many of the Greek colonies suffered attacks and massacres. You have been dispatched by Alexander to help defend Sparta-on-the-Indus, a colony founded recently by veterans, mostly from the Peloponnese region. The colony is headed by Agis and his warrior wife, who will be at your service. Many of the veterans have married warrior maidens, who will also help in the defense. Our scouts report that two rebel armies are headed our way. Your job is to boost the defense of the colony and battle the attackers until they are destroyed. The first rebel army is expected to arrive in about a week (about 18 game minutes). There are several nearby trading posts that we can use for supplies in addition to gathering resources. To the south west, there reside a group of bandits which have recently stolen goods from the colony -- if we recover them, we should be able to build up our defense much quicker. The colony's militia will aid in the defense. You can "donate" soldiers to the militia by moving the unit behind the militia's outpost, right next to the militia camp in the back of the town. Good luck! AI Settings: All AIs should be set to Sandbox
  21. Macedonia 38 - The Mallian Campaign (326 BC) The Mallian campaign was conducted by Alexander the Great from November 326 to February 325 BC, against the Malli of the Punjab. Once the mutiny situation was resolved, Alexander decided to head south, following the river Hydaspes, after the omens ostensibly declared it unfavorable to march further east. Initially, the fleet and army just sailed down the river, occasionally marching short distances inland. Only slight opposition was experienced. However, the Malli and the Oxydraci combined to refuse passage through their territory. Alexander sought to prevent their forces meeting, and made a swift campaign against them. Our forces have just reached the point where the Hydaspes merges into the Acesinea river. Craterus has already established a based on the western bank. We need to find a suitable place to make camp as soon as possible as our enemies have received word of our arrival and will be preparing accordingly. Further to the west, lies the tribe of Sibea and their capital city. South, across the Acesinea, lies a desert with the town of Kot Kamalia, another enemy base that needs to be destroyed. Past the desert, is the river of Hydraotis, with two enemy towns nearby, Multan and Tulambo. Our also scouts report that a band of Persian mercenaries are in the service of the Mallians. We must locate their base and destroy their fortress to eliminate their ability to support the Mallians. There may also be neutral traders in the area that we can use to secure additional supplies for the war effort. Your advisors also suggest that disrupting our enemies' trade may be crucial to winning the campaign. Finally, we can directly supply Cratarus' advance with fresh troops by moving them to the little walled off area to the north-east of his camp. Good luck! AI Settings: Players 7 and 8 should be set to Sandbox. All others should go with Petra with a difficulty and personality of your choice (tested with Medium and Balanced personality for a fairly easy win).
  22. Thanks, just did. I noticed that the json file only lists the first 5 missions while there are now 37. My plan is to end at 42 missions, once there, I can edit the json file to include all.
  23. Not that many But it worked fine on turtle speed on a laptop that's about 4 years old
  24. Macedonia 37 - The Mutiny (326 BC) After the battle at the Hydaspes, Alexander wanted to press further East into India. Alexander voiced plans for further conquests in the Indian subcontinent, however, when his men reached the river Hyphasis, there was an open revolt. Beyond the Hyphasis, was the Nanda empire, a vast kingdom rumored to have armies in the hundreds of thousands. Coenus, son of Polemokrates, stepped in to negotiate and achieve an agreement between Alexander and his many Macedon and Greek soldiers who did not want to follow further East. While the negotiations take place, Alexander was left with establishing a base that would either server as the eastern-most border of his empire, or a stepping stone further into India. Objective: constructs 2 Civil Centers to establish your base. Intelligence Reports: on the other side of the river, lie the realms of the Nanda empire. The Gangaridai and Prasii tribes, vassals of the Nanda, hold formidable settlements, but for now, have invited us to trade with them. To the north, there is a Nanda fortress on top of a hill. Further, a Nanda garrison far to the East provides fresh troops to the vassal tribes. We should do what we can to establish a base while being aware that the situation may change quickly. A number of small trading posts scatter the land and should provide us with good opportunities to secure supplies, especially metal which is in short supply in the area. AI Settings: Players 2 and 5 should be Petra with a difficulty of your choice (medium for casual game play). All others should be Sandbox.
  25. Macedonia 36 - Battle of the Hydaspes (326 BC) In May 326, the Macedonian king Alexander the Great and his ally, raja Ambhi of Taxila, battled Porus, a raja who had not been able to surrender himself to Alexander. There were heavy rains - the monsoon seems to have started early - and the river Jhelum, already wide in May because of the melting waters of the Himalayas, became very wide. Porus thought he'd have a chance, if only he could win time and keep the river between his own army and that of his enemy. What Alexnader needed was a surprise crossing, and the rain offered sufficient opportunity. Another element of surprise was that the Macedonian officer Coenus had brought the ships (which had been used to cross the Indus) all the way to the Jhelum. During a stormy night, Alexander and his army slipped away from the Jhelum through a hidden valley, out of sight of Porus. At dawn, Alexander crossed the Jhelum, a considerable distance upstream from his initial camp. Unaware of what had happened, and seeing a substantial part of Alexander's army (commanded by Craterus) still on the opposite shore, Porus could not believe the news that the Macedonians had reached the east bank. He sent his son to find out what had happened, but he was killed in action. The fact that it had been raining made it very hard to fight from chariots, a factor that contributed to the defeat of the prince. Alexander proceeded along the river, downstream, towards Porus' army. You, playing as Coenus, are in charge of elite cavalry units, as well as the Dahae horse archers. Alexander's officers advise that our left flank is vulnerably and may need assistance. You are to do anything you can to ensure we are victorious. Alexander and Coenus must survive, and in addition, if too many of our infantry perish, we may have no choice but to put a hold on our Indian expeditions. AI Settings: all AIs should be Sandbox. Reference image I used for the battle is the following: https://www.livius.org/site/assets/files/2552/hydaspes_map1.gif
×
×
  • Create New...