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

RadioactiveHellion

First Lieutenant
46 Badges
Sep 18, 2009
203
19
  • Crusader Kings II: Charlemagne
  • Majesty 2
  • Magicka
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • BATTLETECH
  • Stellaris: Federations
  • Crusader Kings II: Jade Dragon
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • BATTLETECH - Digital Deluxe Edition
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Stellaris: Galaxy Edition
  • Mount & Blade: Warband
  • 500k Club
  • Crusader Kings II: Way of Life
  • War of the Roses
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Crusader Kings Complete
  • Stellaris
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • BATTLETECH: Flashpoint
  • Crusader Kings II: Sunset Invasion
  • BATTLETECH: Season pass
  • Imperator: Rome
  • Stellaris: Synthetic Dawn
I'm trying to wrap my head around the event syntax by looking at existing files but while some of it is obvious (e.g. OR tags) other things are not. It seems that nobody else is having problems modding so I'm left wondering if there's a site which contains tutorials or a quick guide to explain it all. A quick look through the stickied threads didn't turn up any links that were marked as such. There are also some non-syntax related issues which are perplexing me.

For instance, I'm trying to create a new Casus Belli that in which both attacker and defender surrender faster. Tags which seem to effect this are:

Code:
	attacker_ai_victory_worth = {
		factor = -1 # always accept
	}
	
	attacker_ai_defeat_worth = {
		factor = 100
	}

	defender_ai_victory_worth = {
		factor = -1 # always accept
	}
	
	defender_ai_defeat_worth = {
		factor = 100
	}

And I'm left wondering what do I modify? A few existing CBs deviate from the above but I can't tell whether a higher factor means they want it more or less, and what that means in game terms. How does the -1 (always accept) play into the decision vs. a standard factor number? I'm going to begin a few tests but it'd be nice if this information was already available.

I've also no idea how to create an "on birth" pulse event for non-bastards.

If there's a single place where these questions may already be answered I'd appreciate if somebody could point me in the right direction. So far my Search attempts have turned up dead ends.
 
Would also like to see a wiki of some sorts or something... We need a compendium of modding knowledge... I also find myself getting stuck a lot!

I'm trying to wrap my head around events right now... It seems each event has multiple IDs and it's breaking my brain trying to figure out how it all ties together. If I wanted to implement say a blood feud event where one of my vassals was killed by another vassal how would I go about that? Do I have to write 50 different events?

Anyone kind enough to maybe write up a quick sample for me or something?
 
I would like it too. Could some of the more experimented modders tell us if there is something like that? At least some tutorial for some other game to get started at least.
 
Your not the only one having problems modding... have you seen the opinion_modifiers.txt? :unsure:
 
Lots of values I can tweak. Events I can edit. Whenever I try to add new stuff it however always ends in tears. Are there any modding guides on previous recent Pdox games out there? Both Sengoku and VII use the same engine.