Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ Running the server
➜ Setting up new spells, and integrating them?
Setting up new spells, and integrating them?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Firedrak
USA (14 posts) Bio
|
Date
| Mon 26 Mar 2001 05:29 PM (UTC) |
Message
| Seems that most of the sites online are not exactly in depth about how to add a new spell to a list. I've tried to make a spell for a new class, but the spell is either not 'practicable' or is nonexistent. What is the string of code to actually add a spell, save it and integrate it into a new class? I've tried the 'sset create skill (skill name)' but I don't think you can edit it other then just creating it. Perhaps in the online pages I've seen I missed something about a spell creation, editing help? | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Mon 26 Mar 2001 08:45 PM (UTC) |
Message
| New spells could be manually entered into the skills.dat file, or with the Area Editor.
I would look in the "doc" directory of the SMAUG server, and at the two files:
smaugspells.txt and skill.txt
As far as I can see, by using the spell_smaug spell type, you can do practically anything.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Firedrak
USA (14 posts) Bio
|
Date
| Reply #2 on Tue 27 Mar 2001 01:55 PM (UTC) |
Message
| So with the spell_smaug I can make anything happen? Say for example I want a spell that will decrease a mob's, or player's dexterity, what type of flags, or values do I need to make the spell do that? | Top |
|
Posted by
| Firedrak
USA (14 posts) Bio
|
Date
| Reply #3 on Tue 27 Mar 2001 02:00 PM (UTC) |
Message
| Also, since I'm here, I should ask you why the spells I loaded into my new class are not practicable? I have a couple from other classes loaded up to see if it worked, but when I type practice in the game at the specific mob for it the mob, Dormick, says that he's taught me all I he could teach, and the skill/spell is still at 0, not at a higher percentage.
-thanks | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #4 on Tue 27 Mar 2001 02:27 PM (UTC) |
Message
| I am not the world's greatest expert in using SMAUG - I only ported it from Unix to Windows. I suggest reading the "doc" subdirectory contents, and looking at the examples in spells.dat file.
I found a web site with more explanations about the individual flags that go into spells, with examples. See
SMAUG howto |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
17,272 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top