Register forum user name Search FAQ

Gammon Forum

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 ➜ Dawn of Time ➜ Configuration ➜ Spells

Spells

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Polarus   Canada  (69 posts)  Bio
Date Tue 17 Dec 2002 02:37 AM (UTC)
Message
I am currently working on a mud that is extremely low magic. Only priests and mystics (augurers, druids, etc) have any magic at all. I was wondering, what is the preferred method to rid my copy of DoT of most spells like 'acid blast' or 'chaos lance'? Should I restrict them in-game, or directly delete them from the code? If from the code, what cpp and header files do they need to come out of?

Thanks

-=Flitting from Project to Project=-
Top

Posted by Meerclar   USA  (733 posts)  Bio
Date Reply #1 on Tue 17 Dec 2002 03:25 AM (UTC)
Message
It's easier to restrict them in game, you could also just as easily rename the existing spells to be more suitable to your game genre. As for removing stuff youll just never use, if all you want gone is the spell name, look in skills.txt for the entries on individual skills and delete any you don't absolutely don't want. The spell_func are defined in magic.cpp and the various magic_xxx.cpp files and their associated headers.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Top

Posted by Polarus   Canada  (69 posts)  Bio
Date Reply #2 on Wed 18 Dec 2002 01:39 AM (UTC)
Message
Ok. Thanks. I will probably just restrict them, though I doubt anyone will use them, as A.U.C. is extremely low magic.

-=Flitting from Project to Project=-
Top

Posted by Polarus   Canada  (69 posts)  Bio
Date Reply #3 on Wed 18 Dec 2002 01:58 AM (UTC)
Message
Is there a preferred mehtod for removing classes from the game? Should I just delete the pertinent info by hand or is there a command to take care of this?

-=Flitting from Project to Project=-
Top

Posted by Meerclar   USA  (733 posts)  Bio
Date Reply #4 on Wed 18 Dec 2002 06:17 PM (UTC)
Message
Classes can be handled much the same as spells. If it has no races with a non 0 xp value it will never be creation selectable. Im fairly certain there is a text file with the info that they can be deleted from but to be perfectly honest, I've never really looked for it.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Top

Posted by Kalahn   United Kingdom  (138 posts)  Bio
Date Reply #5 on Fri 20 Dec 2002 11:18 PM (UTC)
Message
Easiest way to remove is class, it just to disable it by setting the xp for each class to 0 as mentioned.

Removing the class manually can be a little tricky as the class name is cross referenced in a number of places - e.g. skill ratings for the class with the class name are stored in skills.txt - the stuff you configure with the class command ("help -class")

Personally I would just disable or rename using a search and replace over the files in the system and data directory. This is assuming you don't have anyone who has created with the class... you can find that out using laston - e.g. "laston -class=mage -a"

- Kal


Kalahn
Developer of the Dawn of Time codebase
http://www.dawnoftime.org/
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.


26,524 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.