Timnaka Posted May 29, 2020 Author Report Share Posted May 29, 2020 A question on projectiles: is there a way to make them visible without having to add my own animations? Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 29, 2020 Report Share Posted May 29, 2020 On 29/05/2020 at 5:19 PM, Timnaka said: A question on projectiles: is there a way to make them visible without having to add my own animations? Expand You can define them in templates I believe. so you can use whatever actors you want Quote Link to comment Share on other sites More sharing options...
Timnaka Posted May 29, 2020 Author Report Share Posted May 29, 2020 On 29/05/2020 at 5:28 PM, Stan` said: You can define them in templates I believe. so you can use whatever actors you want Expand Are you sure? I tried looking through the templates of ranged units but i didn't find anything defining the projectile. Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 29, 2020 Report Share Posted May 29, 2020 See https://github.com/0ad/0ad/blob/b8ddcf284c6e498d063f86e7f8cd24de8df3c360/binaries/data/mods/public/simulation/components/Attack.js l68 Quote Link to comment Share on other sites More sharing options...
Timnaka Posted May 29, 2020 Author Report Share Posted May 29, 2020 On 29/05/2020 at 5:45 PM, Stan` said: See https://github.com/0ad/0ad/blob/b8ddcf284c6e498d063f86e7f8cd24de8df3c360/binaries/data/mods/public/simulation/components/Attack.js l68 Expand Huh, I must have missed that. Thank you very much. I'm honestly a bit overwhelmed with all the parameters in the templates. Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 29, 2020 Report Share Posted May 29, 2020 Don't worry you'll get the hang of it Quote Link to comment Share on other sites More sharing options...
Timnaka Posted May 30, 2020 Author Report 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. Quote Link to comment Share on other sites More sharing options...
asterix Posted May 30, 2020 Report Share Posted May 30, 2020 On 30/05/2020 at 7:54 AM, 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. Expand 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. Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 30, 2020 Report Share Posted May 30, 2020 Can you share the template? Quote Link to comment Share on other sites More sharing options...
asterix Posted May 30, 2020 Report 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. Quote Link to comment Share on other sites More sharing options...
Timnaka Posted May 30, 2020 Author Report 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.xmlFetching info... template_dh_unit_infantry.xmlFetching info... template_dh_unit_infantry_melee.xmlFetching info... template_dh_unit_infantry_melee_spearman.xmlFetching info... emp_soldier_spear.xmlFetching info... On 30/05/2020 at 8:13 AM, 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. Expand I'll have to look into that then. Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 30, 2020 Report Share Posted May 30, 2020 Do you have the crossbow one? That's the one sending an error above Quote Link to comment Share on other sites More sharing options...
Timnaka Posted May 30, 2020 Author Report Share Posted May 30, 2020 On 30/05/2020 at 8:31 AM, Stan` said: Do you have the crossbow one? That's the one sending an error above Expand Here it is emp_soldier_crossbow.xmlFetching info... Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 30, 2020 Report Share Posted May 30, 2020 add <Promotion disable="" /> to the crossbowman, and try again Quote Link to comment Share on other sites More sharing options...
Timnaka Posted May 30, 2020 Author Report Share Posted May 30, 2020 On 30/05/2020 at 9:00 AM, Stan` said: add <Promotion disable="" /> to the crossbowman, and try again Expand 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 Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 30, 2020 Report Share Posted May 30, 2020 I believe it is because template infantry usually expects units to promote, and let them define that Quote Link to comment Share on other sites More sharing options...
Timnaka Posted May 30, 2020 Author Report Share Posted May 30, 2020 I see. I'll fix that for all the other units too then. 1 Quote Link to comment Share on other sites More sharing options...
Timnaka Posted May 30, 2020 Author Report 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 Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 30, 2020 Report Share Posted May 30, 2020 Great job Quote Link to comment Share on other sites More sharing options...
Carltonus Posted May 30, 2020 Report 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. Quote Link to comment Share on other sites More sharing options...
Timnaka Posted May 30, 2020 Author Report Share Posted May 30, 2020 On 30/05/2020 at 11:37 AM, 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. Expand Two horses is how it is in warhammer though. Granted, my version looks a bit bigger. 1 Quote Link to comment Share on other sites More sharing options...
Carltonus Posted May 30, 2020 Report Share Posted May 30, 2020 (edited) On 30/05/2020 at 11:40 AM, Timnaka said: Two horses is how it is in warhammer though. Granted, my version looks a bit bigger. Expand 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 Quote Link to comment Share on other sites More sharing options...
Timnaka Posted May 30, 2020 Author Report Share Posted May 30, 2020 On 30/05/2020 at 12:49 PM, 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. Expand 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 Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 30, 2020 Report Share Posted May 30, 2020 On 30/05/2020 at 11:40 AM, Timnaka said: Two horses is how it is in warhammer though. Granted, my version looks a bit bigger. Expand Oh Iove this one, are those dwarves ? If so I might add them to my reference list for my mod Quote Link to comment Share on other sites More sharing options...
Timnaka Posted May 30, 2020 Author Report Share Posted May 30, 2020 On 30/05/2020 at 1:26 PM, Stan` said: Oh Iove this one, are those dwarves ? If so I might add them to my reference list for my mod Expand 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.