This is a reference to all the 3d mud tags available to the mud client.
$ System
Used only to tell the mud client the server version:
{$v22}
means server version 22
a Unused
b - Box
Tag for the three types of boxes
message box,
edit box and the
html box
Subtags common for boxes:
t is title of box eg {bv,tHelp topics}
ph height of box eg {bh,h200,w300}
pw width of box
fn font face eg {be,fnCourier New}
fc font color eg {bv,fcblue}
fs font size eg {bv,fs13}
pc panel color eg {bv,pcblue}
sc close box eg {bv,sc}
so open box eg {bv,so}
bv View - message box
Subtag that displays the message box. In SWLPC threed uses query_messagebox to display a message box.
Subtags for message boxes only:
av vertical alignment (avt=top avb=bottom, avc centre) eg {bv,avh}
ah horizontal alignment (ahl=left ahr=right, ahc centre) eg {bv,ahc}
Examples:
Contents of a messagebox is the first line starting with the character b. For example:
{bv,tHelp for topic 'Skills',
bSkills
~~~~~~
Skills are an integral part of a player's development.
}
Displays a message box containing the wording
Skills
~~~~~~
Skills are an integral part of a player's development.
{bv,tTip,pcnavy
bTo move forward press the UP key.
SHIFT to run.
MOUSEWHEEL to see 3rd person.}
Displays a messagebox where the panel is navy blue.
{bv,sc}
Close the box (state close)
{bv,avc,ahc} (avt=top avb=bottom ahl=left ahr=right)
Put box in the centre of the screen. Align vertical centre, align horizontal centre
be Edit - edit box
Subtags for edit boxes only:
ss Edit box has a subject box eg {be,ss}
cs Edit box send command - send after posting data eg {be,cs**}
cc Edit box cancel command - sent if hit cancel eg {be,cc~q}
Examples:
{be,tEnter Bulletin Board Message:\nFirst Line is subject,cs**, cc~q,fnCourier New}
Will send ** send this to mud after message sent to mud
Will send ~q if player presses cancel
Uses Courier new font
{be,tHelp for topic 'Skills',cs**, cc~q
bSkills
~~~~~~
Skills are an integral part of a player's development.
}
As with message box's can fill contents of the edit box. Is the first line starting with 'b'.
{be,tBulletin Board Message,ss}
ss means include a subject edit box
bh Html - html box
URL is always after the 'bh' tags. For example:
Examples:
{bhwww.skinhat.com,tskinhat}
Display the www.skinhat.com website with 'Skinhat' as the caption
{bhwww.skinhat.com,tskinhat,pw350,ph200}
Display the www.skinhat.com website with 'Skinhat' as the caption and width 350 and height 200.
{bhwww.skinhat.com,tskinhat,ws,hs}
Display the www.skinhat.com website with 'Skinhat' as the caption and width is the width of the screen and height is the height of the screen.
Displays lists of buttons that contain commands that are sent to the mud when clicked.
In SWLPC threed uses query_panelcommand to display a caption panel.
Shares many of the subtags of boxes:
t is title of box eg {cwho,tPlayers}
pw width of box {cwho,pw100}
fs font size eg {cwho,fs13}
sc close panel eg {cwho,sc}
so open panel eg {cwho,so}
av vertical alignment (avt=top avb=bottom, avc centre) eg {cwho,avh}
ah horizontal alignment (ahl=left ahr=right, ahc centre) eg {cwho,ahc}
i caption and/or command of button eg {cwho,iJohnny}
c command of button eg {cstore,{iBuy hauberk for 100 coins,cbuy hauberk)}
3 object name of item for panel command
Examples:
{cstore,tTeris the Trader,ahr,avc,pw270,
i**Teris the storeman will buy from you:**,
(iYour chainmail hauberk for 1680 coins,csell chainmail hauberk),
(iYour cuirbolli greaves for 225 coins,csell cuirbolli greaves),
(iYour plate helmet for 750 coins,csell plate helmet),
(iYour apron for 1 coins,csell apron)}
Displays 4 buttons starting with 'Your chainmail hauberk for 1680 coins'. Execute 'sell chainmail hauberk' when clicked. Caption panel is centred and has a width of 270 pixels.
{cwho,iJohnny}
Displays a caption panel with a button called 'Johnny'
{cwho,iJohnny,-}
Removes a button with the caption called 'Johhny'
d Unused
e Unused
f Unused
g Unused
h Unused
i Unused
k Unused
l - Login logout
Stops to a player form logging out only
{lqsYou can't quit yet. You are fighting}
Stop playing from logging out with the message 'You cant quit yet. You are fighting'.
m Unused
n Unused
Related to objects in the mud like a dog.
In SWLPC
threed uses query_object* to give information about an object.
always starts with object name
mud name with eg odog/rufus,+
+ Object has appeared eg {odog,+}
- Object has disappear eg {odog,-}
p Object mud position eg {odog,px200.0y100.1}
pr Object mud position relative to room centre eg {odog,prx0.1}
pp Object mud position (no lerp) eg {odog,ppx200.0y100.1}
a Object actions eg {odog,afart} dog has farted
i Object information eg {odog,ih10} dog has full health
f Object facing direction eg {odog,fn} dog is facing north
k Object commands eg {dog,kstoreman} dog has the storeman object command
h Object scale eg {odog,h2} is twice as big as default
bl Same as '-' but lingers for 20 seconds {odog,bl}
o Object is carrying an object eg {oskinhat,(osword,+)} skinhat wields a sword
Examples:
{oskinhat,bl}
Same as {oskinhat,-} except stays around for 20 seconds. Useful if monster dies and you want the body of the dead monster to hang around for a little while
{oskinhat,(ititle,skinhat the titleless)}
Skinhats title is skinhat the titleless
{oskinhat,ih5}
Skinhats health is 5. Assumes that the string is a single character ie h
{oamon,kinfo}
Amon has object command of kind 'info'
p Unused
q Unused
Related to the room you are in.
Sub tags:
p Room centre eg {rpx200.2y300.2}
e Room exit eg {ren0.3} Northern exit is 0.3 north from room centre
d Room doorway eg {rdn200.2y300.7} Northern doorway is x=200.2 y=300.7
b Room barrier eg {rbn0.3} Player cant walk 0.3 units north past the room centre
s Room sound eg {rscrowd} Room has a crowd sound
l Room light eg {rl9} Room has 9 of of 10 brightness
v Room speed eg {rv2} Players can walk twice as fast as normal in this room
Examples:
{rpx257.00y288.00,ee0.50,sstreet}
Room centre is x=257.00, y=288.00. There is a east exit 0.5 east of the room centre and the room has a street sound.
{rpx375.40y254.80,dnx375.46y255.05,dsx375.85y253.43w0.3}
Room centre has two doorways. One north at x=375.46, y=255.05 and one south at x=375.85,y=253.43. The southern door is 0.3 wide.
s Unused
Related to the time of day.
Sub tags
t Game time eg {tt15:53} time is 3:53PM
d Game date eg {td0486-01-03} date is 3 Jan 486
l Day length eg {tl7200} Day is 7200 seconds long
r Sunrise time eg {tr05:00} Sun rises 5:00AM
s Sunset time eg {ts19:00} Sun sets 7:00PM
Related to you the player. For example that you have coughed. Is similar to the
object 3d tag except rather than another object it is yourself. Many subtags are interchangeable.
In SWLPC threed uses query_you* to give information about yourself.
Subtags:
p Your position eg {upx200.0y100.1}
pr Your position relative to room centre eg {uprx0.1}
pp Your position (no lerp) eg {uppx200.0y100.1}
a action you performed eg {uafart} you have farted
i information about yourself eg {uih10} you have full health
f direction you are facing eg {ufn} you face north
o the object that you are eg {uocitizen3} means your character is 'citizen3'
o( object you are carrying eg {u(osword,+)} you wield a sword
sf special case signifying you are following something.
Examples:
{uihealth,10}
statistic 'health' is 10
{usf}
You are following something. Lets you walk through walls.
{u(osword,-)}
You sheath a sword
{uoarchon}
Means your character is an archon object
v Unused
Specifies the level of clouds, wind, rain and fog.
In SWLPC threed uses query_weather to give weather information
Subtags
c Cloud level eg {wc5} cloud is 5 out of 10 cloud cover
w Wind level eg {ww6} wind is 6 out of 10 in strength
r Rain level eg {wr2} rain is 2 out of 10 in strength
f Fog level eg {wf1} fog is 1 out 10 in strength
x Unused
y Unused
z Unused