Jump to content

krt0143

Community Members
  • Posts

    205
  • Joined

  • Last visited

Everything posted by krt0143

  1. The mod.json is pretty simple, I don't see how anyone could make an error there: { "name": "mytest", "version": "0.1", "label": "Boudicca copy", "description": "Adds a copy of Boudicca to the Britons", "dependencies": ["0ad=0.0.26"] } Anyway, I managed to make it go away. Don't ask, I don't know... But it's probably related to my new question: The specific hero file points to a template, which points to a template, which points to a template! I understand this is the famous "include" principle, but I noticed there is some duplicate information in those files, like cost and resistance for instance. Do those values stack or did I misunderstand? What if I assemble them all to one (differently named) file? I would, but I'd have to know what to do with the redundant entries. What I'm trying to do right now is to make Boudicca available from the very beginning (just so I can see if it works without having to play for 15 minutes), and also create her from the Town Center. I copied the 3 relevant hero templates, renamed them, and it worked indeed. Unfortunately I'll have to play a little to see if the other heroes have been affected or not. Yes, it's easy indeed, but not really newbie-friendly. Programmers will have it easier.
  2. Yes, there is nothing in there... Apparently this kind of information isn't written in logs. Is there a way to tell it to write everything? I don't do multiplayer, so it won't fill up with idle chat.
  3. Hi guys. Please bear with me, I'm a fairly experienced modder, but totally new to 0AD. What I'm trying to do at this point is to just get a hang for the /mods folder structure and how things are connected. So I created a little test mod, put a "/Test" folder in /mods, added the required "mod.json", then added "art" and "simulation" folders in it (and so on), and finally copied an existing Briton hero's templates and art, and just changed the name. Can't get more basic... Now it appears inside the game, and the game loaded it without complaining, but when I try to start a skirmish game using the Britons, the game spams a dozen chat line errors I don't have the time to understand... The only thing I manage to spot is the conclusion, the game didn't manage to "validate" my mod. What does that even mean? (And what can I do about it?...) Is there a way to stop or record those errors the game emits and almost immediately removes? They don't seem to be stored anyway, and having those error logs would really help to understand what the game is unhappy about, especially when I start to do more elaborate things than duplicating existing resources!... I mean, if I don't even manage to create a copy of an existing unit, how am I supposed to do anything halfway serious? Thanks in advance.
×
×
  • Create New...