Jump to content

SciGuy42

Community Members
  • Posts

    96
  • Joined

  • Last visited

  • Days Won

    2

SciGuy42 last won the day on July 17 2021

SciGuy42 had the most liked content!

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

SciGuy42's Achievements

Discens

Discens (2/14)

135

Reputation

  1. I am working on a scenario and as a way of boosting the AI a bit, I periodically spawn some random citizen soldiers by their civic centre. To my surprise, the AI wasn't using them to do any work and they just keep standing where they were spawned. Then, I decided to try something different - I spawn the same units as Gaia entities and change their ownership to the player through code. Now, the AI immediately puts them to work! My guess is that the latter method trigger some function similar to what happens when the AI produces a worker through its building, while simply spawning the units for the AI to use them as it sees fit, does not.
  2. Nah, just helping out however I can I do have some distant family in Ukraine and a number of friends.
  3. Here: https://github.com/SciGuy42/Macedonia_0ad/blob/a25/maps/scenarios/Macedonia_45.js Starts at line 2637. In this example, all players get the techs to advance to the latest phase and player 1 also gets the line of sight with allies tech.
  4. I have now finished the port to a25! Sorry it took a while, with the war going on and all, my open source development time had to be spent elsewhere. What's next? I can try to install the latest version and start that port. It took me a while because I had to play every mission mostly from start to finish to make sure there are no bugs. Can someone point me to the list of major changes in the latest version relative to a25 so I can estimate what it would take to convert? Thanks!
  5. I know how to get an entity's cmpPosition but will simply changing the x and y coordinates actually teleport it? The other issue with this is that I only know the entity ID of the destination, currently I use the spawn units function to spawn a "copy" at that destination which automatically figures out the actual x,y position.
  6. Mission 39 is now also converted to a25. Yay. For the next mission, I need to figure out how to properly teleport units (basically, you have dug tunnels into the city that needs to be conquered :). The previous attempt worked but it was very hacky and not every type of unit could be teleported. Ideally, what I need is a function that given the entity ID, it tells me the template of the entity so I can spawn that exact template. Does such a function exist? Thanks!
  7. Sure, it'd appreciate it. Currently up to mission 36 work on a25. I am still hesitant about it being a finished campaign in the sense that I want people to be able to skip ahead if needed. There may still be bugs in victory conditions that I haven't encountered, the order certainly isn't balanced for difficulty. So ideally, people should be able to play any mission even if they haven't finished the previous one. On the other hand, requiring the missions to be played in order will probably let us know what bugs need to be fixed. If you need github access to the repo, let me know and I can give permissions.
  8. Mission 35 is now also converted to a25 and you can find it here: https://github.com/SciGuy42/Macedonia_0ad/tree/a25 This one is a standard, "you must build up your defenses before a big attack arrives". If you play it, do let me know if you won or not.
  9. Up to and including mission 34 are now converted to a25. I had to take a break for a bit but now I'll try to finish the rest of them soon. As for making this part of the game, sounds good in theory but it looks like there are just way too many changes that happen from release to release. Unless each new version comes with a good automated conversion tool, I won't have the bandwidth to do the conversion to newer versions.
  10. Up to mission 32 are now converted to a25 and can be downloaded here: https://github.com/SciGuy42/Macedonia_0ad/tree/a25 Just a few more to go! Most of the effort in converting goes into changing some function calls that changed as well as renaming the templates. I do test each mission once before I commit to the github and since I usually play on slow and turtle to micromanage better, that part can take a while.
  11. Thanks so much! I love single player RTS games, so I am mostly drawing on my years of playing AoE I and II, Starcraft I, C&C series, etc. The trigger API also helps a lot, so many things you can do with code!
  12. Thanks for the info! Can you try to see if the first mission runs fine on a27? I will need to stick to a25 until I have converted all of them, so maybe a month or two more.
  13. Thanks for catching this. I add a script now that periodically checks if the enemy has any civil centers -- if not, then you win! edit: this is only implemented in the a25 branch of the github which is the one you should be using
  14. I am currently in the process of converting the scenarios to a25. As long as a27 is backwards compatible with a25, it should work. If it's not, I probably won't have the patience to the conversions, there were so many changes going to a25. Ideally, there either should be backwards compatibility or scripts to convert scenarios (I have written a .sh script to convert the xml files by remapping the templates but it's not perfect). Someone already converted the .pmp files. I have no scripts to convert the .js files automatically and since this is a trigger heavy campaign, most of the time in conversion goes to editing the .js files. If you do want to help in any way, let me know! Someone still needs to work on the mod .json files to get it to work as a campaign. And it's obviously not difficulty balanced so for the time being I would like folks to be able to play any mission they want in any order.
  15. I have now updated Mission 26 to a25. Here, you get to witness the assassination of Darius and subsequently, avenge his death.
×
×
  • Create New...