Alliances Mod (for 1.12)

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

Moderators: Forum Moderators, Developers

Post Reply
User avatar
ForestDragon
Forum Regular
Posts: 1475
Joined: March 6th, 2014, 1:32 pm

Alliances Mod (for 1.12)

Post by ForestDragon » January 13th, 2018, 12:43 pm

here's another mod I've made: it allows players to make alliances with eachother. Mostly intended to be used with free-for-all (everyone against everyone) maps. The mod's menus can be accessed via rightclick options on leaders (to become allies, select an enemy leader, and choose the 'Send alliance request to this side' option, while if you want to betray your team or leave your alliance, select your leaver, and open the alliances mod menu. There's also a togglable option to send/request gold to/from other players. With this mod, players are technically on 2 teams at once: their initial team, and the alliance they're in.

Please report any bugs with the mod here.
Co-creator of Era of Magic
Creator of Tale of Alan (1.12 abandoned) and The Golden Age (1.12/1.13, temporarily abandoned again),XP Bank (now on 1.14),Alliances Mod(1.12, unplayable)
"Real life is like a hyper-realistic VR game, but with permadeath and boring gameplay"

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

Re: Alliances Mod (for 1.12)

Post by Ravana » January 13th, 2018, 12:46 pm

For most realistic ffa matches, you might not have visibility of enemy leader, and both menu revealing their location and denying diplomacy then seem unsuitable results.

User avatar
ForestDragon
Forum Regular
Posts: 1475
Joined: March 6th, 2014, 1:32 pm

Re: Alliances Mod (for 1.12)

Post by ForestDragon » January 13th, 2018, 12:49 pm

Ravana wrote:For most realistic ffa matches, you might not have visibility of enemy leader, and both menu revealing their location and denying diplomacy then seem unsuitable results.
ok, I'll upload fix for revealing hidden leaders soon.

EDIT: done
Co-creator of Era of Magic
Creator of Tale of Alan (1.12 abandoned) and The Golden Age (1.12/1.13, temporarily abandoned again),XP Bank (now on 1.14),Alliances Mod(1.12, unplayable)
"Real life is like a hyper-realistic VR game, but with permadeath and boring gameplay"

User avatar
ForestDragon
Forum Regular
Posts: 1475
Joined: March 6th, 2014, 1:32 pm

Re: Alliances Mod (for 1.12)

Post by ForestDragon » January 23rd, 2018, 6:05 pm

large update;
-added team chat and private messages
-added an 'are you sure?' question to the betrayal option.
-When moving onto an ally's village, the moving unit's owner has the choice of either capturing the village, or just putting a unit there for healing.
-added option to transfer village ownership to allies.
Co-creator of Era of Magic
Creator of Tale of Alan (1.12 abandoned) and The Golden Age (1.12/1.13, temporarily abandoned again),XP Bank (now on 1.14),Alliances Mod(1.12, unplayable)
"Real life is like a hyper-realistic VR game, but with permadeath and boring gameplay"

User avatar
Krogen
Posts: 150
Joined: January 1st, 2013, 3:43 pm

Re: Alliances Mod (for 1.12)

Post by Krogen » March 4th, 2018, 12:10 am

Hello, i've just played with this mod today, with some friends.
We noticed that when a player sends a request to another, the question comes up for the player who sent the request. So he can offer an alliance and he is the one who can accept it too. But after that it works properly, the other player can actually break the alliance next turn. We thought it was because the shuffle was on, but after i tried without it, and the problem still occured. Most of the time alliances will happen after the players discussed it before, but still, it's a pretty big problem that the player who offers the alliance can answer on behalf of the other party.
Also, it's a great mod, and we plan to use it again. I just want to let you know that it'll definitely worth the work.
"A lion doesn't concern himself with the opinions of the sheep." - Tywin Lannister

User avatar
ForestDragon
Forum Regular
Posts: 1475
Joined: March 6th, 2014, 1:32 pm

Re: Alliances Mod (for 1.12)

Post by ForestDragon » March 4th, 2018, 7:12 am

