View Single Post
Old 09-24-2008, 10:23 PM   #2
ShadowsDawn
Member
 
Join Date: Apr 2008
Home MUD: New Worlds: Ateraan
Home MUD: Threshold RPG
Posts: 47
ShadowsDawn is on a distinguished road
Re: C++, and Python or Pike -- looking for something new

You should check out NakedMUD. While the Core is in C, almost all of it has been opened up to the Python that it uses for scripting and subsequent programming. The codebase is theoretically at a point where you do not have to touch the C driver at all. You may have to touch it for a few things here and there, or for things that are not good for interpreted languages like Python, but for the most part you can build the entire game sole using Python. Honestly, you could go so far as to not code anything outside of the game, instead building your game solely through in game building/scripting. Might not be the best idea, but it is possible.

NakedMUD is also bare bones more or less. It has OLC, some standard Imm commands, and room based movement. The way it handles 'vnums' is very handy. Essentially you have URLs for rooms/mobs/objects/triggers. Meaning you name a Zone. Then you make a creature within that zone or room.. or whatever. You then reference it with name@zonename. It also support Inheritance for rooms/onjects/mobs. Meaning say all your various goblins have certain characteristics that are common. Simply build a generic goblin prototype, add what you want to it. the when you go to make goblin2.0 you can tell it to inherit data from goblin. You then can modify goblin2.0 from goblin by simply inputting new details, and leave the ones blank that are inherited or something.. in this manner you can ensure all your goblins have they unique goblin abilities. Course that is only an example.

NakedMUD can be found here:



ShadowsDawn is offline   Reply With Quote