-
Who's Online 5 Members, 1 Anonymous, 164 Guests (See full list)
-
Latest updates
-
Newest Posts
-
By Classic-Burger · Posted
Look at the animal templates and see if they have a tag. template_unit_fauna https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/public/simulation/templates/template_unit_fauna.xml -
By Perzival12 · Posted
Hey, I’m making a random map where you get attacked by bandits after a few minutes, but I am having trouble. I took the Survival Of The Fittest map and edited it to work, but I can’t seem to select a specific civ or unit type. Also, on a similar topic, I am trying to figure out how to get Gaia soldiers to wander like animals do, to make them more realistic. Does anyone have any ideas how to do that? Adding the animal Roam info doesn’t seem to work. -
By Perzival12 · Posted
I’m working on something similar, with spy’s. Basically, you just make anyone with a gun be an archer and any explosive be caused by a siege weapon with splash damage. Try it. -
By Classic-Burger · Posted
I'm having trouble setting up my GitLab and Git Hub clients. My Git tortoise is very outdated. I'll see when I have my personal computer nearby. I just updated my conver.js or at least I added <optional> again. convert (2).js Sorry to named "(2)" I'm sharing quickly. -
Would be easier if you uploaded your project on github or something. You also need function Convert() {} on line 1, which is likely to solve alot of issues. I meant you can improve your code by using the tools available
-
By Classic-Burger · Posted
I'm not there yet. Clean my code from another file, how? The interesting log. ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty ERROR: RelaxNGValidator: Failed to compile schema ERROR: JavaScript error: simulation/helpers/Player.js line 36 cmpPlayerManager is null LoadPlayerSettings@simulation/helpers/Player.js:36:19 Stan said: Your template is expecting a choice tag And not finding it <optional> </optional> <optional>{youroptionalelement}</optional> Basically it's useful if you want to add non default behaviours e.g for instance you might say that conversion rate is always 1, and someone might want to override it, but you don''t want to write ConversionRate in all templates. You probably don't need NonConvertibleClasses if you have a whitelist with ConvertibleClasses. That's what Stan said. <Convert> <MaxFaith>100</MaxFaith> <CurrentFaith>100</CurrentFaith> <FaithRegenRate>1</FaithRegenRate> <ConversionCost>50</ConversionCost> <CooldownTime>5000</CooldownTime> <ChancePerSecond>0.05</ChancePerSecond> <Range>20</Range> <ConvertibleClasses>Infantry Cavalry Support</ConvertibleClasses> <NonConvertibleClasses>Hero Mechanical Siege Structure Ship</NonConvertibleClasses> </Convert> Healer XML. Convert tag. I will upload the files when I can. -
By guerringuerrin · Posted
I'll try to recover this replay, @ffm2
-