Jump to content

roadtripping.ph

Community Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

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

roadtripping.ph's Achievements

Tiro

Tiro (1/14)

0

Reputation

  1. I found only the class bellow in config.js. Would it be the "economy manager"? **It doesn´t look like the "economy manager". this.Economy = { "popPhase2": 38, // How many units we want before aging to phase2. "workPhase3": 65, // How many workers we want before aging to phase3. "workPhase4": 80, // How many workers we want before aging to phase4 or higher. "popForDock": 25, "targetNumWorkers": 40, // dummy, will be changed later "targetNumTraders": 5, // Target number of traders "targetNumFishers": 1, // Target number of fishers per sea "supportRatio": 0.35, // fraction of support workers among the workforce "provisionFields": 2 };
  2. The Petrabot´s worker class says that it "makes a worker do as instructed by the economy manager". However, I did not find the economy manager class script. Where is it?
  3. Is there a way to configure a match among robots and see only its final results? I am doing an experiment and it would be very helpful. I did not find anything in the game menu.
  4. It was a conflict because there were these .zip folder with the mod too. I´ve solved it. Thanks for you help.
  5. Ok. Now the mod appear in the game (screen shot bellow) - for some reason there are more than one mod and it adds one more sometimes as I open the game again and again. However, when I press Start Mods the game reloads to the very same screen (it happens to the mod that came with the game too, the 0ad), the Quit button ends the game, the other buttons do not take me to the game main menu either. How can I go to the game from here?
  6. I did it. I have created a mod based on PetraBot, the file is here: Mod_Bot stored it into the /home/pedro/.local/share/0ad/mods/public folder, as recommended by the documentation. Additionally I have tried to load it through command line through the command ./pyrogenesis ~/.local/share/0ad/mods/public/sophia.zip. However, the game mod is not opened as it should. What is wrong?
  7. How does the code calls petrabot scripts during the system built and when the game is running? I'd like to know it.
  8. I want to improve Petrabot code and test it against the existing one. In order to do it I need to (i) make the game recognize my "new" petrabot (with the logic I will create) and (ii) I need to change petrabot script. I noticed that the petrabot scripts are all in a zip folder when I download the source code. I do not understand the reason why it is compressed. How does the code calls petrabot scripts during the system built and when the game is running? I'd like to know it. Where should I start? Which function calls Petrabot script? Which source-file do I need to start with?
×
×
  • Create New...