Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > Advanced MUD Concepts
Click here to Register

Reply
 
Thread Tools
Old 06-28-2003, 06:50 PM   #1
karlan
Member
 
Join Date: Apr 2002
Location: Brisbane Australia
Posts: 74
karlan is on a distinguished road
Arrow

Possibly something that could be done in the coders forum, but...

I was looking at equipment and was considering ways of doing objects that cover multiple positions (for CircleMUD, but the concept is codebase independant, unless thtere is somehow a codebase that doesn't support ANY equipment) From what I have seen alot of codebases say a helmet is worn on the head, but given the follwing positions.
ON_HEAD
OVER_FACE
NAPE

there are helmets that can be full faced ON_HEAD && OVER_FACE, and Full helmets that cover the face, and protect the back of the neck (should also have appropriate penalties) ON_HEAD && OVER_FACE && NAPE. Similar situations exist for HANDS, WRISTS, FOREARMS, ARMS and FEET, ANKLE, LOWER_LEG, LEG.

One simple way of doing this is to add in the appropriate extra positions (FACE_HEAD, FACE_HEAD_NAPE, HAND_FOREARM and so on), and checks... [code] if ((wear_pos == FACE_HEAD_NAPE) && (IS_WEARING(ch, ON_HEAD) || IS_WEARING(ch, OVER_FACE) || IS_WEARING(ch, NAPE))
{
  .... // Can't wear it, sorry
}[/quote]
But it uses up wear positions quickly, Ok, so you could do away with the bitvector (use a type with size = 8 bytes) as a means of storing where an object MAY be worn, but linked lists suck, and bitwise operations are very fast in hardware.

From there I got thinking about dependant positions (although these are much, much more simple), picture a military banner worn strapped to the armour (Incan warrior style), you could have a BANNER and BANNER_POLE position, with BANNER requiring, an appropraite object in BANNER_POLE which requires an appropraite object in BODY, or BACK, and if on BODY, nothing should be worn ABOUT_BODY - a cloak would really annoy.

Then I got onto the strand of race specific positions, you could have a race that has wings, or a race with no eyes, or a race without fingers.......

SO, I posted this as a way of seeing how others have/would deal with situations like the above ones.
karlan is offline   Reply With Quote
Old 06-28-2003, 10:50 PM   #2
Valg
Senior Member
 
Valg's Avatar
 
Join Date: Apr 2002
Home MUD: Carrion Fields
Posts: 643
Valg will become famous soon enough
We've had success with our forays into this field.  Head/face/ears and objects that cover 1, 2, or 3 of these is one example, but our less human races can also find things that fit over forepaws, on their tail, over their wings, etc.  Some of these objects have use for humans (depending on the design, something might fit on feet and hindpaws, or only one), and some don't (horns).

We've used it for variety, for reminding non-human characters of their non-human-ness, and for keeping our races from "blending together", style-wise.

A lot of places tout that they have 4376 races defined.  Our design aim on projects like this is to help make each of our (medium-sized) set a new play experience, rather than shoot for sheer quantity.
Valg is offline   Reply With Quote
Old 06-29-2003, 11:15 AM   #3
OnyxFlame
Member
 
Join Date: Aug 2002
Posts: 153
OnyxFlame is on a distinguished road
Post

DM doesn't have extremely differentiated wear positions like you're talking about, but it does have a bit of complexity of its own.

- Wear positions are just simple head/body/left-right arm/left-right leg, however some races have tails or trunks, or different amounts of arms to equip stuff on.
- Some items can't be worn over other items, you hafta put them on first.
- Some items (such as underwear) can't be seen through items worn outside them. (The goal is to have all logical worn items work this way, I believe.)
- Special items exist to wear on tails or trunks, and you have to have the respective body part in order to wear them.
- Some items cover multiple body parts, i.e. certain types of armor.
- And of course size issues. A gnome can't wear armor designed for an ogre. In fact a gnome probably couldn't LIFT armor, even if it was gnome-sized.
- Some hand equipment (cestus for instance) conflicts with using a sword in that hand, making the sword less effective.
OnyxFlame is offline   Reply With Quote
Reply


Thread Tools


Complex wear positions - Similar Threads
Thread Thread Starter Forum Replies Last Post
Achaea is a complex game lovechiefs Advertising for Players 8 04-04-2006 04:24 PM
Achaea is a complex game lovechiefs Advertising for Staff 1 04-02-2006 06:42 PM
Many God Positions Available annelise Advertising for Staff 0 01-20-2006 10:51 AM
Any muds with complex combat and no grind? Slanted Advertising for Players 8 07-22-2005 04:57 PM
Wear location Verboden Faction MUD Coding 2 01-27-2003 11:31 AM

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 03:53 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2022