Jump to content

krt0143

Community Members
  • Posts

    205
  • Joined

  • Last visited

Everything posted by krt0143

  1. I'd vote for that too! It's actually the AoE feature I'm missing... On every other aspect 0 A.D. is better. Yes, I know, using shortcuts and all your eight hands on 6 keyboards and 3 mice covered in buttons, but sorry, no, I'm too old, retirement age old, and partly disabled. 40 years ago I might, but now I definitely can't keep up with the omniscient and lightning fast computer (I don't do multiplayer). Right now, not only does "pause" freeze everything, but there is also an almost opaque overlay over the screen, so you can't even check the map in peace... Unfair. Just the time to scroll from one side of the map to the other, the AI has usually finished destroying me... (That been said thanks for the information that one can turn Pause to slow motion, if I manage to find where this setting is, I'll try it.)
  2. Sorry for having suddenly disappeared yesterday, but newcomers are definitely unwelcome here: Being a nasty noob I am apparently only allowed 3 posts in 24h. That sure helps having a meaningful discussion. (Yes, yes, I know, it's in case I suddenly reveal myself being an eeevil spammer (who spent many hours trying to understand the game and post relevant stuff, just for a chance to shortly advertise his fake meds); I sure question the point, since my first posts needed moderation anyway, moderators know I'm not a spammer.) Anyway, until I eventually get to be a full person one day, I'll need to cram everything in 3 posts/day. Here goes: Yes, I see what you think, but no... My goal here is not to give me a GF, or make me invincible, but just to learn how to make new types of units. I chose to make a copy of a hero unit because they are unique, and thus easier to control: When you buy Boudicca in the game she comes as spear-chucking cavalry (according to the description), I made a sword-wielding infantry unit out of her, just to be sure who is who. (Besides if I really needed an overpowered unit to make the game easy, I'd make the arsenal a first age building: Nothing can resist a couple rams...) Thanks. So, identical values are replaced. Interesting. 1. What about duplicate <Identity> tags with different or identical contents (like "<VisibleClasses datatype="tokens">Soldier Hero</VisibleClasses>", "<VisibleClasses datatype="tokens">Infantry</VisibleClasses>", "<PreferredClasses datatype="tokens">Unit+!Ship</PreferredClasses>")? I guess at least the different types stack, but what about the contradicting ones? Replacement, here too? 2. What is resource cost "op", compared to the non-"op" ("<wood>200</wood>" and "<wood op="add">-50</wood>"? Is this a modifier, like "add -50 to 200" (which would mean "150")? There is a similar issue in Resistances: "<Hack>8</Hack>" and "<Hack op="add">4</Hack>". I'm trying to get rid of DLL Hell... I'll be making a whole civilization, but I do not need cascading templates, it will not have thousands of mostly similar units... 3. What are those ".cached.xmb" binary files I find all over the place? (How do you read them? Do you need to read them, or are they just a compiled version of the .xml file? The only ones not having an .xml sibling seem to be maps. ) ----------------------------------- 4. I tried the Map editor and it crashes a lot. More often than not, actually. I can even make it reliably crash on command by asking it to generate a "huge" map of the "Caledonian Meadows" type... And even when it doesn't crash long enough for me to manage to save a generated map (just a randomly generated map with 2 added houses, so I know it's mine), it is unplayable in the game (gives errors, errors, and the houses I've placed are missing)... Is this normal? I guess not, so what am I doing wrong? I guess the "Actor Editor" (in /system) hasn't been updated in ages, it doesn't recognize any file I've asked it to open (in Windows), but I would had expected the map editor to be halfway stable. What do you people use to make maps? ----------------------------------- 5. And let's get to the "piece de resistance". I would had posted a new thread about it, but since I'm a underprivileged newcomer I'll have to stuff it in here: Civilization data? Let's assume I would want to add the Celts as a civilization, where I would need to declare it, before even starting to add units? All civilization definitions seem to be in /public/simulation/data/. But, looking at the definitions in /civs I get the nagging feeling I'm again in DLL Hell, and those files reference some other file, which this time isn't mentioned... Where would that be? For instance, where do you find the full screen name and description of any given civilization? Are there some files which say which units every civilization can have? Or do they just take anything you put in /templates/units/myCiv (provided of course some building can train it)? That's all for the time being. Thanks for your help guys.
  3. 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.
  4. 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.
  5. 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...