Jump to content

nani

Community Members
  • Posts

    778
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by nani

  1. Yes, added that parameter to the base template template_units.xml but the overlapping still happened.
  2. I tried these same settings but I instead got multiple units overlapping. See for more context
  3. https://git-scm.com/docs/git-sparse-checkout
  4. Might be a good idea to add a survey to the thread so we can vote. And yes, I use it alot. It allows you, in battle, to "restart" the army so it fights units close to them and not chase random ones
  5. user.cfg file somewhere inside a line with "mods" in it
  6. FXAA missing, check what shader configuration file is calling that.
  7. @andy5995 If you look at binaries/data/mods/public/maps/random/rmgen-common/player.js:317 you will see the reason. "distance" property must be put on the "Mines" object not of each "template" type object
  8. That code doesn't tell me anything, you have to track down what line of code actually places the mines then modify that distance for them, there is nothing more to it.
  9. I suggest to keep 30 corpses at least otherwise the gameplay suffers alot (you won't know where your unit died and how many otherwise). Performance only starts getting bad when you have > 50 corpses lying around
  10. What it does is disable units from entering the entity, in the case of the Fert map it was so units can't garrison inside the wonder placed at the center of the map.
  11. Ok, but that still doesn't tell me why sheep, pigs, etc (cattle) units don't behave the same same way normal units do in respect to unit vs unit collisions. Does someone know a 0ad templates wizard who can tell why? @wowgetoffyourcellphone or @Freagarach?
  12. You can use whatever you want. I recommend Visual Studio Code as is relatively lightweight but useful enough for editing javascript and xml files. The file wont corrupt, you might get some errors if you are modifying some javascript file and the engine tried to do a live-update of the file, but doing a new save usually re-reloads the file correctly. Depends, if you you change some xml templates and use some elements that no longer are removed/moved/removed then yes. For javascript files you can usually keep compatibility with old 0ad versions if you only add or modify superficially some code of the existing one. For changes on the GUI or similar assume yes too. Look at maps that already use triggers, (e.g. random maps: Jebel Barkal, Danubius) and code your triggers like those maps do, can't help more with that you yourself will have to learn how to do them. The JS console is not really useful for triggers and the console only can access the GUI javascirpt context (not the simulation or the map generation stage) (GUI= graphic user interface) You can modify pretty much everything of the gameplay as long as is not defined in c++, assume everything in js to be modifiable except some parts that are performance sensitive (which are coded in c++, thus you can't modify easy). Pyrogenesis is the name of the engine, and 0ad is the main mod people play, that means you can create a "0ad mod" with your own civilizations, art, buildings and custom javascript components (simulation folder) Units -> the more units -> the more lag Area effects (auras) -> the more and the bigger -> the more lag Graphics -> the more high quality -> the more lag AI -> The more state and code each unit has to process -> the more lag (avoid long loops in unitAI.js that) Egypt 3v3 lag -> probably because the map size is giant size, has many units, many unique buildings, etc You mean auto-queue? If you mean auto-building you would have to create a new component in the simulation folder to define it and write the functionality you want, then add that component to the units/buildings you want in their simulation/templates and last, if needed, write the GUI code so the player can interact this new feature. There is no most powerful as you can only program in javascript, C++ would be if you want to change the engine (I don't recommend) To know more you will have to ask around the IRC chat https://webchat.quakenet.org/?channels=0ad
  13. Yeah, disables with radius = 0 right? But what I get then is even more units overlapping and no push mechanics. I want them to behave the same as the sheep, pigs, etc units do but can't find what I must modify in the templates.
  14. What is it This mod lets you play alpha 23b balance in alpha 25 Download a23_balance_for_25.pyromod a23_balance_for_25.zip Why? I like alpha 25 but I like 23b balance better. Source code public repository https://github.com/nanihadesuka/a23_balance_for_25
  15. What's sad is that in a23 these were not a problem.
  16. Champion cavalry has entered the chat and would like to have a word.
×
×
  • Create New...