Timnaka Posted May 29, 2020 Author Share Posted May 29, 2020 A question on projectiles: is there a way to make them visible without having to add my own animations? Link to comment Share on other sites More sharing options...
Stan` Posted May 29, 2020 Share Posted May 29, 2020 8 minutes ago, Timnaka said: A question on projectiles: is there a way to make them visible without having to add my own animations? You can define them in templates I believe. so you can use whatever actors you want Link to comment Share on other sites More sharing options...
Timnaka Posted May 29, 2020 Author Share Posted May 29, 2020 13 minutes ago, Stan` said: You can define them in templates I believe. so you can use whatever actors you want Are you sure? I tried looking through the templates of ranged units but i didn't find anything defining the projectile. Link to comment Share on other sites More sharing options...
Stan` Posted May 29, 2020 Share Posted May 29, 2020 See https://github.com/0ad/0ad/blob/b8ddcf284c6e498d063f86e7f8cd24de8df3c360/binaries/data/mods/public/simulation/components/Attack.js l68 Link to comment Share on other sites More sharing options...
Timnaka Posted May 29, 2020 Author Share Posted May 29, 2020 1 minute ago, Stan` said: See https://github.com/0ad/0ad/blob/b8ddcf284c6e498d063f86e7f8cd24de8df3c360/binaries/data/mods/public/simulation/components/Attack.js l68 Huh, I must have missed that. Thank you very much. I'm honestly a bit overwhelmed with all the parameters in the templates. Link to comment Share on other sites More sharing options...
Stan` Posted May 29, 2020 Share Posted May 29, 2020 Don't worry you'll get the hang of it Link to comment Share on other sites More sharing options...
Timnaka Posted May 30, 2020 Author Share Posted May 30, 2020 I tried creating my own templates but I keep getting this error. They are in the right folder so I don't understand why the game can't find them. Link to comment Share on other sites More sharing options...
asterix Posted May 30, 2020 Share Posted May 30, 2020 7 minutes ago, Timnaka said: I tried creating my own templates but I keep getting this error. They are in the right folder so I don't understand why the game can't find them. Well here are few wiki pages about templates https://trac.wildfiregames.com/wiki/Technology_Templates  https://trac.wildfiregames.com/wiki/Aura_Templates  https://trac.wildfiregames.com/wiki/Cheat_Templates that might  help a bit. Link to comment Share on other sites More sharing options...
Stan` Posted May 30, 2020 Share Posted May 30, 2020 Can you share the template? Link to comment Share on other sites More sharing options...
asterix Posted May 30, 2020 Share Posted May 30, 2020 @Timnaka It could be bit more straightforward and easier for us to fix it if you are willing to make github or gitlab repository. Link to comment Share on other sites More sharing options...
Timnaka Posted May 30, 2020 Author Share Posted May 30, 2020 I've essentially just changed the names of the regular templates so I can modify those without changing the regular 0ad units (also I increased the speed at which corpses sink into the ground because my units lack death animations). Then I set the modified templates as the parents for my units. template_dh_unit.xml template_dh_unit_infantry.xml template_dh_unit_infantry_melee.xml template_dh_unit_infantry_melee_spearman.xml emp_soldier_spear.xml 1 minute ago, asterix said: @Timnaka It could be bit more straightforward and easier for us to fix it if you are willing to make github or gitlab repository. I'll have to look into that then. Link to comment Share on other sites More sharing options...
Stan` Posted May 30, 2020 Share Posted May 30, 2020 Do you have the crossbow one? That's the one sending an error above Link to comment Share on other sites More sharing options...
Timnaka Posted May 30, 2020 Author Share Posted May 30, 2020 5 minutes ago, Stan` said: Do you have the crossbow one? That's the one sending an error above Here it is emp_soldier_crossbow.xml Link to comment Share on other sites More sharing options...
Stan` Posted May 30, 2020 Share Posted May 30, 2020 add <Promotion disable="" /> to the crossbowman, and try again Link to comment Share on other sites More sharing options...
Timnaka Posted May 30, 2020 Author Share Posted May 30, 2020 3 minutes ago, Stan` said: add <Promotion disable="" /> to the crossbowman, and try again It works! Thank you. Do I need to add that to every military unit? Because I played around a bit further and the issue only seems to happen if the entity is parented to "template_unit_infantry"  1 Link to comment Share on other sites More sharing options...
Stan` Posted May 30, 2020 Share Posted May 30, 2020 I believe it is because template infantry usually expects units to promote, and let them define that Link to comment Share on other sites More sharing options...
Timnaka Posted May 30, 2020 Author Share Posted May 30, 2020 I see. I'll fix that for all the other units too then. 1 Link to comment Share on other sites More sharing options...
Timnaka Posted May 30, 2020 Author Share Posted May 30, 2020 And with that, the various units are now implemented. I still need to fine tune their stats and all that of course, but otherwise the Free Empire is now technically a working faction. 2 Link to comment Share on other sites More sharing options...
Stan` Posted May 30, 2020 Share Posted May 30, 2020 Great job Link to comment Share on other sites More sharing options...
Carltonus Posted May 30, 2020 Share Posted May 30, 2020 For your war wagon, suggest that you either (1) add more horses, (2) replace them with oxen, or (3) replace them with humans pushing under or behind the wagon. It looks too heavy for two horses. Link to comment Share on other sites More sharing options...
Timnaka Posted May 30, 2020 Author Share Posted May 30, 2020 1 minute ago, Carltonus said: For your war wagon, suggest that you either (1) add more horses, (2) replace them with oxen, or (3) replace them with humans pushing under or behind the wagon. It looks too heavy for two horses. Two horses is how it is in warhammer though. Granted, my version looks a bit bigger. 1 Link to comment Share on other sites More sharing options...
Carltonus Posted May 30, 2020 Share Posted May 30, 2020 (edited) 1 hour ago, Timnaka said: Two horses is how it is in warhammer though. Granted, my version looks a bit bigger. I see. Are you planning to keep polygons at a minimum, or hope for someone to remodel the wagon to make it the exact size as the figurine? Tower could be smaller and thinner. Barding would be appreciated too. Edited May 30, 2020 by Carltonus Link to comment Share on other sites More sharing options...
Timnaka Posted May 30, 2020 Author Share Posted May 30, 2020 2 minutes ago, Carltonus said: I see. Are you planning to keep polygons at a minimum, or hope for someone to remodel the wagon to make it the exact size as the figurine? Tower could be smaller and thinner. Barding would be appreciated too. I plan on staying low on polygons, since I'm new to 3D modelling and this allows me to make faster progress. The low poly aesthethic also has a certain charm to it. The horse models are just placeholder, I'm using the regular 0ad horses until I have made my own. Those will then get barding. 1 Link to comment Share on other sites More sharing options...
Stan` Posted May 30, 2020 Share Posted May 30, 2020 1 hour ago, Timnaka said: Two horses is how it is in warhammer though. Granted, my version looks a bit bigger. Oh Iove this one, are those dwarves ? If so I might add them to my reference list for my mod Link to comment Share on other sites More sharing options...
Timnaka Posted May 30, 2020 Author Share Posted May 30, 2020 9 minutes ago, Stan` said: Oh Iove this one, are those dwarves ? If so I might add them to my reference list for my mod Those are just regular humans, although it would also work perfectly for dwarfs. Personally I plan to give minecart chariots to my dwarfs in DerpHammer. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now