Page 11 of 93

Re: Dungeon Editor Progress

Posted: Fri Apr 27, 2012 3:09 pm
by Jack Dandy
Do you think visual "fog" would be adjustable as well? For example, would it be possible to make it so when you're without a torch, it will almost be pitch black?

Re: Dungeon Editor Progress

Posted: Fri Apr 27, 2012 3:11 pm
by petri
Thels wrote:Am I imagining this the correct way: First, in the map editor, I draw a room surrounded with walls and one hallway out. I place a door in the hallway, and a stepping stone in the middle of the room. Then in Lua, I write a code that whenever the party or an object is placed upon the stepping stone, the door opens?
Yep, that's the plan.

As for the rest of your questions, we haven't really planned that far yet. But frankly that level of modding support would require lots of changes to the game engine. Let's first see how the modding community takes off before making any decisions or promises.

Re: Dungeon Editor Progress

Posted: Fri Apr 27, 2012 3:21 pm
by Jack Dandy
That does make sense. I'll leave you to it then :)

Hoping for the best!

Re: Dungeon Editor Progress

Posted: Fri Apr 27, 2012 5:28 pm
by Firing
petri wrote: Done:
- Initial planning
- Script editor
- Design for entity serialization in game readable format
- Integrated dungeon editor into game code base

Work in progress:
- Map view

Todo:
- Clean up global variables in code editor
- New revamped IMGUI
- Entity serialization
- Object inspector
- Load/Save dungeon
- Exporting and packaging all files of an user made dungeon into single file
- Add support for user made dungeons to New Game dialog
Good news

Thank you for all: the great game, the support, the progress info, the editor when it's done, ...
Have a great weekend, guys.

Re: Dungeon Editor Progress

Posted: Fri Apr 27, 2012 5:43 pm
by stillevande
petri wrote:
Thels wrote:Am I imagining this the correct way: First, in the map editor, I draw a room surrounded with walls and one hallway out. I place a door in the hallway, and a stepping stone in the middle of the room. Then in Lua, I write a code that whenever the party or an object is placed upon the stepping stone, the door opens?
Yep, that's the plan.

As for the rest of your questions, we haven't really planned that far yet. But frankly that level of modding support would require lots of changes to the game engine. Let's first see how the modding community takes off before making any decisions or promises.
Oh, you wont have to worry about that. You've filled a void in the gaming community thats been around for close to 20 years. I know Im not the only one that is chomping at the bit to start modding. :)

Re: Dungeon Editor Progress

Posted: Fri Apr 27, 2012 6:01 pm
by HaunterV
justanotherjay wrote:Portal Mod for Grimrock ? :>
There's a section on one of the lower levels that does something along those lines.

Re: Dungeon Editor Progress

Posted: Fri Apr 27, 2012 7:51 pm
by Curunir
I was maybe hoping for a bunch of tags/flags that can be attached / shared by entities.

That is to say, Tag 101 on both a door and a pressure plate, which equals "open door". You just flag both entities with 101 and voila!

I know this example is pretty direct and likely improbable for Grimrock but here's how teleportation works in another famous engine:

Image

What I'm saying is, I was hoping for at least some built-in functionality that doesn't require scripting for basic tasks that could be done through entity anchors.

Re: Dungeon Editor Progress

Posted: Fri Apr 27, 2012 8:32 pm
by DJK
Curunir wrote:I was maybe hoping for a bunch of tags/flags that can be attached / shared by entities.

That is to say, Tag 101 on both a door and a pressure plate, which equals "open door". You just flag both entities with 101 and voila!

I know this example is pretty direct and likely improbable for Grimrock but here's how teleportation works in another famous engine:

Image

What I'm saying is, I was hoping for at least some built-in functionality that doesn't require scripting for basic tasks that could be done through entity anchors.
I agree, basic stuff as linking buttons to doors or pressure plates to doors, teleports to locations, pressure plates to pits etc... could be done with a "trigger-action" gui.. (with just having a "action id" and have two items designated the same id (for example a pressure plate and a door) and then one acts as a trigger (you can define the trigger, for example, only activate on walk over, only activate with item, has to have item on at all times, only once etc etc) and the other as a action (and again you define the action... door open, door close...)

Re: Dungeon Editor Progress

Posted: Sat Apr 28, 2012 12:15 am
by Thels
A Gui would always be more limited than Lua, but at the same time mean more work for the designers. Considering that you probably want different pressure plates to handle differently for different doors, the Gui would feel very limiting.

Really, opening and closing doors by lua code should be pretty easy!

Re: Dungeon Editor Progress

Posted: Sat Apr 28, 2012 1:26 am
by Crashbanito
Thels wrote:Really, opening and closing doors by lua code should be pretty easy!
It appears to be incredibly easy.