Showing posts with label RPG. Show all posts
Showing posts with label RPG. Show all posts

Thursday, December 16, 2010

Wand-er

For my RPG plugin, I've veered off slightly, first making a "magic wand" interface.

The commands to use the plugin are:

/wand bind <command> : "Enchants" your wand (stick) with a spell (command)
/wand unbind <command> : Remove a spell from your wand
/wand list : List all spells bound to your wand

You control your wand with the mouse:

left-click: Cast the currently active wand spell
right-click: Cycle through enchanted spells

So far, it's been a lot of fun to use.

My ultimate goal is to have this tie into a "spell" system, which will be a framework for spell names, costs, and requirements.

I also think it would be nice to restrict enchanting the spell to a workbench or some other specialty block- so you can't add new spells to your wand on the fly.

I'm currently thinking it would be great if each spell could be associated with a specific object. Then, to bind your wand to a spell, you would place the wand and that object in your workbench.

These are all loose ideas, of course. Currently I'm just having fun blinking around and then boom'ing up the world like some kind of insane evil wizard.

Wednesday, December 15, 2010

RPG Mod Started!

After a good bit of thinking and research, I dove into code today and got my first "plugin" written!

This plugin is eventually meant to be a general framework for turning Minecraft into an RPG-style game.

This will include a class system, experience points, and some sort of "magic points" for ability use.

Right now, the first thing I wanted to play with was creating a magic wand. It was super easy!

My first try, I hooked up the "boom" spell from the really-fun "MagicSpells" plugin. Basically, I made it so that whenever you swing a stick (your wand), it casts "boom" at whatever you're aiming at.

Wow, it was fun! But, oh-so dangerous. And I'm still not convinced that "boom" behaves well with Cuboid permissions- something I'd need to fix before I let any dark wizards loose on my server...

Anyway, I quickly changed the wand to cast "blink" instead, making it a super handy teleport tool.

I'm considering how best to approach this- obviously I want different spells to be assignable to a wand- but I could also use a unique item for each spell, reservering wand for the assignable one. Not sure. In any case, I can already tell I'm going to have a lot of fun with this.