• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

LaTueur

Regent
9 Badges
Jul 29, 2014
101
96
  • Crusader Kings II
  • Europa Universalis IV
  • Crusader Kings II: Horse Lords
  • Hearts of Iron IV Sign-up
  • Age of Wonders III
  • Crusader Kings III
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
Greetings, everyone!

Let me present you the first CK2 minigame mod with interface: Poker Kings.
It's not too complicated, just regular poker but in CK2.
Why would you rather play poker in CK2 rather than playing it online/at table?
Most likely you play it when you are you have nothing to do in game. Waiting for a claim, money or your characters death can be boring.

It's still in development but if I have enough time, the first version will be out in a couple of days. (If not, it will be probably relased some weeks later.)
O0WOifr.jpg

(Test version)
I just wanted to add some features to an offmap power (to the Spirit World in the Avatar mod btw) but I found out that the offmap screans could be almost capable to be customised to almost anything (for modders more about that bellow). I mean truely almost anything, from minigames to entire new game mechanics with interface.
I wanted to start with something not too complicated, something already exiting. Firstly, I thought about making a Tic-Tac-Toe, I got the idea from the HoI4 mod but I wanted to be more unique. Then I started to make a chess. I didn't know that making a digital chess could be that hard, especially in CK2 scripts. My next thought was Blackjack, I wanted a little bit more compley, so finally I chose poker. I will probably still make my other ideas, just later.
Script, some assets: Me
Most of the assets: 1001.com, licensed CC-BY-SA 4.0
I want to make an entire other thread for it, with more details but here is the short version:
You can add any number of buttons in the offmap's gui file and add conditions in its file in the common folder. I added around 900 (by Python script) and there is no lag so it seems pretty stable.
 
Last edited:
  • 1Like
Reactions:
I can't wait for this thread :) It can be really helpful but I suggest you to include maybe basic Offmap Power modding as well, because there is no such a guide anywhere (not even on wiki). Anyway I'm really interested how unlimited the possibilities are ^^
 
This is ridiculous.

I love it.

Multiplayer when? :D
 
Yeah I'm pretty excited too. Downtime during ck2 has always been an issue. I know there are loads of mods that try to mitigate that (e.g. mods that add in events, events & more events) but having an actual minigame would be even more cool!

I'm curious. Will you be able to play with other players during say an MP game???
 
:eek: Da f*ck?! :eek:

We can actually make new interface elements now?!? :confused:
Why was I not informed of this? :mad:

---

Okay seriously, this is a BRILLIANT discovery!
The possibilities for this are - as your Poker idea proves - almost endless. Kudos for noticing it!

I've no idea what I might need this for, but I'm sure I will. And if you find time to write a quick guide, that would of course be even more awesome. :D
 
:eek: Da f*ck?! :eek:

We can actually make new interface elements now?!? :confused:
Why was I not informed of this? :mad:
Only as/within the offmap power screen as far as i can tell.
 
Only as/within the offmap power screen as far as i can tell.
Still, better than nowhere ;)

And iirc, these buttons can trigger events, right? So basically, we could use the system as a sort of "menu" via which the player can (indirectly) manipulate the world.
For example, I think this could be used to let the player select which fake mapmode to display - currently, I would need to rely on tedious decision/event cycling, but using custom buttons it would be much easier for the player to quickly find what they want.
Of course there's only so much you can do with it, but it's a nice touch.
 
Still, better than nowhere ;)

And iirc, these buttons can trigger events, right? So basically, we could use the system as a sort of "menu" via which the player can (indirectly) manipulate the world.
For example, I think this could be used to let the player select which fake mapmode to display - currently, I would need to rely on tedious decision/event cycling, but using custom buttons it would be much easier for the player to quickly find what they want.
Of course there's only so much you can do with it, but it's a nice touch.

The buttons open a list of targeted decisions actually.
 
I haven't had as much time as I needed to finish so it will be out some days later. Because I've finished the interesting (at least for me) parts, there are just a few scripts apart from the cosmetics, I may take a break and write the guide before the mod will have got ready.
Multiplayer when? :D
I'm curious. Will you be able to play with other players during say an MP game???
Actually, making it multiplayer is easier than making a decent AI. In the first release the AI will probably suck, but I will try to improve it.
So each card/stack is a button? Quite brute force approach, but nice-looking resukt from the screenshot!
Yeah I was afraid of what would happen at the first time but there isn't any problem with it.
And iirc, these buttons can trigger events, right? So basically, we could use the system as a sort of "menu" via which the player can (indirectly) manipulate the world.
For example, I think this could be used to let the player select which fake mapmode to display - currently, I would need to rely on tedious decision/event cycling, but using custom buttons it would be much easier for the player to quickly find what they want.
Of course there's only so much you can do with it, but it's a nice touch.
The buttons open a list of targeted decisions actually.
More precisely the script call them offmap decisions but they are work similar to them. You just need to add the correct button_name parameter for the decision.
I think the display_on_map can only be used at job action but you can indeed select which mapmode you want through this method.
 
OP, can you give us the WIP release at least :D

It's hard to imagine that I left this mod untouched for more than a year, I feel a bit guilty about that now.

I have no idea what is done and what isn't.
But here my last version of it is.

I may finish it if I have the willpower. (Or start with something more simple, it was probably too much to me for the first try, just got bored.)

Otherwise, I'm happy to help if you want to make your own mod with these methodes.

And sorry for abandoning this mod for so long.
 

Attachments

  • Poker Kings.zip
    321,2 KB · Views: 14
  • 1
Reactions:
It's hard to imagine that I left this mod untouched for more than a year, I feel a bit guilty about that now.

I have no idea what is done and what isn't.
But here my last version of it is.

I may finish it if I have the willpower. (Or start with something more simple, it was probably too much to me for the first try, just got bored.)

Otherwise, I'm happy to help if you want to make your own mod with these methodes.

And sorry for abandoning this mod for so long.

That's great! I was looking to dig into your mechanics and abuse the offmap powers for my own purposes, so this was a handy reference that I've kept in the back of my mind for over a year :D
 
Clearly we need to be able to gamble titles and claims to settle wars like true gentlemen.