DesertRose Posted 7 hours ago Report Share Posted 7 hours ago How exactly do I add bonus damage? These are the two examples I found: <Bonuses> <BonusCavMelee> <Classes>Cavalry</Classes> <Multiplier>2.5</Multiplier> </BonusCavMelee> </Bonuses> <Bonuses> <Herocide> <Classes>Hero</Classes> <Multiplier>1.2</Multiplier> </Herocide> </Bonuses> What do "BonusCavMelee" and "Herocide" refer to? Can I write here whatever? My plan is to add an attack multiplier against Ships, Siege and Structures. x And I am seeing above, there is not "structure" class? Quote Link to comment Share on other sites More sharing options...
Grapjas Posted 7 hours ago Report Share Posted 7 hours ago (edited) 50 minutes ago, DesertRose said: What do "BonusCavMelee" and "Herocide" refer to? Can I write here whatever? Pretty sure you can write whatever there, but may cause unexpected behavior with duplications (probably the last loaded template just wins). 50 minutes ago, DesertRose said: there is not "structure" class? There is, but it isn't a "VisibleClass" so i understand your confusion. Edited 7 hours ago by Grapjas 1 Quote Link to comment Share on other sites More sharing options...
DesertRose Posted 6 hours ago Report Share Posted 6 hours ago 35 minutes ago, Grapjas said: Pretty sure you can write whatever there, but may cause unexpected behavior with duplications (probably the last loaded template just wins). Oh, you mean duplications as in using multiple bonuses for the same unit? Will have to test if e.g. giving a units a 100x multiplier against buildings but a 0.01x multiplier against heroes breaks anything. Quote Link to comment Share on other sites More sharing options...
Grapjas Posted 5 hours ago Report Share Posted 5 hours ago 42 minutes ago, DesertRose said: Oh, you mean duplications as in using multiple bonuses for the same unit? I meant if the name is the same i'm not sure what happens. Like if you did <BonusCavMelee> on template_unit, but then also on did <BonusCavMelee> on template_unit_infantry. Probably the template_unit_infantry will just "win"- as in those values will be used for that specific bonus- but yeah you need to test. Other than that i don't think theres a limit you need to worry about when applying different bonuses to the same unit. Quote Link to comment Share on other sites More sharing options...
Tapothei Posted 9 minutes ago Report Share Posted 9 minutes ago (edited) 8 hours ago, Perzival12 said: Does anyone know where the interestinglog.html file was moved to for the R28 FlatPak? It's not in .var/app/com.play0ad.zeroad/config/0ad/logs anymore. Where was it moved to? Its in .var/app/com.play0ad.zeroad/.local/state/0ad/log, removing it then entering 0ad will create new log. Edited 6 minutes ago by Tapothei 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.