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
➜ SMAUG coding
➜ targeting 2nd mob and controlled teleport
|
targeting 2nd mob and controlled teleport
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| BrigandKing
(23 posts) Bio
|
| Date
| Wed 30 Apr 2008 11:01 PM (UTC) |
| Message
| Just looking for a few suggestions on where to look since I'm pressed for time at the moment. About to go in for tests, so no time to research into the code tonight.
1. Would it be possible to remove that "." when targeting the 2nd,3rd,4th mob, npc, object whatever. Not that it's a big deal but 2.orc seems extraneous when I've seen several "pay" muds that allow you to just type "kill 2 orc" or "kill 2nd orc". Seems to me would be more natural to the players. Just wondering how ingrained in the code it is and if I would break it if touched. Or would it be easier to use aliases?
2. Would like to set teleport so that a mage controls where he lands. Like allow the mage to memorize certain rooms and later choose what room he would like to go to. To limit this was thinking of only 3-5 memory slots available to the mage to teleport to. Now would this be just something I can add to Char data? Maybe make it dependent on Int. how many rooms they can memorize.
| | Top |
|
| Posted by
| David Haley
USA (3,881 posts) Bio
|
| Date
| Reply #1 on Thu 01 May 2008 04:48 AM (UTC) |
| Message
| #1: certainly possible, but will involve changing the parser. How easy that is depends really on how comfortable you are with C string handling.
#2: this sounds pretty easy, just save a list of five locations in the character's pcdata. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | | Top |
|
| Posted by
| BrigandKing
(23 posts) Bio
|
| Date
| Reply #2 on Thu 01 May 2008 11:51 PM (UTC) |
| Message
| Thanks for the response, tackling the teleport first. But, while talking to an Imm I thought of something that I remember seeing before somewhere but my searches in the forums haven't brought it up.
I believe the limit on races and classes is 20? or it was way back in 1.4a Is there a way to change this for subclassing? Because Mages can be broken down to at least 4 if you go elemental. Yes I played a lot of D&D and always played the subclasses. Thief->Burglar Mage->Illusionist Fighter->Cavaliers.
I thought I saw a dual class snippet where they just added an extra class tree instead of increasing the set limit. Would that be an easier way to go?
I need to make a signature... | | Top |
|
| Posted by
| Conner
USA (381 posts) Bio
|
| Date
| Reply #3 on Fri 02 May 2008 09:34 PM (UTC) |
| Message
| Nope, the limit on races/classes (separate limits for each) are set in mud.h not stone. ;)
There is a dual class "snippet" out there somewhere, but the one I've seen is more of a guide on how you'd go about it rather than an actual snippet, so it's probably not the easier way to go, but that seems a matter of personal preference more than anything else to me.
Nah, you don't need to make a signature, they're slightly over-rated anyway. ;) |
-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.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.
18,305 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top