[Video] Moving "wall" blocks

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
User avatar
JKos
Posts: 464
Joined: Wed Sep 12, 2012 10:03 pm
Location: Finland
Contact:

[Video] Moving "wall" blocks

Post by JKos »

I wanted to show this in advance before I release my dungeon, because I think it's pretty cool and to bring some activity on forums.
https://drive.google.com/file/d/0B7cR7s ... view?pli=1

Take a note that sounds are following the blocks too :) Anyone want to guess how I made this?
- LoG Framework 2http://sites.google.com/site/jkoslog2 Define hooks in runtime by entity.name or entity.id + multiple hooks support.
- cloneObject viewtopic.php?f=22&t=8450
User avatar
Xanathar
Posts: 629
Joined: Sun Apr 15, 2012 10:19 am
Location: Torino, Italy
Contact:

Re: [Video] Moving "wall" blocks

Post by Xanathar »

SpoilerShow
Is it a monster ?

That could be an easy way to have the movement effect, but you'd have to "fight the AI" big time.
Wow, very cool effect!
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
User avatar
Eleven Warrior
Posts: 752
Joined: Thu Apr 18, 2013 2:32 pm
Location: Australia

Re: [Video] Moving "wall" blocks

Post by Eleven Warrior »

Whoaaaaaaaaaaaaaaa That is Awsesomeeeeeeeeeeeeeeee how????????????????

How did you do that Jkos??????????????????????
User avatar
JKos
Posts: 464
Joined: Wed Sep 12, 2012 10:03 pm
Location: Finland
Contact:

Re: [Video] Moving "wall" blocks

Post by JKos »

No, It's not a monster, I think that someone made a similar rolling boulder effect a long time ago. Haven't looked the sources but I guess it's the same idea. So this is nothing new actually.
SpoilerShow
Static block is just a blocker-object and moving block is a projectile(I have 4 of these pointing at different directions so the projectile can have the same facing as the static block). And I also have a party.onMove hook which prevents the party collide with block...etc. I made a smaller block too, which can move through doors. This way it's possible to make any static object moveable, or even pushable.
- LoG Framework 2http://sites.google.com/site/jkoslog2 Define hooks in runtime by entity.name or entity.id + multiple hooks support.
- cloneObject viewtopic.php?f=22&t=8450
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: [Video] Moving "wall" blocks

Post by Komag »

Ha! very cool! :D
Finished Dungeons - complete mods to play
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: [Video] Moving "wall" blocks

Post by petri »

Very impressive hack! Any gotchas?
User avatar
JKos
Posts: 464
Joined: Wed Sep 12, 2012 10:03 pm
Location: Finland
Contact:

Re: [Video] Moving "wall" blocks

Post by JKos »

Thanks, all of you. One small gotcha is that if a monster and a block is moving to the same tile at the same time, the monster will go right through of the block and the block will stop. But I think that it can be fixed so that the monster is killed and the block is respawned.
Same goes with party of course, but in current implementation the whole party is killed if it's hit by a moving block.
- LoG Framework 2http://sites.google.com/site/jkoslog2 Define hooks in runtime by entity.name or entity.id + multiple hooks support.
- cloneObject viewtopic.php?f=22&t=8450
User avatar
Mutman
Posts: 73
Joined: Sun Apr 08, 2012 9:57 pm
Location: Krupka, Czech Republic

Re: [Video] Moving "wall" blocks

Post by Mutman »

Amazing, great job! This makes na excellent use for traps! :)
Runebooks: http://www.nexusmods.com/legendofgrimrock2/mods/13/? for Legend of Grimrock 2
Runebooks and books: http://grimrock.nexusmods.com/mods/217/ for Legend of Grimrock 1
survival
Posts: 38
Joined: Fri Apr 04, 2014 9:59 pm

Re: [Video] Moving "wall" blocks

Post by survival »

Awesome - its great to use it just like Indiana Jones dungeons . Its absolutely amazing !!
User avatar
JKos
Posts: 464
Joined: Wed Sep 12, 2012 10:03 pm
Location: Finland
Contact:

Re: [Video] Moving "wall" blocks

Post by JKos »

I made another video with a dragon statue which demonstrates the interaction with doors. And I'm going to release this with the new version of my framework, and as a teaser: making a object moveable is easy as this:
fw_makeMoveable('dragon_statue',"assets/models/env/dragon_statue.fbx")
Then you can just place a dragon statue in your dungeon and you can move it by calling moveobj.move(dragon_statue_id,dir)

https://drive.google.com/file/d/0B7cR7s ... Wc/preview
- LoG Framework 2http://sites.google.com/site/jkoslog2 Define hooks in runtime by entity.name or entity.id + multiple hooks support.
- cloneObject viewtopic.php?f=22&t=8450
Post Reply