Just wondering

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
User avatar
LocalFire
Posts: 261
Joined: Thu Feb 21, 2013 1:16 am
Location: Auckland, New Zealand

Re: Just wondering

Post by LocalFire »

Doh! I've used the spider hatching script before so it should of occurred to me here, this works way better (and easier) than what I was doing with scripts and spawners Thanks!
My Dungeons
Paths of the Earth: viewtopic.php?f=14&t=5136
Beneath the Sands: viewtopic.php?f=14&t=5216
Videos: viewtopic.php?f=11&t=5443
User avatar
LocalFire
Posts: 261
Joined: Thu Feb 21, 2013 1:16 am
Location: Auckland, New Zealand

Re: Just wondering

Post by LocalFire »

Is there a way to check which way the party is facing relative to an object? and if so do they have to standing next to it or can they be further away?
My Dungeons
Paths of the Earth: viewtopic.php?f=14&t=5136
Beneath the Sands: viewtopic.php?f=14&t=5216
Videos: viewtopic.php?f=11&t=5443
User avatar
SpiderFighter
Posts: 789
Joined: Thu Apr 12, 2012 4:15 pm

Re: Just wondering

Post by SpiderFighter »

LocalFire wrote:Doh! I've used the spider hatching script before so it should of occurred to me here, this works way better (and easier) than what I was doing with scripts and spawners Thanks!
You're very welcome! Ooh, I've not seen the spider hatching script, but that sounds like a really great idea!! Does it use smaller spiders?
LocalFire wrote:Is there a way to check which way the party is facing relative to an object? and if so do they have to standing next to it or can they be further away?
Ok, I'm hoping no one will use this until after The Hub is released, because it's a great effect that two people (moslty Crisman) worked on for a long time, but it will show you how to spawn an object relative to the direction the party is facing.

Code: Select all

function slenderman()
if party.facing == 0 then
slender:destroy()
spawn("ogre_blockage", party.level, party.x, (party.y+1), party.facing, "slender")
		party:shakeCamera(0.5,.5)
			playSound("wall_sliding_lock")
end
end
In this example, the party is walking away from the spawned statue ("slender") in a northerly direction (y). Since coords increase as you move south, slender appears (y+1) from them each time they move north (if party.facing == 0 then). If they move south, the statue stays where it is.

In this way, you can change the "if party facing ==" to any direction, and you can make the distance away anything you'd like ( party.x, (party.y+8 for example). Does that make sense?

You can see the effect here: Slenderogre
User avatar
LocalFire
Posts: 261
Joined: Thu Feb 21, 2013 1:16 am
Location: Auckland, New Zealand

Re: Just wondering

Post by LocalFire »

Cool, The spider script is from the modding section, posted by AH, it uses the spider, but I figure you could rescale the spider model with the model toolkit; I'll have to try it.

As for the facing thing I was thinking of trying for a weeping angel sort of thing, statue is replaced by a monster if the party is facing away, the monster replaced by a statue when they face it. I think it would make for a good single room, player walks in heading to the far side to collect a key, sees a bunch of harmless statues, but quickly realizes their mistake, then has to figure out how to cross the room and back while keeping all the statues in sight.

Might put it off until I'm better at scripting, still have a long way to go; but if anyone wants to try that would be awesome (if its possible)

And will definitely check out the slenderogre :)

Edit: very cool!
My Dungeons
Paths of the Earth: viewtopic.php?f=14&t=5136
Beneath the Sands: viewtopic.php?f=14&t=5216
Videos: viewtopic.php?f=11&t=5443
User avatar
SpiderFighter
Posts: 789
Joined: Thu Apr 12, 2012 4:15 pm

Re: Just wondering

Post by SpiderFighter »

LocalFire wrote:Cool, The spider script is from the modding section, posted by AH, it uses the spider, but I figure you could rescale the spider model with the model toolkit; I'll have to try it.

As for the facing thing I was thinking of trying for a weeping angel sort of thing, statue is replaced by a monster if the party is facing away, the monster replaced by a statue when they face it. I think it would make for a good single room, player walks in heading to the far side to collect a key, sees a bunch of harmless statues, but quickly realizes their mistake, then has to figure out how to cross the room and back while keeping all the statues in sight.

Might put it off until I'm better at scripting, still have a long way to go; but if anyone wants to try that would be awesome (if its possible)

And will definitely check out the slenderogre :)

Edit: very cool!
That's quite brilliant! Also, creepy. :) I'm assuming you'd use blockers to keep it from attacking when they face away? It certainly sounds possible simply by tweaking the scripts posted above. The hard part would be setting it up so that it's logistically possible to make it across while still facing them (this all reminds me of the ghosts in Super Mario World! :D )

I would LOVE to play that room!!
User avatar
LocalFire
Posts: 261
Joined: Thu Feb 21, 2013 1:16 am
Location: Auckland, New Zealand

Re: Just wondering

Post by LocalFire »

I'll definately try it myself, but I only started to learn how to code mid january, so I'm a novice; still got to aim for the stars

It would be awesome if some experienced modders got onboard and worked on this, I would love to see this come life.

Edit: I was looking at Sutekh's marble gorromorg for this, since they are easily rhe creepiest monster in grimrock

It would make a good puzzle to figure out how to cross the room without them moving on you, maybe setup a plate that resets them back to where they started when you leave the room
My Dungeons
Paths of the Earth: viewtopic.php?f=14&t=5136
Beneath the Sands: viewtopic.php?f=14&t=5216
Videos: viewtopic.php?f=11&t=5443
User avatar
LocalFire
Posts: 261
Joined: Thu Feb 21, 2013 1:16 am
Location: Auckland, New Zealand

Re: Just wondering

Post by LocalFire »

Another Idea I just had was to use that slenderorge script with a wall model instead of an orge (secret door model?), it would be a cool effect, you walk down a hallway and it seals behind you

With some tweaks could set it so the walls of a square room close in on you as you cross the room, I think that would be a cool effect, like those sliding wall death traps in those old movies
My Dungeons
Paths of the Earth: viewtopic.php?f=14&t=5136
Beneath the Sands: viewtopic.php?f=14&t=5216
Videos: viewtopic.php?f=11&t=5443
User avatar
SpiderFighter
Posts: 789
Joined: Thu Apr 12, 2012 4:15 pm

Re: Just wondering

Post by SpiderFighter »

LocalFire wrote:Another Idea I just had was to use that slenderorge script with a wall model instead of an orge (secret door model?), it would be a cool effect, you walk down a hallway and it seals behind you

With some tweaks could set it so the walls of a square room close in on you as you cross the room, I think that would be a cool effect, like those sliding wall death traps in those old movies
Couldn't the same thing be achieved with touchplates and counters?
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Just wondering

Post by Neikun »

This has me thinking of a full square sized double door that closes slowly.
Wouldn't that be cool?
"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
SpiderFighter
Posts: 789
Joined: Thu Apr 12, 2012 4:15 pm

Re: Just wondering

Post by SpiderFighter »

Neikun wrote:This has me thinking of a full square sized double door that closes slowly.
Wouldn't that be cool?
That would be cool...especially if you saw something creeping closer on the other side as it closes. ;)
Post Reply