Optional.Equipment scopetype =
The name of the equipment to produce.creator = The country which is producing the equipment. About the flag, it have 3 different flag for each focuses. amount = / The amount to add. Disables resistance for the scoped state when the occupier is the specified country. Use with. Ships are also constructed instantly. Scripted effects serve a similar purpose to functions in that they can be defined in /Hearts of Iron IV/common/scripted_effects/*.txt and then used elsewhere as a shortened version. Optional. In total, the probability for an option to be picked is equal to the weight of the option divided by the sum of all weights. bonus = The bonus to research speed. For more information, please see our No tooltip is generated. Other Valid ideologies "communism" "democratic" "neutrality", Removes the Danzig modifier from Danzig if that state is selected. all will result in all states that meet the filter going to the breakaway. Defining an ID is unnecessary in most cases, as there are alternatives to any usage of an ID. The units to add to the template. Information, Frequently Asked exclude_refitting = Determines whether ships that are being refitted will be transferred. The character slot can be the character's name or id. Ideology change command :: Hearts of Iron IV General Discussions Removes the specified trait from the current scope's country leader. Only possible to use if the division scope is the same as the ROOT scope. long_name = The long name of the country's new ruling party, appearing when hovering over it. These are defined within /Hearts of Iron IV/common/units/names_divisions/*.txt files. Two variants exist: nested and unnested. However, meta effects will let you use variables and scripted localization within them to build effects as if they were texts and run them. new_prioritised = Whether new equipment is prioritised or not. all_provinces = yes Can also be used in division scope. Can be used in country, state or character scopes. Elsewhere, random seed is unfixed by default, making this argument unnecessary to set to "no". Initially assigns the specified character to the current country. Similarly to most other folders, the game does not care about neither the filename nor the name of the characters, which is why recruitment is mandatory. Steam Workshop::Choose Your Leader! Does not work if you put another nations tag in the command such as "set_country_flag flag AUS", even if it says in console that it does. Executes contained effects on a random country that meets the limit and is at war with the country this is contained in. How to leave a faction as faction leader :: Hearts of Iron IV General This page lists the codes which may be input into the Console Window, a special debugging window which may be accessed on non-ironman games by hitting ^ , or tilde (~) (key varies based on keyboard layout). Defaults to true if unset. Without transfering troops, the annexed country's divisions' equipment is lost. Within these categories, the small and large decide whether it gets used as an advisor portrait or as a large portrait, used for country and unit leaders. This includes national spirits, laws, designers, and advisors (using the idea_token). name = The new name of the character. target = The target country. Toggles the pausebanner for nicer screenshots. Adds the specified amount of air experience to the current scope. target = / Which country receives the equipment. Press Shift+2, , ~, \, `, ", ^ or ALT+2+1, or Shift+3 to access the console (key varies based on keyboard layout). Removes wargoals from the current scope to the specified country. The add will occur before the removal of the old idea. Adds a core for the specified country on the current scope. Deletes all units with a certain template. modifier = The relation modifier to add. A weight of 0 will result in AI neveer picking it. Dismantles the faction of the current scope. navy_ratio = The size of the naval forces that the breakaway country gets. Executes contained effects on a random state that meets the limit and neighbours the state this is contained in. Ideology groups are: 'f' (fascism), 'd' (democratic), 'n' (neutrality) and 'c' (communism). gender = female assigns the specified gender to the character. FROM is the country that recruited the character. = Adds a modifier to the state. Executes contained effects on a random army leader that meets the limit and is recruited by the country this is contained in. Adds the specified amount of political power to the current scope. Interactive corporate website. Equipment types, including module slots for them, are defined within /Hearts of Iron IV/common/units/equipment/*.txt. Fuel is, instead, in the resources section, while convoys can be added/removed with add_equipment_to_stockpile. Print out all console commands to game.log file. Executes contained effects on a random division that meets the limit and is located within the current state. Necessary for a balance of power to appear. If the current country has a core on a state transferred to the released country, the core will be lost. last_election = When the last election was. HOI4 Gain_xp Command General Information This command can be used to add experience to a Leader/General. Localization replacements - Hoi4 modding Wiki | Fandom Executes contained effects on every army leader that meets the limit and is recruited by the country this is contained in. Starts a civil war for the current scope with the specified parameters. For a general doctrine cost reduction, see "_doctrine_cost_factor" in Modifiers. Kills the country leader for the current scope. Displays a list of every character meeting the specified limitation and recruited by the current country. Adds 100 opinion (hardcoded number) to and from target country (add_opinion ENG for instance). Generates a random name if not set. Adds the TAG_TO_ADD to the faction of the FACTION_LEADER_TAG. If a portrait doesn't work and is replaced with a randomly-selected one, there are two possible causes for this: Due to being affected by cosmetic tags, randomly-selected portraits get assigned only after country selection. EU4 Age_ruler Command General Information This console command sets the age of your ruler to the specified amount of years. Select the state you would like to set owner as. Transfers the current scope navy to the specified country. 0-50, window(wnd) [Arguments: open/close] [window gui name], Pauses the game after X hours have passed after command is called, Gives max war score in all wars for the country, Command no longer exists as of patch 1.9.1, Add specified country tag to your interest, Removes specified country tag from your interest, Prints AI desire for ideas to log. Technologies that are mutually exclusive with other technologies can not be removed by this effect. NOTE: Some of these scopes may have no countries/states that match the criteria. Releases the specified non-existent country as a puppet of the current scope within the current country's owned states. Sets the current war support value for the current scope. base_bonus = The backup bonus if no tech is available. state = Which state to add the resource to. 1 Explanation 2 List of Modifiers 2.1 State & Diplomacy 2.2 Industry, Trade, and Research 2.3 Land Army & Military 2.4 Airforce 2.5 Navy Explanation A modifier is a numeric multiplier that represent certain strengths and weaknesses of a country. z = The Z position of the entity. Changes the appearance of one of the sides within the balance of power. Changes the controller of the specified province to the current scope. Optional.days = The duration of the buff. Targets the scope that the current scope is contained in. If your keyboard layout doesn't have that key, other hotkeys to open the console are SHIFT + 2 and SHIFT + 3. Optionally, else_if = { } (with limit = { } serving in a similar fashion) and else = { } can be added. To add modified equipment, you have to address it by given name. This is a community maintained wiki. level = / The maximum level to add. Executes contained effects on a random state that meets the limit and is owned by the country this is contained in. transfer_troops = yesWhether to transfer the troops of the annexed country. Generates a tooltip, unlike delete_unit. All rights reserved. If used on a state that normally can't start resistance, use alongside with. If the character shouldn't do anything until later, then it can have no roles defined, with one getting added later on via an effect. Can be chained indefinitely as PREV.PREV. Use event_target: to access the scope. If none is specified, it defaults to the capital. value = The weighting added by the strategy. slot = Slot of the character. model = Model that will be used by the equipment on the world map. Used in the province scope.limit_to_naval_base = Affect naval base provinces. The effect does nothing if the country exists. Localisation is defined by using the trait's name as a localisation key within any localisation file, with an entry as my_trait: "My trait". Assumes the capital by default. For example: The country defined by the tag or tag alias. Promotes the current unit leader to Field Marshal (if Commander). popularity = The amount of popularity to set. Executes contained effects on every navy leader that meets the limit and is recruited by the country this is contained in. Character modding - Hearts of Iron 4 Wiki - Paradox Wikis desc = MY_LEADER_DESCRIPTION is the localisation key that gets used for the leader's description depending on the currently turned on language. The overlord of the country if it is a subject. ROOT and TAG must already be at war with each other for the effect to take place. Sets the political party popularities for the current scope. Optional.cannot_retreat_while_attacking = The bonus to grant. template = The template the units must use to be deleted. Starts a production line for the specified equipment for the current scope. Characters are defined within /Hearts of Iron IV/common/characters/*.txt files and need to be recruited in /Hearts of Iron IV/history/countries/TAG*.txt files.. tag_color [rgb] Players can use this command to set the tag color of your current country. Questions, Paradox If you spot a mistake then you are welcome to fix it. Removes an operation token from the country. The texturefile itself must be located within the specified folder and have the specified name. The current scope gains the specified opinion modifier, The current scope loses the specified opinion modifier, The target scope gains the specified opinion modifier, The current scope gains the specified relation modifier, The current scope loses the specified relation modifier for. Releases the specified non-existent country as a puppet of the current scope within the current country's controlled states. Adds the specified trait to the current country's country leader. Unnecessary in most cases, as it's possible to create the unit leader role within an effect block mid-game. By rejecting non-essential cookies, Reddit may still use certain cookies to ensure the proper functionality of our platform. Select a state by clicking it. Retires the character, removing every role they hold and making them disappear from the game. Adds planning skill to the current unit leader. No tooltip is shown. legacy_id = The legacy ID used for the unit leader. Note that if you want to create a repeatable decision including a random list, by default the same decision will pick the same random result every time it is triggered in a game. Executes contained effects on a random country that meets the limit. Checks if a scripted trigger is true or not. keep_political_party_members = Controls if non-promoted party leaders of the revolting ideology group will be kept by the country or join the revolt, yes resulting in the former. EU4 Leader Command General Information This command creates a general (military leader) with the specified fire, shock, maneuver and siege characteristics for the specified country. Allows to remove specified decision without running remove_effect. Is there any way for me to change the leader of one of my puppets with a console command? requested_factories = The number of factories to assigned initially. start_province = The effect does nothing if the country exists. Makes the current scope the controller of the specified state. Defaults to false. The resource rights will only be provided as long as the current country controls the state with resource rights. Optional. sleep [duration] Pause the game for the specified amount of time in seconds. name = The name of the country's new ruling party. uses = The amount of times the bonus can be used, default 1.ahead_reduction = The cost reduction if ahead of time, default 0.category = Which technology category the bonus applies to. Does not start resistance by itself, only removes the checks forcefully disabling it. Changes the currently playing soundtrack. See Variables for information on the variable effects. Modifiers | Hoi4 modding Wiki | Fandom The experience required in order to assign this trait to a unit leader. Creates a commander for the current scope with the specified attributes. Used in the province scope.limit_to_coastal = Affect coastal provinces. Optional, defaults to being the same as size. JavaScript is disabled. This is done with instance = { }. set_value = The new value of the BoP. States that are owned but not controlled will be transferred to the released country, but won't be controlled by it. From what I know you can't kill your leader in-game. The effects here must be used within a scope that's specified within the notes. Executes contained effects on a random state that meets the limit and is controlled by the country this is contained in. The effects here must be used within a character scope. Mana in this usage means political power, stability, war support, and other values in the topbar. target_province = How to kill your leader? | Paradox Interactive Forums navy = Will damage the navy units. target = The country to steal from. The portrait uses a spriteType, defined within. It is not possible at present. If the country flag inward_perfect_flag is set, it'll multiply the above chance of 30 by 1.3 to get 39. Kills the country leader of the designated ideology for the current scope. Now use 'add_latest_equipment 1000 Matilda LP Mk. mapmode = The ID of the custom map mode. Similar to swap_ideas. Makes the AI control the country currently led by the player while the player also remains in control. Shared buildings slots being the ones used for multiple building types, such as military or civilian factories. Those save files should look the same. Sub-units are defined in /Hearts of Iron IV/common/units/*.txt files. limit = { }The triggers that must be fulfilled by the province's current controller to be transferred to the new controller. Writes Texture info to application debug log, spawnactor [] [] [ OPTIONAL], Spawns an actor with an optional animation, Toggles the debug info in province tooltip. Optional. Executes contained effects on a random country that meets the limit and has any core states controlled by the country this is contained in. Every state of the original country immediately gets set as a dynamic country's core: if that's unneeded, the cores would need to be removed after creation. Forces the current scope to join the war of the specified ally against the specified enemy. Enables Border War status for the current state. This command, as you might have guessed, causes you to resign from your current position. fallback = Defaults to no, if yes each option will try to fallback to the next available one. HOI 4 Console Commands - The Best Hearts of Iron 4 Cheats elections_allowed = Whether elections are allowed. To do that, navigate to the folder where the game is contained, then to the /Hearts of Iron IV/localisation/english/ folder. The console command itself does not include d_, so d_test_command would be run in console as test_command (Ex: cat_mobile_warfare,land_doctrine ,air_doctrine.). portrait_tag_override = If selecting a random portrait, create one that is from the specified country rather than the current country. Sets the bonuses or penalties for the attacker and defender in an on-going border war. I know with WtT you can now add them by spending CP, but a lot of them still require skill levels and certain prerequisite traits to unlock other traits. Optional, defaults to being the same as default. Stored as a spriteType within /Hearts of Iron IV/interface/*.gfx. Reduces the overall equipment stockpile by the specified fraction. Remove_trait Command Help & Examples | EU4 Cheats Assigns a type to the trait, which gets used to assign which characters are able to receive it. Optional.random = / Adds a random number (between 0 and random, inclusive) of hours to the scheduled fire time. Note that while modding, the console command does not do everything that the launch option does and cannot serve as a substitute. In targeted decisions or diplomacy scripted triggers, this refers to the scope that is targeted. Executes contained effects on every operative that meets the limit and is recruited by the country this is contained in. This will get localised in any working /Hearts of Iron IV/localisation/english/*_l_english.yml file, assuming the English language, as my_character: "My character's name". name = The name of the bonus. Mandatory if a variant needs to be created to produce the equipment, optional otherwise. Optional.hours = / Fires the event in the specified number of hours. 1 List of commands 1.1 Internal IDs 1.2 Disambiguation 1.3 Useful commands 1.4 Modding-useful commands 1.5 Other in-game commands 2 See also 3 References List of commands edit | Press Shift+2, , ~, \, `, ", ^ or ALT+2+1, or Shift+3 to access the console (key varies based on keyboard layout) Internal IDs edit | See also: Countries The filename with the. Used to define a diplomatic relation between the current scope and target scope country. An if statement allows an execution of effects to only be done if certain triggers are met. Sub-ideologies are defined in /Hearts of Iron IV/common/ideologies. army_intel = How much army intel to add. To add only a specific type of your latest equipment, you have to address it's given name. EU4 Remove_trait Command General Information This command removes the specified trait from the ruler of the country you are currently playing as. Optional. If that is impossible, using localisation is an alternative. If an intel argument is left out, 0 is assumed. Load up a save file and press the TAB key to bring up the panel (the key might differ between keyboards, so try ~, `, ", or ^ if nothing happens). The amount of experience gained when the admiral spots an enemy fleet. Adds the specified amount of manpower to the current scope. Unless specified, all changes made by effects are made only once, they are not continuous like modifiers are. days = / Fires the event in the specified number of days. Optional. Faction - Hearts of Iron 4 Wiki - Paradox Wikis Optional. days = / The number of days to add the idea for. For shared buildings level determines the amount, whereas for the others it is the actual level. hsv: The command converts HSV to RGB. Portraits fall into 3 categories: civilian, army, and navy. Makes the current country's researched technologies be copied from the specified country. Sets the number of research slots the current scope has. All rights reserved. Bump? keep_unit_leaders = { }List of unit leaders to be kept by their legacy_id. This item will only be visible to you, admins, and anyone marked as a creator. enemy = The country attacking the ally.hostility_reason = Localization for the reason for joining. Optional, defaults to all. Sets the cap of a division template. scale = The size of the entity. Columns go left-to-right starting with 0. Modding: How to change leader via focus tree/events Fires the specified event for the current state. Does not support Naval equipment. Does not work with the character ID. By default, these character slots exist in base game: idea_token = my_character is the ID used for the character when treated as an idea within this particular slot. If it is 0, it will return "infantry_equipment". Adds a random valid unit trait to a unit leader. Variables can be used. name = The name used by the railway gun.