Empty space OR wall function missing?

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
BeNNyBiLL
Posts: 40
Joined: Mon Oct 08, 2012 11:00 pm

Empty space OR wall function missing?

Post by BeNNyBiLL »

I'm hitting my head against the wall here. I cannot find a single sensible way to test a tile at (x,y) whether there is space drawn there or whether its just a wall. I can't see it here http://www.grimrock.net/modding/scripting-reference/, so does it exist? I'd expect a function as simple as this to be at the top of said document in the link. Help would be much appreciated!
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Empty space OR wall function missing?

Post by Neikun »

Are you testing visuals?
I'm confused by what exactly you're trying to test.
"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!
BeNNyBiLL
Posts: 40
Joined: Mon Oct 08, 2012 11:00 pm

Re: Empty space OR wall function missing?

Post by BeNNyBiLL »

You know how you paint floor tiles in the editor, I.e create empty space for walking on. I need to be able to test if a coordinate is actual dungeon space is whether it is a void area. Without a test like this I am unable to spawn things safely in the knowladge that it will be in the dungeon and not stuck somewhere impossible between rooms.
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Empty space OR wall function missing?

Post by Neikun »

viewtopic.php?f=14&t=3631
Does this help at all?
"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!
BeNNyBiLL
Posts: 40
Joined: Mon Oct 08, 2012 11:00 pm

Re: Empty space OR wall function missing?

Post by BeNNyBiLL »

As I feared. I was hoping for a sensible approach. Spawning enitites and checking for their existance in tiles is such an ugly way of doing things, although I cannot deny an approach such as that would work. What is the best way to get in contact with the developers about small function additions such as this? I'm going to be making this floor availability check literally hundreds of times on startup, not including how many more times I may want to call this check during runtime of the scripts. Thanks for clarifying this to me anyhow
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Empty space OR wall function missing?

Post by petri »

Added this to my todo list.
User avatar
Blichew
Posts: 157
Joined: Thu Sep 27, 2012 12:39 am

Re: Empty space OR wall function missing?

Post by Blichew »

petri wrote:Added this to my todo list.
Could we see your to-do list by any chance :P ?
BeNNyBiLL
Posts: 40
Joined: Mon Oct 08, 2012 11:00 pm

Re: Empty space OR wall function missing?

Post by BeNNyBiLL »

Excellent petri :). +1 to see the todo list aswell!
User avatar
Kuningas
Posts: 268
Joined: Wed Apr 11, 2012 10:29 pm
Location: Northern Finland

Re: Empty space OR wall function missing?

Post by Kuningas »

BeNNyBiLL wrote:Excellent petri :). +1 to see the todo list aswell!
Nonono, surprise us. : D
BASILEUS
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Empty space OR wall function missing?

Post by petri »

Some things are best kept secret ;)
Post Reply