Take Control of Your Villages

Discussion of all aspects of multiplayer development: unit balancing, map development, server development, and so forth.

Moderators: Forum Moderators, Developers

Post Reply
Choicerer
Posts: 238
Joined: April 29th, 2017, 11:37 pm

Take Control of Your Villages

Post by Choicerer »

Aaand, here's another one.

With this add-on villages cannot be captured by allies, but they still heal on them. You can give control of any village to your ally by right clicking on it and selecting 'Give village to an ally' (if you have an ally, that is).

User avatar
Ravana
Forum Moderator
Posts: 2286
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: Take Control of Your Villages

Post by Ravana »

This is designed to allow same village give income multiple times per turn?

Choicerer
Posts: 238
Joined: April 29th, 2017, 11:37 pm

Re: Take Control of Your Villages

Post by Choicerer »

Good point. Oops. I'll have to take care of that tomorrow.

Choicerer
Posts: 238
Joined: April 29th, 2017, 11:37 pm

Re: Take Control of Your Villages

Post by Choicerer »

Well, Ravana had to point out this flaw and so the mod had to get a bit more complicated ;).
1.25-
I now have a nice message catching system that notifies your ally when you send them a village, but most importantly:
If you are trying to transfer a village to an ally who plays their turn after you, you can't transfer the village immediately, but have the option to start a pending transfer, that gets completed on their turn, after they have collected income from their villages, so they don't profit from the village on the same turn.

The mod stores and stacks those pending transfer requests, there's an option to cancel a pending request (if it's still your turn), a message handler for those transfers and the mod's been tested for oos and is free of it.

1.25b - fixes a bug that would transfer a village to an ally even if it had been captured by an enemy while the transfer had been pending.

Computer_Player
Posts: 113
Joined: March 16th, 2008, 6:39 am

Re: Take Control of Your Villages

Post by Computer_Player »

Nice,this would be very useful in survivals to squeeze just some more income in the latter turns

Choicerer
Posts: 238
Joined: April 29th, 2017, 11:37 pm

Re: Take Control of Your Villages

Post by Choicerer »

1.3 adds an unsynced right-click info menu so you don't always have to tell people who didn't read the opening message what the mod is about in MP.
Adds fancy icons for the right-click options.

Post Reply