pryans / kcd-cheat

KCD Cheat Mod
https://www.nexusmods.com/kingdomcomedeliverance/mods/106
20 stars 13 forks source link

Added cheat_teleport_to to cheat_core_player.lua #4

Closed pingpongmury closed 5 years ago

pingpongmury commented 5 years ago

Added cheat_teleport_to function that allows teleporting directly to named places. I'm not all that familiar with lua, so if there's a better way of creating and referencing the table of places - or anything else for that matter, feel free to change it.

pryans commented 5 years ago

Let me know if this is ready to be merged and I'll push it out with release 1.31. Thanks.

pingpongmury commented 5 years ago

It should be good to go. If there's any formatting you'd like to change - you're welcome to. I tried to follow your format as closely as I could. I couldn't find anywhere else in the documentation where commands are referenced to add cheat_teleport_to, if there is somewhere I missed - let me know.

All locations work without any ground clipping or collisions with objects in-game. If there's any other locations you or other users on Nexus would like added/changed it's pretty simple to do so with your cheat_loc command and testing with cheat_teleport.

The only issue I have come across with teleporting is that the water in troughs is no longer loaded after teleporting, and you cannot interact with them to wash your character.

Aside from that, I appreciate your taking interest in my addition! Thanks.