• 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.

Bad4play

Second Lieutenant
Aug 3, 2018
159
117
Hi everyone !
As someone interested to work in vidéo game industrie in the future, I'm asking myself question about the use of AI for games and what interest us here : modding.

I didn't see anyone using or talking about it in the forum so if you already did and i missed it please share link or thought with me.

I just tried a litle experience on my own, dl chat gpt 3.5 and gave him the basic talk of programing an event for DH that give dissent. No more instructions. Here is the result I had :
1000522961.jpg


Even if some code is clearly wrong I was quite impressed by the result. With help in the instructions and careful correction this should work fine. You can even ask to write about a specific event in history with autofilling of description. I know that for specific event human research is way better but I'm so glad that we could use this for programming event for city ownership change for example which was a little pain in the pancake due to the number of event needed for a small gameplay change.

What are you thoughts about it ?
 
Last edited:
  • 1
  • 1Like
  • 1
Reactions:
Hi everyone !
As someone interested to work in vidéo game industrie in the future, I'm asking myself question about the use of AI for games and what interest us here : modding.

I didn't see anyone using or talking about it in the forum so if you already did and i missed it please share link or thought with me.

I just tried a litle experience on my own, dl chat gpt 3.5 and gave him the basic talk of programing an event for DH that give dissent. No more instructions. Here is the result I had :
View attachment 1049918

Even if some code is clearly wrong I was quite impressed by the result. With help in the instructions and careful correction this should work fine. You can even ask to write about a specific event in history with autofilling of description. I know that for specific event human research is way better but I'm so glad that we could use this for programming event for city ownership change for example which was a little pain in the pancake due to the number of event needed for a small gameplay change.

What are you thoughts about it ?
One problem Darkest hout does not have political power mechanics.
 
I know, same with gouvernement = neutrality, but again I didn't gave any specific instruction, I could give it a list of command and tell it to only use it. It's a tool and correctly used it could be better.
 
  • 1Like
Reactions:
So, I tried again a bit of AI written event, with this time a better prompt and machine learning, this is the result I had with basically a few instructions to the AI asking few event about maritz rebellion with one interaction for united kingdom and germany :
# Event 1: Christiaan Beyers' Resignation event = { id = 10001 random = no country = SAF name = "Christiaan Beyers' Resignation" desc = "Commander-in-Chief Christiaan Beyers resigns in protest against the South African government's decision to support the British in the war against Germany. His resignation marks the beginning of tensions within the South African army." style = 0 date = { day = 15 month = September year = 1914 } offset = 10 deathdate = { day = 1 month = January year = 1919 } trigger = { WAR = { country = U08 country = ENG } } action_a = { name = "Accept the resignation" command = { type = setflag which = beyers_resignation } } action_b = { name = "Ask Beyers to reconsider" command = { type = dissent value = 5 } } } # Event 2: JBM Hertzog's Funeral event = { id = 10002 random = no country = SAF name = "JBM Hertzog's Funeral" desc = "JBM Hertzog, a respected Boer general, passes away, plunging the nation into mourning. His death symbolizes the loss of a charismatic leader for the rebellion supporters and strengthens their determination to fight against British influence." style = 0 date = { day = 25 month = September year = 1914 } offset = 10 deathdate = { day = 1 month = January year = 1919 } action_a = { name = "Pay tribute to Hertzog" command = { type = dissent value = -5 } } action_b = { name = "Ignore the funeral" command = { type = dissent value = 2 } } } # Event 3: Maritz's Proclamation of a Provisional Government event = { id = 10003 random = no country = SAF name = "Maritz's Proclamation of a Provisional Government" desc = "General Maritz, former commander of the South African forces, proclaims the independence of certain South African regions and calls for the formation of a provisional government on October 1, 1914. This proclamation marks the official beginning of the armed rebellion against the South African government." style = 0 date = { day = 1 month = October year = 1914 } offset = 10 deathdate = { day = 1 month = January year = 1919 } action_a = { name = "Support the proclamation and incite a revolt" command = { type = setflag which = maritz_rebellion } command = { type = revolt which = -3 when = 0 } } action_b = { name = "Denounce the rebellion" command = { type = dissent value = 10 } } } # Event 4: British Reaction - Military Intervention event = { id = 10004 random = no country = ENG name = "British Reaction - Military Intervention" desc = "Faced with the rise of dissidence and the growing threat of rebels in South Africa, British leaders decide to intervene militarily to crush the rebellion on October 10, 1914. This decision marks the beginning of direct British intervention in the South African conflict." style = 0 date = { day = 10 month = October year = 1914 } offset = 10 deathdate = { day = 1 month = January year = 1919 } action_a = { name = "Military intervention" command = { type = setflag which = british_intervention } } action_b = { name = "Adopt a cautious approach" command = { type = dissent value = 5 } } } # Decision 5: Proposal of Assistance to Maritz's Rebellion - Support the rebellion decision = { id = 10005 random = no decision_trigger = { WAR = { country = U08 country = ENG } } name = "Proposal of Assistance to Maritz's Rebellion - Support the rebellion" desc = "Aware of the opportunity to destabilize British interests in Africa, Germany decides to provide material and military support to the rebels in South Africa. This decision marks the beginning of direct German involvement in the South African conflict." style = 1 date = { day = 20 month = October year = 1914 } offset = 10 deathdate = { day = 1 month = January year = 1919 } trigger = { supplies = 500 } action_a = { name = "Accept German support" command = { type = setflag which = german_support } } action_b = { name = "Reject German support" command = { type = dissent value = 5 } } }

The last one need to be improved and all events need to be deepened but I starting to see more potential as I dig in.
 
I have to say that I have also tried to get some events written, my idea was to create generic events for my mod, Fatherland, especially for those smaller countries.
It took me a while, but the result was good. It's necessary to train the AI a bit and write clear prompts.
It would be nice to create a GPTs but at the moment I don't have the subscription to do so, has anyone tried ?
 
Unfortunately I don't have the paid option to do it, but that would definitly helpful.
Btw It is also great for translating the mod if you need it :)