fuqueoff@yahoo.com wrote: ↑Mon Jan 27, 2025 5:41 pm
So I was able to run the cheat table on the PC this morning and most of your table worked for me (at least the ones I wanted). Plus a few extras I enjoyed, the only ones that I had trouble with were the thieves tools and camp supplies but that wasn't a big deal.
Yeah... I saw it was double dashed after sharing. But thank you for pointing it out. You can go into that codes
<script> and remove the double dashes in front of the trap disarm toolkits. That should fix your problem. I originally built my table for my brother and me during campaigns and sandboxing over months of trial and error. There are likely more artifacts like that so feel free to bring it to my attention and I'll address it in the next release. After a bit of familiarization, we both saw the benefit getting into the
<script> side of codes to change values instead of having a stack of 10 codes of the same mechanism. A little harder on newbies who don't yet understand (or just don't care) to look under the hood. I get it. And that's why I'm open to answering questions about my table or codes in general.
The XP stuff is a great example. I like having all the handles for things to ensure the best code for the situation. So, in the case of XP, do we really need a 100-10000XP gradient? I find it easier to make the most useful boost with the raw material you could modify to fit your specific need and get back to enjoying the game.
-----------------------------------------------------------------------------------------
ExecuteCall adding an integer value (1000 in this case) of XP:
Code: Select all
{$lua}
if syntaxcheck then return end
---------------------------------------
--0 parameter: character (string)
--1 parameter: gain (integer)
---------------------------------------
character = GetHostCharacter()
---------------------------------------
SetArgToString(0,character)
SetArgToInteger(1,1000)
[ENABLE]
ExecuteCall("AddExplorationExperience")
[DISABLE]
-----------------------------------------------------------------------------------------
Flag level up in a single click:
Code: Select all
{$lua}
if syntaxcheck then return end
local uuid = "77e836a8-c9f3-dee9-b03e-59b60e42be0b" -- Debug_LevelUpHack_
[ENABLE]
SetFlagOnPlayer(uuid)
[DISABLE]
-----------------------------------------------------------------------------------------
Even easier to just tell the game what level you want and have it fill in the XP. Level 6:
Code: Select all
{$lua}
if syntaxcheck then return end
---------------------------------------
--0 parameter: object (GUIDSTRING)
--1 parameter: level (integer)
---------------------------------------
object = GetHostCharacter()
---------------------------------------
SetArgToString(0,object)
SetArgToInteger(1,6)
[ENABLE]
ExecuteCall("SetLevel")
[DISABLE]