|
1 |
| ---[[ |
2 |
| -TODO |
3 |
| -===================================================================== |
4 |
| --- localize items, perks, skills, buffs |
5 |
| --- spawn enemies/entities |
6 |
| --- dummy quest to grant rep |
7 |
| --- alter Charisma, Noise, Visibility, Speed |
8 |
| --- complete a quest |
9 |
| --- gravity |
10 |
| --- removes fog of war, but also unlocks all on the map? Camp sites, graveyards, caves etc? |
11 |
| --- player speed |
12 |
| --- horse speed |
13 |
| --- max skills, stats |
14 |
| -
|
15 |
| -Change Log |
16 |
| -===================================================================== |
17 |
| -1.29 |
18 |
| --- Merged latest defaultProfile.xml. |
19 |
| --- Fixed documentation error on command cheat_set_horse. |
20 |
| --- Released additional version of mod without any key bindings. |
21 |
| -
|
22 |
| -1.27/1.28 |
23 |
| --- Merged 1.4.1 action map. |
24 |
| -
|
25 |
| -1.26 |
26 |
| --- The cheat_spawn command now had radius option and can spawn guards. |
27 |
| -
|
28 |
| -1.25 |
29 |
| --- Removed version section from mod.manifest since it works like shit. |
30 |
| -
|
31 |
| -1.24 |
32 |
| --- Added cheat_spawn and cheat_spawn_npc. |
33 |
| --- Added required health argument to cheat_damage_all_items. |
34 |
| -
|
35 |
| -1.23 |
36 |
| --- Fixed startup logging so missing autocheat.txt isn't logged as an error. |
37 |
| --- Added cheat_target_entity command bound to F4. |
38 |
| --- Added cheat_kill_target comand to kill an entity targeted with F4 or the cheat_target_entity command. |
39 |
| --- Added cheat_damage_all_items. |
40 |
| -
|
41 |
| -1.22 |
42 |
| --- Added support for GOG versions. |
43 |
| -
|
44 |
| -1.21 |
45 |
| --- Fixed packaging issues causing wrong file to get uploaded to nexus. |
46 |
| -
|
47 |
| -1.20 |
48 |
| --- Switched mod to use new 1.3 mod structure |
49 |
| --- Mod should now be unzipped into steamapps\common\KingdomComeDeliverance\Mods |
50 |
| --- See https://wiki.nexusmods.com/index.php/Modding_guide_for_KCD |
51 |
| -
|
52 |
| -1.19 |
53 |
| --- Fixed a bug with autocheat.txt not loading. |
54 |
| -
|
55 |
| -1.18 |
56 |
| --- Added cheat_exec_file and cheat_exec_delay. |
57 |
| -
|
58 |
| -Create Data\exec.txt will following 6 lines: |
59 |
| -cheat_exec_delay ms:5000 |
60 |
| -cheat_eval cheat:logWarn("1") |
61 |
| -cheat_exec_delay ms:5000 |
62 |
| -cheat_eval cheat:logWarn("2") |
63 |
| -cheat_exec_delay ms:5000 |
64 |
| -cheat_eval cheat:logWarn("3") |
65 |
| -
|
66 |
| -Run command cheat_exec_file file:Data\exec.txt |
67 |
| -
|
68 |
| -1.17 |
69 |
| --- Added cheat_set_weather. |
70 |
| -
|
71 |
| -1.16 |
72 |
| --- Added cheat_kill_npc to kill matching NPCs within a specified radius of the player. |
73 |
| -
|
74 |
| -1.15 |
75 |
| --- Added cheat_stash to open player's stash. |
76 |
| --- Added max parameter to cheat_teleport_npc_to_loc to limit total number of NPCs teleported. |
77 |
| --- Added max parameter to cheat_teleport_npc_to_player to limit total number of NPCs teleported. |
78 |
| --- Changed cheat_find_npc, cheat_teleport_npc_to_loc, and cheat_teleport_npc_to_player to work with any actor like hare, pig, deer, etc. |
79 |
| --- Added cheat_add_buff_invisible and cheat_remove_buff_invisible |
80 |
| -
|
81 |
| -1.14 |
82 |
| --- Added cheat_find_npc to display an NPC's location assuming the NPC has been loaded into the game world. |
83 |
| --- Added cheat_teleport_npc_to_loc to teleport one or more NPCs to a specific x,y,z location. |
84 |
| --- Added cheat_teleport_npc_to_player to teleport one or more NPCs to the player's location. |
85 |
| --- Added cheat_teleport_horse to teleport the player's horse to the player's location. |
86 |
| -
|
87 |
| -1.13 |
88 |
| --- Excluded Always Drunk perk from cheat_add_all_perks |
89 |
| --- Added cheat_loc to get player's location on map |
90 |
| --- Fixed cheat_teleport so it actually works |
91 |
| -
|
92 |
| -1.12 |
93 |
| --- Added required "exclude" argument to cheat_add_all_perks to control excluding negative, test, and obsolete perks. |
94 |
| --- Added cheat_teleport |
95 |
| --- Added cheat_phys_hover (F1 key) |
96 |
| --- Added cheat_phys_push (F2 key) |
97 |
| --- Added cheat_phys_sprint (F3 key) |
98 |
| -
|
99 |
| -1.11 |
100 |
| --- Added actionmap with F5 quicksave keybind |
101 |
| -
|
102 |
| -1.10 |
103 |
| --- Added cheat_remove_all_stolen_items |
104 |
| --- Added cheat_own_all_stolen_items |
105 |
| --- Added cheat_repair_all_items |
106 |
| -
|
107 |
| -1.9 |
108 |
| --- Added cheat_reveal_map |
109 |
| --- Fixed cheat_set_bow_reticle |
110 |
| --- Added cheat_get_time, cheat_set_time_speed, cheat_set_time_paused |
111 |
| -
|
112 |
| -1.8 |
113 |
| --- Automatically run cheats when after you load a level. Create file Data\autocheat.txt and put 1 console command per line in the file. |
114 |
| --- cheat_remove_all_buffs - Attempts to remove every buff in the buff database from the player's character. |
115 |
| --- cheat_add_buff_heal - Now restores health, stamina, hunger, and exhuast in addition to bleeding and injuries. |
116 |
| --- cheat_add_buff_immortal - Now calls cheat_add_buff_heal before adding immortal buffs. |
117 |
| --- cheat_remove_all_perks - Attempts to remove every perk in the perk database from the player's character. |
118 |
| --- cheat_add_all_items - Adds all items in the item database to the player inventory which is about 5300 punds of items. Don't worry somehow you can still walk. |
119 |
| --- cheat_add_stat_xp -- Adds XP to the a player's stat like str. |
120 |
| ---]] |
121 |
| - |
122 |
| - |
123 |
| - |
124 |
| --- player.actorStats.flatSpeed |
125 |
| --- player type=table, class=Player, methods=yes metamethods=yes |
126 |
| --- player.player type=table methods=no metamethods=yes |
127 |
| --- player.human type=table methods=no metamethods=yes |
128 |
| --- player.actor type=table methods=no metamethods=yes |
129 |
| --- player.soul tyle=table methods=no metamethods=yes |
130 |
| - |
131 |
| --- XGenAIModule.SendMessageToEntity(player.this.id, 'haste:instruction:tree', "xmlFileName('final/haste/common.xml'), treeName('makePlayerInvisible')") |
132 |
| --- <SendMessageToNPC target="__player" type="instruction:request" values="includeXml('player.xml'), includeTree('dropCarriedBody')" timeType="GameTime" timeoutType="OnProcessed" timeout="-1" answer="" /> |
133 |
| - |
134 |
| - |
135 | 1 | System.LogAlways("@@@@@@@@@ cheat mod main.lua called @@@@@@@@")
|
136 | 2 |
|
137 | 3 | cheat={}
|
138 | 4 | cheat.versionMajor = 1
|
139 |
| -cheat.versionMinor = 29 |
| 5 | +cheat.versionMinor = 30 |
140 | 6 | cheat.isInsideIde = NPC_NAI_x == nil
|
141 | 7 | cheat.devHome = "/home/mikeno/FAST/Projects/Cheat"
|
142 | 8 | cheat.commands = {}
|
|
0 commit comments