drewdakilla / mmo-minecraft

Automatically exported from code.google.com/p/mmo-minecraft
0 stars 0 forks source link

[suggestion] Dungeons! #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Auto-generated dungeons with mobs. And dragons :P
I'll be happy to help.
-- K900

Original issue reported on code.google.com by k0009000 on 14 Aug 2011 at 3:10

GoogleCodeExporter commented 9 years ago
Had thought about this a while ago - so many ways to do it ;-)

Dungeon generation is a topic all for itself - I like rogue / nethack style 
dungeons, as well as nice and simple labyrinths...

Just got loads of other plugins to do first ;-)

Original comment by RycochetTM on 14 Aug 2011 at 3:17

GoogleCodeExporter commented 9 years ago
I thought of generating a world for each dungeon and than removing it. Need to 
find if it's possible without going into CB's internals though. Also, +1 for 
nethack. Btw, why do you use gcode and not github? Github seems so great for 
such things.
-- K900

Original comment by k0009000 on 14 Aug 2011 at 3:33

GoogleCodeExporter commented 9 years ago
If there was a decent graphical front-end for git on windows7 then I might - 
but tortoisegit is useless, I develop in Netbeans, and I don' want to go 
learning more command-line stuff... Added to that is that I already use google 
code for other development ;-)

I hadn't considered doing it via generating a world... Can generate a dungeon 
entirely in memory and then paste it into a world easily enough - can even do 
that via WorldEdit - but making it generate random maps at various times within 
a set area might be more fun...

Imagine a server admin specifying an area to be a dungeon - when any players 
first enter it then it is regenerated, if anyone quits then it remembers the 
seed used, and if they reconnect and the seed has changed (ie, a new set of 
players in there) then it sends them back to their spawn...

Could be used as a single one-off generation, or as a changing dungeon (far 
more fun) - limit it to a number of chunks and it'll take over complete control 
of them.

Got to decide if it wants to totally overwrite everything (ie, ignore any caves 
underneath) or if it wants to work around them (let players get into/out of it 
there, or even just protect it so there's only one entrance.

Would need to be protected so people couldn't cheat by digging through, and 
have aggressive mob spawners / areas (being server side it can spawn them at 
will).

Nethack / rogue style dungeons do sound the best - but making use of the 3d 
nature of Minecraft it can have stairs, ladders, pit traps (hrm - mmoTrap 
plugin use maybe? - make trapdoors on specific blocks disappear and cause the 
block underneath disappear too when stepped on... sure that can be improved 
on)...

In fact, can have lots of different traps and mobs in there - all to make it 
more fun ;-)

Got quite a few bookmarks relating to roguelike dungeon generation and the like 
- but having actual generated rooms with decorations and treasure would be 
fun...

Original comment by RycochetTM on 14 Aug 2011 at 4:15

GoogleCodeExporter commented 9 years ago
There's Git Extensions <http://code.google.com/p/gitextensions/downloads/list> 
and NBGit <http://code.google.com/p/nbgit/downloads/list>.
Back on topic: now that Bukkit has them world generators, it's possible to make 
a whole world of dungeons, that are randomly generated **once the players get 
there**. Then we could just spawn players at a random location and let the fun 
begin. That also means no people digging through and caves problems. Traps and 
mobs and stuff can also be there and safe for other people. And when all 
players leave the world it can be erased and regenerated. Also, stuff like 
"WTF? Who's there? LEEEEEEEROOOOOOYYYYY JEEEEEENKIIIINS" and then SUDDENLY 
running into another party can happen %) The only problem is whether Bukkit API 
allows for removing worlds. Though I think Multiverse does that somehow.

Original comment by k0009000 on 14 Aug 2011 at 4:29

GoogleCodeExporter commented 9 years ago
Not sure that you'd want to remove the world - how about listening and reacting 
to chunks being loaded instead - can generate it all that way.

My one issue with that is there being no way to fit it into an already 
generated world...

Creating the dungeons within a set area would work just as well - though it 
could be done per-chunk even in a normal world - just the chunk edges that need 
to handle the join. Having it within a complete set of coordinates would mean 
that different areas could be added.

Being able to choose the dungeon generator would mean that an above-ground maze 
could be made from leaves and and underground labyrinth from cobblestone - or a 
trapped house from brick ;-)

Maybe having it only create in blocks of a certain type would mean it could 
create building contents nicely too... I am rather liking the idea of a thieves 
den filled with traps and chests ;-)

Having an entire world of dungeons would just mean less likely to run into 
other players - but if it was like the monster arena (or even part of one) then 
it would be more likely to be used.

The idea of nethack - get deeper for harder mobs and more reward - works well 
with it too ;-)

Original comment by RycochetTM on 14 Aug 2011 at 4:49

GoogleCodeExporter commented 9 years ago
You could make "portals" to the other world with some sets of blocks. So 
basically you enter the portal and dong - you're somewhere in the dungeon. 
Also, that way you can make an unlimited dungeon with portals in random rooms 
so you can get back without returning to the most beginning. :)

Original comment by k0009000 on 14 Aug 2011 at 5:33

GoogleCodeExporter commented 9 years ago
Portals I want to be separate again - remember the main idea with mmo* is 
keeping each plugin discrete and simple - then linking between them to allow 
greater abilities (or in the case of mmoParty+mmoPet it'll reduce server load 
etc).

Having dungeons in another world so that it's purely dungeons and no actual 
playing would be simple enough (replace the loader somehow, can't be that hard 
lol) - but want that to be secondary - maybe even a plugin that uses the 
standard dungeon plugin's generation code...

The biggest thing is going to be generating the dungeons.

Currently the Minecraft code only makes caves, 1.8 will add ruins, though 
haven't a clue what they'll be like - so this just needs to do something 
different.

Original comment by RycochetTM on 14 Aug 2011 at 6:32