Party movement speed

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
User avatar
AndakRainor
Posts: 674
Joined: Thu Nov 20, 2014 5:18 pm

Party movement speed

Post by AndakRainor »

Does anyone know how to modify the party's movement speed ? I have seen threads about it but the author has removed his code.
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: Party movement speed

Post by minmay »

The only ways to change the party's actual movement speed, short of modifying the executable/Grimrock2.dat/memory, are to give a champion the encumbered or wounded feet status, or to edit the save game, and these will only give you certain specific speeds.
If you need to move the party extra fast, the PartyComponent:knockback() method could be useful, but it doesn't require the same conditions as normal movement, so naively putting it in the party's onMove hook is not nearly enough.

It is impossible to implement your own party movement that is consistent with the built-in party movement. People claiming that this can be done are either mistaken or lying. You do not have access to the cameraBobbing configuration option, for example.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
Frenchie
Posts: 219
Joined: Wed Oct 16, 2013 2:50 am

Re: Party movement speed

Post by Frenchie »

I haven't tested it but there are 'speed hacks' in certain tools like Cheat Engine. It increases the overall speed of the party, but also of the mobs. At the same time when you have a speedy puzzle or hard boss you slow down the game to improve your performance. If you have a speed puzzle a key press macro with the Logitech G19 programmable keyboard could help out. And if you only want to move to the opposite side of a level you could use setPosition in the console to teleport.

Edit : I just tested the april 2012 version of CE, that needs to be updated, but the speed hack is bugged.
Post Reply