nani Posted July 10, 2022 Author Report Share Posted July 10, 2022 15 minutes ago, andy5995 said: Me and @Jammyjamjamman fixed an error in fert_triggers.js yesterday and played Fert for the first time. It's a pretty cool map. Thanks for sharing it, @nani Question though: It seems that the only way to capture the wonder is to build a CC near to it (units can't capture it). Is that intended? Also, if a CC that is near it (and has therefore captured it) has been destroyed, ownership of the wonder doesn't revert back to Gaia... In effect, it seems like whoever captures the wonder first will win the game no matter what. Is there some code we could add that will make the wonder loses ownership in that case? We had wonder option enabled and set to five minutes. (This map is currently included with the community maps 2 mod) You should be able to capture the wonder if you have more than 10 units. The only thing you can't do is destroying the wonder or garrison units inside. The code for tiggers might have chnged in alpga 25 so some things might be broken. 1 Quote Link to comment Share on other sites More sharing options...
andy5995 Posted July 10, 2022 Report Share Posted July 10, 2022 K, I see that when I change the 'true' arg to false, then units can capture the wonder. Engine.QueryInterface(this.gaiaWonder, IID_Resistance).SetInvulnerability(true); Unfortunately it also means the wonder can get destroyed. So we need a way to make it invulnerable to destruction, but not to capturing. Quote Link to comment Share on other sites More sharing options...
nani Posted July 10, 2022 Author Report Share Posted July 10, 2022 3 hours ago, andy5995 said: K, I see that when I change the 'true' arg to false, then units can capture the wonder. That looks like a bug Quote Link to comment Share on other sites More sharing options...
andy5995 Posted July 10, 2022 Report Share Posted July 10, 2022 I tried out the Danubius map with the Capture the relic option. There's no status for the HP, but there is for the CP. Ergo, it can be captured but not destroyed. I'm not sure yet how to implement that for the wonder in this case. Quote Link to comment Share on other sites More sharing options...
andy5995 Posted July 10, 2022 Report Share Posted July 10, 2022 @Stan`suggested I just add a custom template, which I did, and now the Fert maps should work as intended. https://github.com/0ad-matters/community-maps-2/commit/d9ca9878d42509f0edf4db0c7c1b301295739ebb 1 Quote Link to comment Share on other sites More sharing options...
andy5995 Posted July 11, 2022 Report Share Posted July 11, 2022 I removed the custom template and just added a filter https://github.com/0ad-matters/community-maps-2/commit/0f1f0bde261120cff2ac5370f3dd2c8d6f3f94d5 @Stan` 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.