Hello, I'm in desperate need of an alliance system for a wc3 map.
However, I'm not looking for a bare-bones alliance system that is easily abuseable and severely flawed.
There are several features that the alliance system I'm looking for has to have:
-Under this alliance system, the formation of an alliance can only take place when both players have agreed to the alliance. This means this alliance system cannot allow for unilateral alliances, in which player A is allied to player B, but player B is not allied to player A. Both players have to remain hostile to each other until both have agreed to an alliance, at which point, both become friendly to each other simultaneously.
-Under this alliance system, there would be a limit of one alliance per game for each player. Each player would be limited to only one alliance. Each player would also have the power to dissolve this alliance. However, upon dissolving an alliance, the player would not be able to go on to form a second alliance. Of course, the act of dissolving an alliance must be able to be done unilaterally, unlike the formation of an alliance.
I need this done for all 12 players, but if this can be done in GUI, then a person could just do it for 2 players, and then I could just finish it by replicating the process for the other 10 players.
If it has to be in JASS, then I would probably need it done for all 12 players, unless you can leave very good instructions on how to replicate the process for the other 10 players.
Preferably alliances would be triggered using the usual chat commands of "-ally (color)", but like I said before, the system would have to keep track of these alliance requests and only form an alliance when 2 players have mutually agreed upon forming it.
Hopefully this request tickles someone's fancy,
Thanks, and feel free to ask any questions~
However, I'm not looking for a bare-bones alliance system that is easily abuseable and severely flawed.
There are several features that the alliance system I'm looking for has to have:
-Under this alliance system, the formation of an alliance can only take place when both players have agreed to the alliance. This means this alliance system cannot allow for unilateral alliances, in which player A is allied to player B, but player B is not allied to player A. Both players have to remain hostile to each other until both have agreed to an alliance, at which point, both become friendly to each other simultaneously.
-Under this alliance system, there would be a limit of one alliance per game for each player. Each player would be limited to only one alliance. Each player would also have the power to dissolve this alliance. However, upon dissolving an alliance, the player would not be able to go on to form a second alliance. Of course, the act of dissolving an alliance must be able to be done unilaterally, unlike the formation of an alliance.
I need this done for all 12 players, but if this can be done in GUI, then a person could just do it for 2 players, and then I could just finish it by replicating the process for the other 10 players.
If it has to be in JASS, then I would probably need it done for all 12 players, unless you can leave very good instructions on how to replicate the process for the other 10 players.
Preferably alliances would be triggered using the usual chat commands of "-ally (color)", but like I said before, the system would have to keep track of these alliance requests and only form an alliance when 2 players have mutually agreed upon forming it.
Hopefully this request tickles someone's fancy,
Thanks, and feel free to ask any questions~