Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Yahoo!, Sogou

Members: 0
Guests: 10
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Smaug Snippets » Weapon Snippet
Forum Rules | Mark all | Recent Posts

Weapon Snippet
< Newer Topic :: Older Topic > Problem with Weapon Messages

Pages:<< prev 1 next >>
Post is unread #1 Jan 5, 2005, 3:04 pm
Go to the top of the page
Go to the bottom of the page

IYG_Ryo

GroupMembers
Posts2
JoinedJan 5, 2005

We have just put both of these snippets onto our smaug based mud and are having some problems locating values for the weapons. The helpfile provided by the weapons code gives us new value4 to set what type of weapon you are using. That much I have found fine so far. The rest of the code though does not list anywhere what values are used for the action message of the weapon. I did find that value3 had the following:
Val3 |Attack
0 none
1 slash
2 stab
3 hack
4 crush
5 lash
6 pierce
7 thrust

I have not been able to find how to set the different missile weapons, or the following action messages: whip, claw, pound, hit, blast, grep, bite, suction, bolt, arrow, dart, stone and pea.

Could you please help me out with this thanks.
       
Post is unread #2 Jan 5, 2005, 4:49 pm
Go to the top of the page
Go to the bottom of the page

IYG_Ryo

GroupMembers
Posts2
JoinedJan 5, 2005

I've been looking through the code and i figured out where the message are or should i say how they were edited out and replaced. I still don't understand the missile weapons and how to get those working though. What segments of the new code needs to be edited in order to add new weapon messages? I know you would have to add a new one to the message table with what type of weapon it would be for but what else needs to be added to?
       
Post is unread #3 Jan 6, 2005, 11:07 am
Go to the top of the page
Go to the bottom of the page

Zeno
Sorcerer
GroupMembers
Posts723
JoinedMar 5, 2005

Yeah, I installed the snippet without problems, but I can't seem to see why it never had any documents of the new weapon values...
       
Post is unread #4 Jan 7, 2005, 4:50 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

Sadly this is because documentation has never been a truly high priority for snippets, especially those written by others

One of these days I'll have to hammer something out since the weapon and archery code can drastically alter the way things work and it really does need explaining.
       
Pages:<< prev 1 next >>