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

Wordsarecool

First Lieutenant
25 Badges
Sep 13, 2011
243
63
  • Darkest Hour
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Semper Fi
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Way of Life
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Victoria 2
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Stellaris - Path to Destruction bundle
  • Stellaris: Megacorp
  • Victoria 2: Heart of Darkness
  • Arsenal of Democracy
  • Victoria 2: A House Divided
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
The command:

Code:
      command = { type = free_energy value = 10 }

Used in an event:

Code:
event = { #energy cheat
    id = 1337010
    random = no
    persistent = yes #can be fired more than once

    name = "FREE ENERGY"
    desc = "Free energy cheat"
    style = 2

    action = {
        name = "OK"
        ai_chance = 100
      command = { type = free_energy value = 10 } #10 off-map energy
    }
    action = {
        name = "No thanks"
        ai_chance = 0
        command = { }
    }
}

In the future, the Modding Questions thread is probably a better place for this sort of thing, but eh
 

Mvs505

Corporal
46 Badges
Jun 5, 2015
31
0
  • Europa Universalis IV: El Dorado
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Heir to the Throne
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis III: Collection
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Darkest Hour
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Third Rome
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Crusader Kings II
Will it work if I add this to countries files in scenario folder, beacuse I've added that value and the game keeps crashing when i select country and click to start the game
 

Ericafaq

Good. Bad. Modder
82 Badges
Jul 7, 2012
4.851
1.192
28
steamcommunity.com
  • Battle for Bosporus
  • Europa Universalis IV
  • Europa Universalis 4: Emperor
  • Hearts of Iron IV: No Step Back
  • Crusader Kings III
  • Darkest Hour
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Mount & Blade: With Fire and Sword
  • Hearts of Iron IV: La Resistance
  • Imperator: Rome Sign Up
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Crusader Kings II: Reapers Due
  • Stellaris: Galaxy Edition
  • Steel Division: Normandy 44
  • Mount & Blade: Warband
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Wealth of Nations
  • Steel Division: Normandy 44 -  Back to Hell
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II
  • Tyranny - Bastards Wound
  • Tyranny - Tales from the Tiers
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: El Dorado
  • War of the Roses
  • Victoria 2: A House Divided
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Semper Fi
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron III
  • For The Glory
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron IV: Expansion Pass
  • Victoria: Revolutions
  • Divine Wind
  • Rome Gold
Will it work if I add this to countries files in scenario folder, beacuse I've added that value and the game keeps crashing when i select country and click to start the game

For Scenarios folder, you need this command

Energy - as example

free = { Energy = 100 }