targeting 2nd mob and controlled teleport

Posted by BrigandKing on Wed 30 Apr 2008 11:01 PM — 4 posts, 19,200 views.

#0
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.


USA #1
#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.
#2
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...
USA #3
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. ;)