Talos Mud Development Blog

One mans quest to blog about Mud Development

Archive for the ‘Development’ Category

GateWay Event: Search for the Jade Monkey

leave a comment »

Players on a game I admin, GateWay have asked that I run some events on a timed schedule to give them something to do and to encourage other players to log in at the same time.  So being the only active admin on the game and only having access to the world directory for the Orient Domain, I’ve decided to run an Event I will call: Search for the Jade Monkey.

I’ve experience in running table top games.  Long wild campaigns that span hours at a time and years in length.  But all the tools are at my finger tips (Dice, paper, and pencil), and planning amounts to little more then wild thoughts, and a notebook (or 10).  But the amount of depth that has gone into the development of my areas, and Holiday Parties on the game are not something that bodes well for this event.  The game is so ancient and lacking in tools to facilitate roleplaying that I have to do more pre-planning and code development.

I’ve also had lots of experience reading my players and knowing how to guide them and anticipate where they are going with the story.  I don’t know the playing style of these new players and am not sure how well they will follow the scripted storyline or where I need them to go. I am anxious about it.


Written by Troy

February 22, 2010 at 9:55 pm

Posted in Development

Tagged with ,

Physical.c (cont…)

leave a comment »

Okay so so far here’s the prototypes’s for physical.c, I won’t go into the code but a listing of the calls is a good thing too:

int SetEyeColor(string color);
int SetOrigHairColor(string color);
int SetHairColor(string color);
int SetOrigBuild(int build);
int SetHeight(int height);
int SetWeight(int weight);
int IncreaseHeight(int height);
int DecreaseHeight(int height);
int IncreaseWeight(int weight);
int DecreaseWeight(int weight);
string GetEyeColor();
string GetHairColor();
string GetOrigHairColor();
int GetHeight();
int GetWeight();
string GetDescBuild(int build);
string GetDescOrigBuild(int build);

Written by Troy

February 6, 2010 at 8:38 am

Character Physical Stats

leave a comment »

I’ve put aside the Weather System for a couple of days as I try to figure out all the intricacies in actually displaying the information. And Have begun working on physical.c which will be included in base.c (maybe player.c, I’ll have to check the inheritance tree!). My aim here is to allow players and wizards to set the ht, wt, hair color, build, eye color, and other physical non-combat/skill related stats that I want available.

I’ve built it specifically so that we can open up such fun things as food having nutirional values so that you can get fat or thin, you can have potions or magic that increases or decreases your size, areas that only allow certain heights to walk through with out being hampered. You will also be able to dye your hair, or shave your hair, etc….

I have hardcoded some intial ht/wt limits which won’t let a certain race start off as beyond a certain range, but I’ll have to take a look at the RACES_D and see if I can integrate it there, but that would make it a compat busters, and I was the one who hacked the 2.1.13r RACES_D for Craty and busted everyones compat, but made it much more dynamic.

Of course with the physical descriptions set up we get a step closer to having dynamic Descriptions for our players and npc’s.

Written by Troy

February 5, 2010 at 8:43 am

Weather System

leave a comment »

I’ve often come back to making a weather system because I really believe that a highly integrated well developed weather system adds a huge amount of immersion in the game, and really helps set the ‘mood’ of the game.

So in 2.1.18 of DS I rewrote the SEASON_D and added rain and wind, but it was just there. So I’ve spent the last day or two breaking down the system and really taking an indepth look at the way that the system works. I decided to break it out a little more and develop independent Daemons for each part of the whole.

PERCIPITATION_D obviously controls all of the Percipitation and the transitions between each stage. But it does not determine what is being Percipitated. It simply says we need to percipitate.

WIND_D, can’t get much simpler then this little Daemon. How strongly is the wind blowing and what direction is the wind blowing in. Since we’ve broken this out it can be used for a lot of other things! Like a Hot Air Balloon which is blown about by the wind!

TEMPERATURE_D simply just tracks the temp according to the day and season.

Written by Troy

January 19, 2010 at 10:09 pm

SEASON_D Changes

leave a comment »

Well I am still converting my old 2.1.18 code to 3.0 and had to start hacking on the SEASONS_D

I’ve added the following time Sections: Evening, Afternoon and I had to put the weather changes aside until I have more time.  To fix an issue that I had with one of my NPC’s I had to add some sefuns:

int query_noon()  { return (SEASONS_D->GetTimeOfDay() == “noon”); }
int query_afternoon(){return (SEASONS_D->GetTimeOfDay() == “afternoon”); }
int query_evening() { return (SEASONS_D->GetTimeOfDay() == “evening”); }
int query_dawn()   { return (SEASONS_D->GetTimeOfDay() == “dawn”); }
int query_morning() { return (SEASONS_D->GetTimeOfDay() == “morning”); }
int query_twilight(){ return (SEASONS_D->GetTimeOfDay() == “twilight”); }
int query_night()  { return (SEASONS_D->GetTimeOfDay() == “night”); }
int query_midnight(){ return (SEASONS_D->GetTimeOfDay() == “midnight”) ; }

Written by Troy

January 18, 2010 at 8:55 am


leave a comment »

So streets are going to be the cornerstone of the urban setting of TalosMUD. Each Street is going to dynamically create the description of the ‘room’ based upon the street type, the buildings contained there. So Right Now we are adding the following functionality to the street_room.c:
void SetStreetName(string StreetName);
void SetStreetLights(int i);
void SetStreetWidth(int i);
void SetRoadType(int i);
void SetGuardRotation(int TimeInterval);
string GetStreetName();
int GetStreetLights();
int GetStreetWidth();
int GetRoadType();
int GetGuardRotation();

int DetermineWealth();
void AddBuilding(string Direction, string BuildingFileName);
void EstablishExits();
void GenerateDescription();
void EstablishLongs();

While we are on the topic of streets it is relevant to talk about what buildings are going to be. They are virtual constructs that will be the lifeblood of the city. The street will call the buildings to determine the descriptions and the longs of the ‘room’

Written by Troy

January 17, 2010 at 4:01 pm