Noclip

Talk about anything Legend of Grimrock 1 related here.
Post Reply
Science
Posts: 2
Joined: Wed Dec 19, 2012 9:10 pm

Noclip

Post by Science »

Hello,

I've been enjoying this game on steam recently but during an unwinnable and inescapable fight against Uggardians, I accidentally hit quicksave instead of quickload.

My other save is 3 hours game time ago :(

I am a dozy bum for not creating proper saves, so i was wondering if there was a command for me to noclip past the baddies to then return to fight them again without replaying 3 hours.

I've read through some forum posts about enabling console and I believe I have done so via My Documents grimrock.cfg.
A console-looking dropdown box does seem to appear when i press the assigned button, but the text within it seems very developer-esque with script commands I have no clue about.

I've also read here that there are developer type hotkeys to Heal Party which would also be very handy, but the commands don't seem to work for me.

Any help would be appreciated!

Merry Christmas.
User avatar
Komag
Posts: 3658
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Noclip

Post by Komag »

the in-game console is a little limited, but if you know some lua scripting you can do a lot. In your situation you may want to teleport to a different location, but without knowing where the coordinates might be tricky.

spawn("teleporter",party.level,party.x,party.y,0,"tele"):setTeleportTarget(15,15,0,party.level)
tele:delete

Those lines will spawn a teleporter at your location, sending you to coordinates 15,15 on the same level, then delete the teleporter. You can experiement with the coordinates. The map starts with 0,0 in the upper left corner, 31,31 in the lower right.
Finished Dungeons - complete mods to play
Science
Posts: 2
Joined: Wed Dec 19, 2012 9:10 pm

Re: Noclip

Post by Science »

thank you very much this helped :)
oxidonis2008
Posts: 3
Joined: Sat Feb 02, 2013 11:26 am

Re: Noclip

Post by oxidonis2008 »

Hi,

I'm a little confused about this teleport console comand and i need help.

With this command i can teleport safely (with little help with this - print(party.x,party.y) ;) )

spawn("teleporter",party.level,party.x,party.y,0,"tele"):setTeleportTarget(15,15,0,party.level)

But i can't delete teleport, when i enter tele:delete it says {string "user-imput"} :1: function arguments expected near '<eof>'

How do you enter command tele:delete?

Thank you
User avatar
thomson
Posts: 337
Joined: Thu Sep 13, 2012 9:55 pm
Location: R'lyeh
Contact:

Re: Noclip

Post by thomson »

Spawning and removing teleport is an old trick, before better API was introduced in 1.3.6. This is much simpler:

Code: Select all

Party:setPosition(x, y, facing, level)
x,y and level is pretty obvious, facing specifies direction the party is facing (0-3).
[MOD] Eye of the Beholder: Waterdeep sewers forum sources; Grimtools (LoG1 -> LoG2 converter) sources
oxidonis2008
Posts: 3
Joined: Sat Feb 02, 2013 11:26 am

Re: Noclip

Post by oxidonis2008 »

Thank you verry much for quick reply, ill give it a try.

EDIT: Hm, it doesn't work.

my command:

Party:setPosition(17, 29, 0, 9)

and it says something like string imput attempt to adress party...

Did i enter command without a quotes or something?

Please help...
User avatar
Xanathar
Posts: 629
Joined: Sun Apr 15, 2012 10:19 am
Location: Torino, Italy
Contact:

Re: Noclip

Post by Xanathar »

party:setPosition

That is, with a lowercase p
Waking Violet (Steam, PS4, PSVita, Switch) : http://www.wakingviolet.com

The Sunset Gate [MOD]: viewtopic.php?f=14&t=5563

My preciousss: http://www.moonsharp.org
Post Reply