tdust Posted yesterday at 17:30 Report Share Posted yesterday at 17:30 Hello everyone, This is my first time posting, and this is also my first mod for 0 A.D. This mod changes how units are reassigned when a player is defeated. Instead of transferring to Gaia, the units now go to the next undefeated ally. I think this is a really interesting mechanic, especially when playing the Regicide game mode—where all of a player's units get reassigned when their hero dies. Let me know what you think, and feel free to suggest anything I should add! Check it out here: https://github.com/TobyDustin/0ad-refugees-mod I'm also trying to get it on Mod.io. If anyone knows how to do that, I'd really appreciate your help. Here's the preview link: https://mod.io/g/0ad/m/refugees-mod?preview=f5ab66257bcb802a72f07e11b3139287 Some screenshots: 4 1 Quote Link to comment Share on other sites More sharing options...
Grautvornix Posted 23 hours ago Report Share Posted 23 hours ago Great idea! It also adds a bit of uncertainty to the game: Training of new units for the receiving ally might be delayed or blocked if population cap is exceed by the arriving newcomers, and also their mix might be not as expected/planned by the ally. On the other hand, these units might be proven and levelled-up due to experience, so definitely valuable. I am looking forward to testing your mod - will work in SP as well, I guess. 2 Quote Link to comment Share on other sites More sharing options...
Grautvornix Posted 23 hours ago Report Share Posted 23 hours ago Oh - and one question regarding how "nearest ally" is determined: Any arbitration who will receive the refugees if e.g. two allies are positioned at the same distance (I guess it is the distance to their CC or is it distance to the next soldier?) Sorry for the questions! 1 Quote Link to comment Share on other sites More sharing options...
Dakara Posted 10 hours ago Report Share Posted 10 hours ago Interesting, thanks for your work. Can you plan to automatically send resources to other allies? 1 Quote Link to comment Share on other sites More sharing options...
Grautvornix Posted 4 hours ago Report Share Posted 4 hours ago Good point! Send resources and population to your nearest ally. BTW: what happens (in vanilla) to the resources of a defeated opponent? they go back to Gaia, right? Shouldn't they be part of the loot of the conqueror? Quote Link to comment Share on other sites More sharing options...
Grautvornix Posted 4 hours ago Report Share Posted 4 hours ago Further thought: if a mechanism to transfer population and resources is implemented, could that be implemented across games of the same campaign? Quote Link to comment Share on other sites More sharing options...
tdust Posted 4 hours ago Author Report Share Posted 4 hours ago 18 hours ago, Grautvornix said: Oh - and one question regarding how "nearest ally" is determined: Any arbitration who will receive the refugees if e.g. two allies are positioned at the same distance (I guess it is the distance to their CC or is it distance to the next soldier?) Sorry for the questions! The nearest ally doesn't have a mechanism, it's determined by the defeated opponent's next undefeated ally... essentially I just query the list of allies for the defeated player, check if the ally is defeated and if they aren't move all the units over! But this is definitely a place for improvement! I love the idea of the units being split up into the closest ally to the unit, or even a bigger ally revamp where you rate how good ally's are based on resources gifted or trade and base it off that! I love the questions, this really helps me, thank you! 1 Quote Link to comment Share on other sites More sharing options...
tdust Posted 3 hours ago Author Report Share Posted 3 hours ago 45 minutes ago, Grautvornix said: Further thought: if a mechanism to transfer population and resources is implemented, could that be implemented across games of the same campaign? 6 hours ago, Dakara said: Interesting, thanks for your work. Can you plan to automatically send resources to other allies? This is a really good idea! This is what I was thinking to begin with but I do feel like this might be a bit game breaking because of the amount of resources boost for the player and how those resources will just be available immediately, where as the units are idle to begin with and will have journey time etc. But what do you think about this; When a player gets defeated their units will be given to their closest ally, but their resources will go to Gaia then when the attacking player starts destroying buildings the buildings will drop treasure of the amount of some of the resources of the defeated player (maybe if they just destroy the civic centre's and forts because thats where historically treasury's would be?) I was going to make another mod with this idea and call it the "treasury mod" but do you think it should be in this mod? (the image attached would be the cover) 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.