Slower walkingspeed?

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
schnipfl
Posts: 6
Joined: Sat Jan 05, 2013 3:35 pm

Slower walkingspeed?

Post by schnipfl »

Is there any way to make the party walk slower?
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Slower walkingspeed?

Post by Komag »

Not that I know of, sorry (other than making someone carry too much weight)
Finished Dungeons - complete mods to play
schnipfl
Posts: 6
Joined: Sat Jan 05, 2013 3:35 pm

Re: Slower walkingspeed?

Post by schnipfl »

It's just.. there is a hall, where torches light themselves, once you enter it.. and if you run through it, it just kills the atmosphere..
Is there maybe some way so I can make the party move 1 step per second, so the player has to watch how the party walks through the hall?
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Re: Slower walkingspeed?

Post by msyblade »

You could clone the party, and add an onMove hook. Point it to a counter with a specific name (like cSlowWalk), and if the counter =0, return false. Then you could have pads going down the hall, and when a player steps on it, it sets the counter to 0 (move return false), and starts a 1 second timer that moves the counter to 1 so the party can move. Essentially the party wont be able to move for 1 second after each step, but it may be incredibly tedious for a player trying to walk, because the keyboard is only responding half the time, so playtest it thouroughly.If you need help with the actual onMove hook implementation, bah, ill paste it below :)

Code: Select all

cloneObject{
   name = "party",
   baseObject = "party",

   onMove = function(self, dir)
      if (cSlowWalk:getValue() == 0) then
         return false
      end
         return true
   end,
	end
}
Okay, place that code at the end of your init.lua and A: Make sure the counter you make is called EXACTLY cSlowWalk, and that there is only one in the dungeon (you can trigger it from any floor). Then tweak the timer for the pace you want to set. Hope you get it working how you want!
Currently conspiring with many modders on the "Legends of the Northern Realms"project.

"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Slower walkingspeed?

Post by Neikun »

The only way I can think of making the party walk more slowly is by adding a whole bunch of light sources to the room and bogging down performance. :lol:

Alternatively you could have a series of invisible secret doors that open really fast and silently, and every step is a pressure plate that opens the door in front of you. The door would need to open just fast enough to delay you a little. Needs tweaking. Try it! :D
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
Sutekh
Posts: 129
Joined: Sun Nov 25, 2012 9:58 am
Location: UK

Re: Slower walkingspeed?

Post by Sutekh »

You could also cover the path with pits and close them at the speed you want the player to move at - moving too fast would result in falling down and having to start again. :twisted:
Post Reply