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

OsirisReborn

Lt. General
6 Badges
Oct 22, 2005
1.207
111
  • Hearts of Iron II: Armageddon
  • Darkest Hour
  • Hearts of Iron III
  • Europa Universalis: Rome
  • Rome: Vae Victis
want to mod game so the ai will never build nukes, still want them to obtain nuclear ships and power ect, just no bombs
assuming this is the only event that must be changed
how should i alter .... where do i add the 'trigger ai=no'
event = {
id = 8011
random = no
invention = yes

trigger = {
technology = 5540
NOT = {
is_tech_active = 7170
}
}

name = "EVT_8000_NAME"
desc = "EVT_8011_DESC"
picture = "scientist"
style = 0


action_a = {
name = "ACTIONNAME3201A" # OK
command = { type = activate which = 7170 } # Nuclear Waste Bomb
command = { type = activate which = 7180 } # Semi-Fission Bomb
command = { type = activate which = 7190 } # Fission Bomb
command = { type = activate which = 16010 } # Miniaturised Fission Bomb
command = { type = activate which = 16020 } # Fussion Bomb
}
}