Dev Console fun...
Dev Console fun...
Heh, so enabling the dev console and dev mode seems to unlock a lot of stuff. Figured it's worth its own thread. Testing out hotkeys was the first thing I did...
Found that L gives your entire party a level up... and M is evil... very evil.
H uses the crystal of life (minus the autosave, unfortunately :c)
Anyone found some fun things to do with the console besides spawning stuff? (Cuz spawning stuff tends to be boring)
Found that L gives your entire party a level up... and M is evil... very evil.
H uses the crystal of life (minus the autosave, unfortunately :c)
Anyone found some fun things to do with the console besides spawning stuff? (Cuz spawning stuff tends to be boring)
Re: Dev Console fun...
Ooh, I didn't know about those.
I wrote a bunch of helper lua functions to do stuff like level up, train skills, etc., but I hadn't known about keybindings.
I wrote a bunch of helper lua functions to do stuff like level up, train skills, etc., but I hadn't known about keybindings.
Re: Dev Console fun...
I thought there weren't as well, until I accidentally mashed a button.seebs wrote:Ooh, I didn't know about those.
I wrote a bunch of helper lua functions to do stuff like level up, train skills, etc., but I hadn't known about keybindings.
Re: Dev Console fun...
Question, how do you enable the console? I checked the config file and saw nothing there to enable it.
Thanks,
Thanks,
Re: Dev Console fun...
Long story short: Extract Console.lua from the big .dat file (there's tools for this), and modify it. Around 0x7c1 there's a section-symbol which US keyboards mostly lack, change that to something you can type. You may have to modify the "developer" setting to "mouseLook" or "musicMute" in order to have a setting which the config file reader will process. (Two locations.) Also, at 0x50 or so, maxLines is followed by 0x0A, change this to something larger if you want more than ten lines.dark wrote:Question, how do you enable the console? I checked the config file and saw nothing there to enable it.
Thanks,
Re: Dev Console fun...
And then after it's enabled, you can just do config["developer"]=true and then config:apply() to enable dev mode, which allows you to use the hotkeys and stuff like that.
Re: Dev Console fun...
Oooh.
I will update my lua script to do that.
I will update my lua script to do that.
Re: Dev Console fun...
omg. Never again.Patchumz wrote:and M is evil... very evil.
Re: Dev Console fun...
Okay, still exploring this. I am totally sure I accidentally hit something that gave a character a torch, but I haven't been able to recreate it. Not the spawn command, just something that happened while I was messing around for hotkeys. No clue what that was. (I was in the starting room and hadn't taken a torch yet.)
F1-F8 seem to be purely debugging oriented things, F11 is a nice minimap, h heals everyone, l gives levels, m spawns a spider, L teleports you directly down a level and sometimes also gives you a bunch of XP (?).
EDIT: The torch happens if you start a game in developer mode.
And what L does is give you the XP and items from the level you're on, it appears. So you finish level 1 with a bunch of food, some armor, the blue gems, and so on.
F1-F8 seem to be purely debugging oriented things, F11 is a nice minimap, h heals everyone, l gives levels, m spawns a spider, L teleports you directly down a level and sometimes also gives you a bunch of XP (?).
EDIT: The torch happens if you start a game in developer mode.
And what L does is give you the XP and items from the level you're on, it appears. So you finish level 1 with a bunch of food, some armor, the blue gems, and so on.
Re: Dev Console fun...
Ah, nice find with the floor clearing one. After I fairly earn the class I'm probably going to just screw around a bit with stuff like this .
SpoilerShow
Ranger