We need access to a level's name and coordinates

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
MrChoke
Posts: 324
Joined: Sat Oct 25, 2014 7:20 pm

We need access to a level's name and coordinates

Post by MrChoke »

Is it just me or this a big hole in what we can get access to for modding. All we have is the have the "map" object and that gives us only two read-only properties, its width and height. This is completely useless to anyone since these values are always 32x32. What we don't get access to is a level's name, and more importantly, its X,Y and Z coordinates in the world. We need access these values. At the very least make them read-only but if they could be changed that would very cool.

Are we going any responses from AH to this or many other burning questions that the modding community has????
User avatar
Doridion
Posts: 256
Joined: Tue Jun 10, 2014 9:23 pm

Re: We need access to a level's name and coordinates

Post by Doridion »

Ahem ... 32x32 maps .... with possibility to "connect" maps between them ( Skuggs video tutorials part 3 ). If you connect by "exits", you can easily have a 256x256 map at the same level. For other levels, you can create them by changing the Z position in the level properties ;) In a same map, you can also "level" by the "Floor" option ( -7 > 0 > +7 .... 15 heights of difference ).

For "read only" conponent, you can define them, you got enough scripts, examples, etc etc in the forum. Try to search what you want in the Superthread, or ask for help in the Q&A thread ;) Got a 40 levels dungeon in actualy in prepare, and i can say to you than it's largely enough for "verticality" and "flexibility".

For AHTeam responses, I think they're little busy by editing the Modding section, and as everybody, you can just wait some days/weeks to have all the section complete. Waiting to download the asset pack too, but not a reason to shout after them :D
MrChoke
Posts: 324
Joined: Sat Oct 25, 2014 7:20 pm

Re: We need access to a level's name and coordinates

Post by MrChoke »

I am aware of all of these things you told me. None of it answers my question. Well, alright, I think you suggested that I can "hard-code" a level's X, Y and Z as global variables in a script. But what if I don't want to hard code them. The game knows a level's X, Y and Z when it runs. Seems like its not asking too much to be able to access that.
Post Reply