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

Otto Bismarck

Captain
94 Badges
Jan 10, 2004
447
3
  • Cities: Skylines - After Dark
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Supreme Ruler: Cold War
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Stellaris: Necroids
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • March of the Eagles
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Sword of the Stars II
Is there a mod currently allows raid CB's? I tried searching and looking at the current released mod thread but couldn't find anything. This feature is key to my mod for viking raids. ;)

Any direction or if this is even possible is appreciated!
 
Not sure if you already have something like this, but I've been working on some simple pagan stuff myself and one thing I made was a "Raid" CB for pagan groups. It's still a work in progress but here's a functional version I'm playing around with atm:

EDIT: Updated with a version that hasn't given me any trouble so far.

Code:
raid = {
	name = CB_NAME_RAID
	war_name = CB_WAR_NAME_RAID
	sprite = 6
	truce_days = 1825
	is_permanent = yes	
	can_call_allies = no	

	can_use = {
		OR = {
			ROOT = {
				OR = {
					religion = norse_pagan
					religion = baltic_pagan
					religion = finnish_pagan
				}
			}
			OR = {
				religion = norse_pagan
				religion = baltic_pagan
				religion = finnish_pagan
			}	
		}
			ROOT = { NOT = { same_realm = FROM } }			
			FROM = { NOT = { religion_group = pagan_group } }			
	}					

	is_valid = {
		OR = {
			ROOT = {
				OR = {
					religion = norse_pagan
					religion = baltic_pagan
					religion = finnish_pagan
				}
			}
			OR = {
				religion = norse_pagan
				religion = baltic_pagan
				religion = finnish_pagan
			}
		}
		ROOT = { NOT = { same_realm = FROM } }
		FROM = { NOT = { religion_group = pagan_group } }			
	}
	
	on_success = {
		FROM = {
			transfer_scaled_wealth = {
				to = ROOT
				value = 4.0
			}
		}
		ROOT = {
			prestige = 50
		}
	}

	on_fail = {
		ROOT = {
			prestige = -50
		}
	}

	on_reverse_demand = {
		ROOT = {
			prestige = -100	
			imprison = FROM
		}
		FROM = {
			prestige = 100		
		}
	}

	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 = 50
	}
}

Victory means prestige and wealth from the enemy. Failure means loss of face (prestige) and imprisonment of your leader.

Found within the Pagans! mod thread. Not my code, (I wish I was good enough to have figured this out) but ATP's.