Thanks! I released a small update that should hopefully fix the bug. Unfortunately I don't have time to test it in multiplayer, so I guess I'll leave that part to you.
Co-creator of Era of Magic
Creator of Tale of Alan (1.12 abandoned) and The Golden Age (1.12/1.13, temporarily abandoned again),XP Bank (now on 1.14),Alliances Mod(1.12, unplayable)
"Real life is like a hyper-realistic VR game, but with permadeath and boring gameplay"

User avatar
Krogen
Posts: 150
Joined: January 1st, 2013, 3:43 pm

Re: Alliances Mod (for 1.12)

Post by Krogen » March 4th, 2018, 8:54 pm

I downloaded the new version and tested it, with every other modifications turned off, but still, the same problem occurs.
"A lion doesn't concern himself with the opinions of the sheep." - Tywin Lannister

User avatar
ForestDragon
Forum Regular
Posts: 1475
Joined: March 6th, 2014, 1:32 pm

Re: Alliances Mod (for 1.12)

Post by ForestDragon » March 5th, 2018, 6:55 am

Krogen wrote:
March 4th, 2018, 8:54 pm
I downloaded the new version and tested it, with every other modifications turned off, but still, the same problem occurs.
hmm... it seems code works differently in MP than I thought. I'll try to take a closer look.
Co-creator of Era of Magic
Creator of Tale of Alan (1.12 abandoned) and The Golden Age (1.12/1.13, temporarily abandoned again),XP Bank (now on 1.14),Alliances Mod(1.12, unplayable)
"Real life is like a hyper-realistic VR game, but with permadeath and boring gameplay"

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

Re: Alliances Mod (for 1.12)

Post by Choicerer » April 26th, 2018, 2:12 pm

Hi, Forest. Two days ago Enclave, ghype and Lisa and I tried hosting a QCiv game with your diplomacy mod. Qciv is Enclave's new mod that is aiming to be like the Civilization series games, so it definitely needs such functionality. Well, I think Enclave is working on his own diplomacy mod that might be a bit more Civ-like in that it will have unbreakable treaties etc, but I wanted to let you know your mod has some bugs.
First - Messages aren't private, neither the ones you send on forming an alliance, nor any private message your mod allows to send. They will be shown for all players. Same with sending gold, in itself it isn't broken, but the message gets displayed to all players.
Second - The thing that's already been raised. You can force alliances on people, because instead of the person in question, you get to decline or accept your own offer.

User avatar
ForestDragon
Forum Regular
Posts: 1475
Joined: March 6th, 2014, 1:32 pm

Re: Alliances Mod (for 1.12)

Post by ForestDragon » April 26th, 2018, 2:38 pm

Choicerer wrote:
April 26th, 2018, 2:12 pm
Hi, Forest. Two days ago Enclave, ghype and Lisa and I tried hosting a QCiv game with your diplomacy mod. Qciv is Enclave's new mod that is aiming to be like the Civilization series games, so it definitely needs such functionality. Well, I think Enclave is working on his own diplomacy mod that might be a bit more Civ-like in that it will have unbreakable treaties etc, but I wanted to let you know your mod has some bugs.
First - Messages aren't private, neither the ones you send on forming an alliance, nor any private message your mod allows to send. They will be shown for all players. Same with sending gold, in itself it isn't broken, but the message gets displayed to all players.
Second - The thing that's already been raised. You can force alliances on people, because instead of the person in question, you get to decline or accept your own offer.
thanks for the bugreport! Unfortunately I don't quite have the time for implementing the bugfixes at the moment. Anyway, nice to see that people are starting to make diplomacy mods of their own (perhaps my buggy attempt will at least serve as a decent code-wise foundation for future, more polished, projects)
Co-creator of Era of Magic
Creator of Tale of Alan (1.12 abandoned) and The Golden Age (1.12/1.13, temporarily abandoned again),XP Bank (now on 1.14),Alliances Mod(1.12, unplayable)
"Real life is like a hyper-realistic VR game, but with permadeath and boring gameplay"

Post Reply