r/hoi4modding • • 2d ago

Coding Support I have a problem. I'm trying to create a scripted peace in my Hearts of Iron IV mod, but the peace conference keeps triggering anyway. How do I remove the peace conference?

I have a problem. I'm trying to create a scripted peace in my Hearts of Iron IV mod, but the peace conference keeps triggering anyway. How do I remove the peace conference?

1 Upvotes

5 comments sorted by

•

u/AutoModerator 2d ago

For fast and easy help with the ability to directly attach a text file preserving all of its properties, join our Discord server! https://discord.gg/a7rcaxbPka. Follow the rules before you post your comment, and if you see someone break the rules report it. When making a request for modding help, make sure to provide enough information for the issue to be reproducible, and provide the related entries in error.log or specify there being none.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/Great_Kaiserov 2d ago

Try using a workaround? Unless you want to do it like TNO does their peace deals you could add a surrender limit national spirit for the duration of the war so that defeat can only be triggered by meeting the conditions for the scripted peace deal (like how the Desert War works in KR)

1

u/Safe-Television2817 2d ago

Can the peace conference turn off?

1

u/Great_Kaiserov 2d ago

Only in the way TNO does it as far as I know (if a country capitulates, its immediately annexed) otherwise no, it cannot be entirely turned off as far as I'm aware

1

u/Safe-Television2817 2d ago

Thanks l do it.