Hallucinating Ogres

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
Grimorial
Posts: 13
Joined: Sun Oct 07, 2012 4:18 am

Hallucinating Ogres

Post by Grimorial »

A consumable (Herder Cap, Grim Cap, or Potion) that shakes screen then spawns ogres with 0 attack power, 0 xp, and low health.

I have everything worked out except could someone direct me to how I can spawn creatures not anchored to a spawner? Otherwise I will have to force the party to consume the item prior to leaving room via on use door activation.

I have given this a shot based off some scripts I saw involving summoning spells but it just crashes the editor. :oops:
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Hallucinating Ogres

Post by Neikun »

spawnAt x,y I think
I think you mean ogre hallucinations, as well.
"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!
Grimorial
Posts: 13
Joined: Sun Oct 07, 2012 4:18 am

Re: Hallucinating Ogres

Post by Grimorial »

Neikun wrote:spawnAt x,y I think
I think you mean ogre hallucinations, as well.
I was looking for something relative to the position of the party, not a static position on the level.

Also I thought hallucinating ogres sounded catchy so I opted for it instead despite no ogres would be hallucinating. :D
vorebane
Posts: 41
Joined: Wed Oct 03, 2012 4:31 am

Re: Hallucinating Ogres

Post by vorebane »

I think this should be possible using the coordinates of the party, so 'party.x - 1' and 'party.y-1' should refer to a square directly northwest of the party. If the party's by a wall or corner I suspect this could cause a crash or trapped ogre though. You'd need some way to decide if a square is open dungeon or not and that doesn't seem to be around.

And it's very simple. The party is hallucinating. What they're hallucinating is ogres!

What just occurred to me is a bit of a kludgey hack, but one could use an entitiesAt check at the possible coordinates. If there's entities there, it's probably safe to put a monster there. To make this work excellently, one could put a hidden pressure plate at every square you're willing to have a hallucinated ogre spawn in. Run a for loop looking for any hidden pressure plates and it's very possible Bob will be your uncle!
Grimorial
Posts: 13
Joined: Sun Oct 07, 2012 4:18 am

Re: Hallucinating Ogres

Post by Grimorial »

vorebane wrote:I think this should be possible using the coordinates of the party, so 'party.x - 1' and 'party.y-1' should refer to a square directly northwest of the party. If the party's by a wall or corner I suspect this could cause a crash or trapped ogre though. You'd need some way to decide if a square is open dungeon or not and that doesn't seem to be around.

And it's very simple. The party is hallucinating. What they're hallucinating is ogres!

What just occurred to me is a bit of a kludgey hack, but one could use an entitiesAt check at the possible coordinates. If there's entities there, it's probably safe to put a monster there. To make this work excellently, one could put a hidden pressure plate at every square you're willing to have a hallucinated ogre spawn in. Run a for loop looking for any hidden pressure plates and it's very possible Bob will be your uncle!
Thanks for the suggestions, it sounds like I might just obstruct the party or restrict progression until the consumable is used in the room with the ogre spawner.
Post Reply