Jump to content

Freagarach

WFG Programming Team
  • Posts

    1.126
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by Freagarach

  1. By the way, losing HP in enemy territory (albeit only during ceasefire) was proposed before: https://trac.wildfiregames.com/wiki/Background%3A_Territories#BENEFITSOFCONTROLLINGAPROVINCE.
  2. On SVN one _is_ able to pick those maps (called landscapes there).
  3. (Some WIP from some time ago: https://code.wildfiregames.com/D2175.)
  4. Interesting idea, but I think that would work best if the resource gathering would go from event-based to continuous production (e.g. lumber camps being semi-large structures being built next to some trees giving a(n) (unlimited) trickle of wood, which is increased with number of assigned slaves and/or amount of wood nearby). TerritoryDecay.js just sends a message (MT_TerritoryDecayChanged) whenever an entity gets out of allied territorium, so you could listen to that in cmpHealth and respond accordingly. That would be fairly slow I guess though.
  5. Significant work has been done here: D1958. Sounds like trample damage? (D1838)
  6. The main reason there is no official campaign yet is because the underlying infrastructure is not there yet. There is a big patch for that (D11) but it needs review (feel free to do so) and fixes by the author. Once the infrastructure is there my guess is that a simple campaign won't be far off.
  7. (Actually, "/" selects idle fighters.)
  8. You can take a look at StatisticsTracker.js -- especially at the difference how e.g. "lootCollected": this.lootCollected and "percentMapExplored": this.GetPercentMapExplored() are obtained -- and at Player.js. Those should contain (nigh) all information you need. Feel free to ask questions! (You can also join #0ad-dev on IRC for a faster respons.)
  9. Could you consider submitting a patch for this? At http://code.wildfiregames.com.
  10. This has been implemented differently in rP24001. Be aware that this breaks many previous templates. Old template code: New template code: This new schema allows for e.g. It is good to note that, after thorough discussion, it has been decided to NOT include directionality (yet). (But that is certainly on my ToDo-list ) This sets things up for resistances against Status Effects.
  11. You can also use "Unassigned" instead of "AI: Petra bot" in the player placement. That way their civic centers will spawn, but the entities stand idle (nice capture point ).
  12. Probably something along the lines of: "modifications": [ { "value": "Attack/<Ranged|Melee|Capture>/Bonuses/<NameOfTheBonus>/Classes", "replace": "Building" }, { "value": "Attack/<Ranged|Melee|Capture>/Bonuses/<NameOfTheBonus>/Multiplier", "multiply": 5 }, ], To add 5x damage against buildings. But then again, one needs to add support for modifying classes in bonuses first (apperently there is already support to change the multiplier (rP22346)).
  13. Actually, no Even if you'd add it (Attacking.js-helper, "GetAttackEffectsData") you cannot add a new bonus, as far as I know, but you could add a general non-bonus (x1 vs Unit) and modify that with an aura (would mean you cannot alter bonuses with two different auras probably).
  14. To me, it is (Or perhaps the "other"-folder.) But what if one can gather two resources from one object, e.g. fruit and/or wood from a apple tree? It seems we need something of a definition for that folder.
  15. Thank you for the history @Nescio! I can try a PR again, like with the javelin*. I'll kick off with the, IMHO, least controversial of changes: {civ}_*.xml → {civ}/*.xml since I wrote a script for that while practicing my bash ^^ Then we can also gather more feedback in the diff (D2952). I agree about the "other"-folder, but am not sure about "campaign" and "skirmish". The Gaia-folder may also be controversial, perhaps we should wait with that one for another team members opinion (a few are on vacation now ^^).
  16. Currently? I don't think so. Previously? Definitively #3997 :)
  17. @myou5e For your information, there is a lot of useful modding information in https://wildfiregames.com/forum/index.php?/topic/21083-how-to-modify-0-ad/ (Also about resources not getting exhausted IIRC.)
  18. LS (@Nescio, @wowgetoffyourcellphone, @bb_, @wraitii), in light of D2774 and D2254 I've had some thoughts regarding the folder structure of the templates. Currently all "basic" templates are in the "template" folder, which ought to stay that way. But all templates for the factions are in the "templates/units" folder which can get quite cludged. It seems nice to put those in a folder for each civ like is already done in @Nescio's 0abc mod. Idem for structures. The "other" folder, which only contains templates inherited from structures may be moved to the "templates/structures" folder. The "gaia" folder also is quite packed. May it be an idea to move fauna under "templates/gaia/fauna", flora under "templates/gaia/flora" and geology under "templates/gaia/geology"? One could, however, also argue that fauna are just units and should be under "templates/units/gaia". (Perhaps the whole "gaia" folder is redundant?) There may be more ways to improve but this is what I could come up with now ^^ Please add stuff as appropriate
  19. The barracks has indeed an XP-trickle for garrisoned units, since rP23541.
  20. Just to add an interesting read, not really about tiers. One mod I particularly like is AOE III's Wars Of Liberty (http://aoe3wol.com/civilizations) in which the civilisations are split by "culture" where each culture differs greatly from another but the civilisations differ slightly within one culture. I don't think each civilisation is perfectly balanced against all other civilisations, but there are no tiers either. Each civilisation just has its pro's and cons. Perhaps it would be interesting to find out how they balance stuff.
  21. Could you perhaps use the development panel to display the selection state and see what the health of such a unit is?
  22. You mod because it's awesome and people love your mod Meaning you've fixed it? @gameboy Do you still experience the error? (For I can't reproduce it.)
  23. You may like D2199. You can take a look and perhaps even test and give feedback there.
×
×
  • Create New...