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

AnaxXiphos

Colonel
21 Badges
Jun 25, 2013
961
68
  • Crusader Kings II: Charlemagne
  • Magicka
  • Knights of Pen and Paper +1 Edition
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • 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
  • Crusader Kings II
  • Teleglitch: Die More Edition
  • Victoria 2
  • War of the Roses
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Humble Paradox Bundle
  • Crusader Kings II: Horse Lords
  • Shadowrun Returns
  • Shadowrun: Hong Kong
  • Prison Architect
I increased it from 700 to 7000 in the mod's defines.lua file but got a startup crash.

How can I safely disable it? Do I need to disable it in the base game too?

You probably got a crash because you edited the defines.lua file with an editor that doesn't properly support that file's specific encoding. Return the file to its default state (by reinstalling HIP, most likely) and then try editing with Notepad++ or a similar fully featured text editor.

If, on the other hand, you were using a proper editor, then it's possible you either improperly edited the file (make sure you didn't accidentally remove a comma or equals sign or an entire value entry) or the game doesn't like diplomatic ranges which are over a certain size.
 

theStormWeaver

Lead Dev - Ancient Religions
64 Badges
Jul 28, 2012
2.407
474
www.github.com
  • Battle for Bosporus
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV
  • Crusader Kings II: Reapers Due
  • Rome Gold
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • 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
  • Crusader Kings II: Charlemagne
  • Crusader Kings II
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings III
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Surviving Mars: First Colony Edition
  • Crusader Kings II: Holy Fury
  • Imperator: Rome Sign Up
  • Stellaris: Ancient Relics
  • Imperator: Rome - Magna Graecia
  • Rome: Vae Victis
  • 500k Club
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Digital Anniversary Edition
  • Cities: Skylines
  • Imperator: Rome
  • Surviving Mars: First Colony Edition
  • Stellaris - Path to Destruction bundle
You probably got a crash because you edited the defines.lua file with an editor that doesn't properly support that file's specific encoding. Return the file to its default state (by reinstalling HIP, most likely) and then try editing with Notepad++ or a similar fully featured text editor.

If, on the other hand, you were using a proper editor, then it's possible you either improperly edited the file (make sure you didn't accidentally remove a comma or equals sign or an entire value entry) or the game doesn't like diplomatic ranges which are over a certain size.

That last one is likely true, but not likely the problem.
700 is big enough to require a 16 bit int, and 7000 is small enough to fit in a 16-bit int.
 

Saintrl

Lt. General
46 Badges
Jul 9, 2013
1.300
52
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • 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
  • Europa Universalis 4: Emperor
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Jade Dragon
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
If you have VIET you can simply disable it by going to the customization options and selecting "Tweak CBs" and such and then hit "Holy War Cooldown". By default it's on cooldown but you can disable it.
 

zijistark

HIP Lead
58 Badges
Jan 29, 2013
5.118
3.074
zijistark.com
  • Crusader Kings II
  • Stellaris: Apocalypse
  • Knights of Honor
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Crusader Kings II: The Old Gods
  • Cities in Motion
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis III: Chronicles
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Rights of Man
  • Victoria 2
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings III
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Death or Dishonor
  • 500k Club
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
That last one is likely true, but not likely the problem.
700 is big enough to require a 16 bit int, and 7000 is small enough to fit in a 16-bit int.

All of the integer defines are 32-bit integers. What does that have to do with anything? As much as 16-bit integers do.

AnaxXiphos was saying that the accepted limits by the game's internal formulae of these numbers are not published anywhere, so caveat emptor.
 

zijistark

HIP Lead
58 Badges
Jan 29, 2013
5.118
3.074
zijistark.com
  • Crusader Kings II
  • Stellaris: Apocalypse
  • Knights of Honor
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Crusader Kings II: The Old Gods
  • Cities in Motion
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis III: Chronicles
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Rights of Man
  • Victoria 2
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings III
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Death or Dishonor
  • 500k Club
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
Notepad++ did the trick. Thanks very much.

EDIT: Where can I disable the holy war cool-down timer?

That's a more thorough modification, that requires modifying all the holy war cb types.

Anonymous01 and others, word of advice: make a personal sub-mod. Don't go editing the HIP CB files, etc. when you don't have to do so. Insulate yourself from future HIP releases / reinstalls by encapsulating your changes in a personal sub-mod that depends upon HIP. See the Modding section @ http://www.ckiiwiki.com/ for help on how to structure a .mod file and override files in HIP cleanly.

A better way to effectively get rid of holy war cooldowns w/o risking messing with the CBs (which are only going to get more and more complicated in the future, believe me) would be to put this in some file in your sub-mod's events/ folder:

Code:
namespace = my_mod

character_event = {
  id = my_mod.1
  desc = OK
  hide_window = yes

  only_playable = yes

  trigger = {
    has_character_modifier = holy_war_cooldown
  }

  option = {
    name = OK
    remove_character_modifier = holy_war_cooldown
  }
}