Hidan Posted February 16, 2021 Report Share Posted February 16, 2021 hi i do remember there are another one gaul and brit fortress in 23. is this a bug? Quote Link to comment Share on other sites More sharing options...
Silier Posted February 16, 2021 Report Share Posted February 16, 2021 @Stan` ? Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 16, 2021 Report Share Posted February 16, 2021 Broken by https://code.wildfiregames.com/rP24919#change-8EjCxaI5SRRT It seems setting variants ignores the frequency="0" not sure why. Quote Link to comment Share on other sites More sharing options...
wraitii Posted February 16, 2021 Report Share Posted February 16, 2021 3 minutes ago, Stan` said: It seems setting variants ignores the frequency="0" not sure why. What do you mean? Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 16, 2021 Report Share Posted February 16, 2021 14 minutes ago, wraitii said: What do you mean? Well those variants have frequency="0" but sill get picked because they are before (in the file) the frequency="1" variant Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 16, 2021 Report Share Posted February 16, 2021 More scaringly. <variant frequency="0" name="Briton Fortress Old" file="structures/defensive_building.xml"> <variant file="structures/defensive_building.xml" frequency="0"> <variant name="Briton Fortress Old" file="structures/defensive_building.xml"> <variant name="Briton Fortress Old" file="structures/defensive_building.xml" frequency="0"> are equivalent <variant file="structures/defensive_building.xml" name="Briton Fortress Old"> <variant file="structures/defensive_building.xml" name="Briton Fortress Old" frequency="0"> work. current <variant frequency="0" name="Briton Fortress Old" file="structures/defensive_building.xml"> EDIT: IMHO variant should always be last to be overriden. Refs: https://code.wildfiregames.com/rP18054 https://trac.wildfiregames.com/ticket/3286 EDIT2: https://code.wildfiregames.com/D3572 Quote Link to comment Share on other sites More sharing options...
wraitii Posted February 16, 2021 Report Share Posted February 16, 2021 Ah so you mean in the file they are frequency=1, and overwriting it with frequency=0 doesn't work ? Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 16, 2021 Report Share Posted February 16, 2021 Yep see EDIT2 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.