Cheat
DL先 :
画像をクリックすればOK
説明 :
様々なコンソールコマンドが使用できるようになります。(用途、MODの検証用やクエスト失敗時などのリカバリー)
導入方法 :
- -devmodeを設定してゲームを実行すると、 WindowsのKingdomCome.exeへのショートカットを作成し、-devmodeをTargetフィールドの最後に追加します。 スクリーンショットを参照してください。
- 注:KingdomCome.exeのパスにスペースが含まれている場合は、二重引用符を使用する必要があります。 例えば "C:\ SPACES ARE STUPID \ KingdomCome.exe" -devmode
- steamapps \ common \ KingdomComeDeliverance \ Dataフォルダにzzz_cheat.pakを配置します。
オートチート
チートコマンドは一時的です(ゲームの再開時にはクリアーされています。)
しかし、 "autocheat.txt"というファイルにチートを追加し、ファイルをDataフォルダに置くと、自動で読み込まれ毎回起動のたびに実行されます。
ヘルプ
「cheat_set_regen?」を実行すると、コマンドのパラメーターを表示します。
Commands
- cheat_add_all_items
- cheat_add_all_perks
- cheat_add_buff
- cheat_add_buff_heal
- cheat_add_buff_immortal
- cheat_add_item
- cheat_add_money
- cheat_add_perk
- cheat_add_stat_xp
- cheat_eval
- cheat_find_buffs
- cheat_find_horses
- cheat_find_items
- cheat_find_npc
- cheat_find_perks
- cheat_find_skills
- cheat_get_time
- cheat_loc
- cheat_no_door_lockpicking
- cheat_no_lockpicking
- cheat_no_pickpocketing
- cheat_no_stash_lockpicking
- cheat_own_all_stolen_items
- cheat_phys_hover
- cheat_phys_push
- cheat_phys_sprint
- cheat_remove_all_buffs
- cheat_remove_all_items
- cheat_remove_all_perks
- cheat_remove_all_stolen_items
- cheat_remove_buff
- cheat_remove_buff_immortal
- cheat_remove_item
- cheat_remove_perk
- cheat_repair_all_items
- cheat_reveal_map
- cheat_save
- cheat_set_all_merchants_fence
- cheat_set_bow_reticle
- cheat_set_horse
- cheat_set_regen
- cheat_set_skill_level
- cheat_set_stat_level
- cheat_set_state
- cheat_set_time
- cheat_set_time_speed
- cheat_set_wanted_level
- cheat_teleport
- cheat_teleport_horse
- cheat_teleport_npc_to_loc
- cheat_teleport_npc_to_player
- cheat_unlock_recipes
- cheat_wash_dirt_and_blood
Command Documentation
All of this information is available in game by running "command-name ?".
cheat_eval
Executes the given Lua code. This is not a cheat it is used for testing and debugging.
Examples:
Dump all methods on the cheat table:
cheat_eval cheat:print_methods(cheat)
Dump all methods on player metatable:
cheat_eval cheat:print_methods(getmetatable(player))
Log the value of something to the console:
cheat_eval cheat:logInfo(tostring(player.soul:GetState("health")))
cheat_save
This instantly saves your game. No item requiremetns or save limits.
Examples:
Save your game:
cheat_save
cheat_find_buffs
Finds all of the buffs that match the given token.
Arguments:
token: (optional) All or part of a the buff's name. Leave empty to list all buffs.
Examples:
Show all buffs:
cheat_find_buffs token:
Show all buffs with 'heal' in their name:
cheat_find_buffs token:heal
cheat_add_buff
Adds the given buff to the player.
Arguments:
id: (required) The buff ID or all or part of a the buff's name. Uses last match from cheat_find_buffs.
Examples:
Adds the last buff with 'heal' in its name:
cheat_add_buff id:heal
Adds the buff poor_hearing buff by ID:
cheat_add_buff id:29336a21-dd76-447b-a4f0-94dd6b9db466
Adds the buff healthEatSleep_instant buff by full name:
cheat_add_buff id:healthEatSleep_instant
cheat_remove_buff
Removes the given buff from the player.
Arguments:
id: (required) The buff ID or all or part of a the buff's name. Uses last match from cheat_find_buffs.
Examples:
Removes the last buff with 'heal' in its name:
cheat_remove_buff id:heal
Removes the buff poor_hearing buff by ID:
cheat_remove_buff id:29336a21-dd76-447b-a4f0-94dd6b9db466
Removes the buff healthEatSleep_instant buff by full name:
cheat_remove_buff id:healthEatSleep_instant
cheat_remove_all_buffs
Removes all buffs from the player.
Examples:
Remove all buffs:
cheat_remove_all_buffs
cheat_add_buff_heal
Stop bleeding, removes injuries, and restores all health, stamina, hunger, and exhaust.
Examples:
Heal bleeeding and injuries:
cheat_add_buff_heal
cheat_add_buff_immortal
Adds buffs to make the player immortal. Use cheat_remove_buff_immortal to remove this.
Examples:
Add immortality:
cheat_add_buff_immortal
cheat_remove_buff_immortal
Removes the buffs making the player immortal.
Examples:
Remove immortality:
cheat_remove_buff_immortal
cheat_find_horses
Find and display stats of horses.
Arguments:
token: (optional) All or part of a horse's name. Leave blank to list all horses.
Examples:
List all horses:
cheat_find_horses token:
Find all horses in MRH stable:
cheat_find_horses token:mrh
cheat_set_horse
Sets the player's horse.
Arguments:
token: (optional) All or part of a horse's name. Leave blank to list all horses.
Examples:
Set horse by name part:
cheat_set_horse id:mrh_05
cheat_teleport_horse
Teleports your horse to you.
Examples:
Teleport your horse to you:
cheat_teleport_horse
cheat_find_items
Finds all of the items that match the given token.
Arguments:
token: (optional) All or part of a the item's name. Leave empty to list all items.
Examples:
Show all items:
cheat_find_items token:
Show all items with 'arrow' in their name:
cheat_find_items token:arrow
cheat_add_item
Adds an item to the player's inventory.
Arguments:
amount: (optional number) The number of items to add. Default 1.
health: (optional number) The condition of the item added. Default 100.
id: (required) The item ID or all or part of a the item's name. Uses last match from cheat_find_items.
Examples:
Adds the last item with 'bow' in its name:
cheat_add_item id:bow
Adds the item ui_nm_arrow_hunter by ID:
cheat_add_item id:802507e9-d620-47b5-ae66-08fcc314e26a
Adds 10 items ui_nm_arrow_hunter by fullname with 50 condition:
cheat_add_item id:ui_nm_arrow_hunter amount:10 health:50
cheat_add_all_items
Adds all items the player's inventory. This is probably a bad idea...
Examples:
Add all items:
cheat_add_all_items
cheat_remove_item
Removes an item to the player's inventory.
Arguments:
amount: (optional number) The number of items to remove. Default 1.
id: (required) The item ID or all or part of a the item's name. Uses last match from cheat_find_items.
Examples:
Removes the last item with 'bow' in its name:
cheat_remove_item id:bow
Removes the item ui_nm_arrow_hunter by ID:
cheat_remove_item id:802507e9-d620-47b5-ae66-08fcc314e26a
Removes 10 items ui_nm_arrow_hunter by fullname:
cheat_remove_item id:ui_nm_arrow_hunter amount:10
cheat_remove_all_items
Removes all items in the player's inventory.
THIS DELETES YOUR INVENTORY! Move items you want to a stash first.
Examples:
Delete your inventory:
cheat_remove_all_items
cheat_remove_all_stolen_items
Removes all stolen items from your inventory.
Examples:
Remove stolen items:
cheat_remove_all_stolen_items
cheat_own_all_stolen_items
Makes you the owner of all stolen items in your inventory.
This removes the stolen flag from the item.
Examples:
Take ownership of stolen items:
cheat_own_all_stolen_items
cheat_repair_all_items
Repairs all damaged items in your inventory.
Examples:
Repair all items:
cheat_repair_all_items
cheat_set_all_merchants_fence
Flags all merchants so they accept stolen goods.
Restarting the game reverts this effect.
Arguments:
enable: (required boolean) true or false
Examples:
Turn it on:
cheat_set_all_merchants_fence enable:true
Turn it off:
cheat_set_all_merchants_fence enable:false
cheat_find_perks
Finds all of the perks that match the given token.
Arguments:
token: (optional) All or part of a the perk's name. Leave empty to list all perks.
Examples:
Show all perks:
cheat_find_perks token:
Show all perks with 'hunt' in their name:
cheat_find_perks token:hunt
cheat_add_perk
Adds the given perk to the player.
Arguments:
id: (required) The perk ID or all or part of a the perk's name. Uses last match from cheat_find_perks.
Examples:
Adds the last perk with 'hunt' in its name:
cheat_add_perk id:hunt
Adds the perk juggler perk by ID:
cheat_add_perk id:09a5f2a0-d59f-42c2-a80c-bec9ad7ca168
Adds the perk general_speech perk by full name:
cheat_add_perk id:general_speech
cheat_add_all_perks
Adds all perks to the player.
Arguments:
exclude: (required boolean) If true then negative, test, and obsolete of perks are excluded.
Examples:
Add all perks:
cheat_add_all_perks exclude:true
Add all perks including negative, test, and obsolete perks:
cheat_add_all_perks exclude:false
cheat_remove_perk
Removes the given perk from the player.
Arguments:
id: (required) The perk ID or all or part of a the perk's name. Uses last match from cheat_find_perks.
Examples:
Removes the last perk with 'hunt' in its name:
cheat_remove_perk id:hunt
Removes the perk juggler by ID:
cheat_remove_perk id:09a5f2a0-d59f-42c2-a80c-bec9ad7ca168
Removes the perk golden_tongue by full name.:
cheat_remove_perk id:golden_tongue
cheat_remove_all_perks
Removes all perks from the player.
Examples:
Remove all perks:
cheat_remove_all_perks
cheat_phys_hover
Use F1 key to toggle hover on and off.
This uses physics to push the player slightly up.
This is intended to be used with F2 push.
cheat_phys_push
Use F2 key to toggle push on and off.
This uses physics to push the player forward.
This is intended to be used with F1 hover.
cheat_phys_sprint
Use F3 key to toggle sprinting on and off.
This uses physics to push the player forward (and down for friction).
cheat_no_stash_lockpicking
This disables the lockpicking minigame on stashes and automatically opens the stash for looting.
Restarting the game reverts this effect.
Examples:
Turn off lockpicking minigame on stashes:
cheat_no_stash_lockpicking
cheat_no_door_lockpicking
This disables the lockpicking minigame on doors and automatically opens the door.
Restarting the game reverts this effect.
Examples:
Turn off lockpicking minigame on doors:
cheat_no_door_lockpicking
cheat_no_lockpicking
This calls cheat_no_stash_lockpicking and cheat_no_door_lockpicking.
Examples:
Turn off lockpicking minigames on doors and stashes:
cheat_no_lockpicking
cheat_no_pickpocketing
This disables the pickpocketing minigame and automatically opens the person's inventory for looting.
They can still catch you.
Restarting the game reverts this effect.
Examples:
Turn off pickpocketing minigame:
cheat_no_pickpocketing
cheat_loc
Shows player's world location.
Examples:
Example:
cheat_loc
cheat_teleport
Teleports the player to the given coordinates.
You can end up in the air or under the map.
I suggest saving your game and turn on immortality first.
Arguments:
y: (required number) Y coordinate
x: (required number) X coordinate
z: (required number) Z coordinate
Examples:
Example:
cheat_teleport x:3000 y:1500 z:300
cheat_set_state
Sets one of the player's states to the given value.
Arguments:
state: (required) One of: health, exhaust, hunger, or stamina.
value: (required number) The number to assign to the given state.
Examples:
Set health to 100 points:
cheat_set_state state:health value:100
Set exhaust to 100 points:
cheat_set_state state:exhaust value:100
cheat_add_stat_xp
Adds XP to one of the player's stats.
Arguments:
stat: (required) One of: str, agi, vit, or spc.
xp: (required number) The desired XP to add.
Examples:
Add 100 XP to player's strength stat:
cheat_add_stat_xp stat:str xp:100
cheat_set_stat_level
Sets one of the player's stats to the given level.
Arguments:
stat: (required) One of: str, agi, vit, or spc.
level: (required number) The desired level for the given stat (max 20). Level cannot lowered.
Examples:
Set player's strength to level 20:
cheat_set_stat_level stat:str level:20
Set player's agility to level 5:
cheat_set_stat_level stat:agi level:5
cheat_add_money
Adds the given amount of groschen to the player's inventory.
Arguments:
amount: (required number) The amount of groschen to add.
Examples:
Add 200 groschen:
cheat_add_money amount:200
cheat_set_bow_reticle
Enabled or disables the bow reticle. Won't take effect if bow is drawn.
Arguments:
enable: (required boolean) true or false
Examples:
Turn it on:
cheat_set_bow_reticle enable:true
Turn it off:
cheat_set_bow_reticle enable:false
cheat_set_wanted_level
Set or clears the player's wanted level. This doesn't affect faction repution.
Arguments:
level: (required number) 0=not wanted, 1=wanted for money, 2=wanted for jail, 3=wanted dead
Examples:
Clear wanted status:
cheat_set_wanted_level level:0
Make the guards kill me on sight:
cheat_set_wanted_level level:4
cheat_wash_dirt_and_blood
Washes all blood and dirt from the player and player's horse.
Do horses need this?
Can items be washed?
Let me know.
Examples:
Wash yourself and your horse:
cheat_wash_dirt_and_blood
cheat_unlock_recipes
Saw this code to unlock recipes in a pak file.
I have no idea what this really does or if it works.
Let me know.
Examples:
Unlock all recipes:
cheat_unlock_recipes
cheat_set_regen
Regenertes the given player state over time; pulses once per second.
Arguments:
enable: (required boolean) true to enable state regen; false to disable
amount: (optional number) The amount to regen every second.
state: (required) The state to regen: all, health, stamina, or exhaust.
Examples:
Adds 1 to all states every second.:
cheat_set_regen enable:true state:all amount:1
Adds 100 to player's stamina every second.:
cheat_set_regen enable:true state:stamina amount:100
Disable all state regeneration.:
cheat_set_regen enable:false state:all
cheat_find_skills
Finds all of the skills that match the given token.
Arguments:
token: (optional) All or part of a the skill's name. Leave empty to list all skills.
Examples:
Show all skills:
cheat_find_skills token:
Show all skills with 'pick' in their name:
cheat_find_skills token:pick
cheat_set_skill_level
Sets one of the player's skills to the given level.
Arguments:
level: (required number) The desired level for the given skill (max 20).
skill: (required) The skill name, full or partial, or ID. Use cheat_find_skills to list all skills.
Examples:
Set player's lockpicking skill to level 20:
cheat_set_skill_level skill:lockpicking level:20
Set player's bow skill to level 20:
cheat_set_skill_level skill:18 level:20
cheat_reveal_map
Reveals the entire map (removes fog of war).
Examples:
Reveal the entire map:
cheat_show_map
cheat_get_time
Logs information about game time.
Examples:
Get game time:
cheat_get_time
cheat_set_time
Moved time forward the given number of hours.
Arguments:
hours: (required number) The number of hours.
Examples:
Move 5 hours forward:
cheat_set_time hours:5
cheat_set_time_speed
Set the game time speed as a ratio between real time and game time.
A high ratio, like 1000, is faster. Default is 15. 0 will pause time.
Arguments:
ratio: (required number) The ratio between real time and game time. Default 15.
Examples:
Speed up game time:
cheat_set_time_speed ratio:1000
cheat_find_npc
Finds and shows information about an NPC.
This only works if the NPC has been loaded into the world.
Arguments:
token: (required) All or part of a the NPC's name.
Examples:
Find Father Godwin:
cheat_find_npc token:godwin
cheat_teleport_npc_to_loc
Teleports one or more NPCs to the given coordinates. Use cheat_loc to get locations.
Arguments:
x: (required number) X coordinate.
y: (required number) Y coordinate.
radius: (optional number) The teleport radius around the x,y,z target.
token: (required) All or part of a the NPC's name.
z: (required number) Z coordinate.
Examples:
Teleport Father Godwin to somewhere...:
cheat_teleport_npc_to_loc token:Father_Godwin x:1 y:2 z:3
cheat_teleport_npc_to_player
Teleports one or more NPCs to the player's location.
Arguments:
token: (required) All or part of a the NPC's name.
radius: (optional number) The teleport radius around the player.
Examples:
Teleport Father Godwin to ???:
cheat_teleport_npc_to_loc token:Father_Godwin x:1 y:2 z:3