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 ➜ SMAUG ➜ Running the server ➜ Quests

Quests

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


Posted by Kris   USA  (198 posts)  Bio
Date Fri 06 Apr 2001 04:08 PM (UTC)
Message
I want to make _vampire_ a quest race, but I noticed that, if you change your race after your character is already created, so far as I can tell, you don't get any of the abilities of the new race, except for the name itself. Errummm hmm.... Even on that note I'm not sure really.... Any advice and\or method(s) that I could use? Thanks :)
Top

Posted by Nivek   (15 posts)  Bio
Date Reply #1 on Wed 11 Apr 2001 07:59 PM (UTC)
Message
No you do get all the abilities of that race, but remember race _vampire_ is not really meant to be used yet, as such there are no skills/spells set up for it, etc.....

Hope that helps.
Top

Posted by Kris   USA  (198 posts)  Bio
Date Reply #2 on Wed 11 Apr 2001 09:49 PM (UTC)
Message
I set up a Deity race for us special admins. Things like body weight, height, stats, and junk like that do NOT change when you change someone's race, at least not when you do so by editing the player file. I can always add some special junk to _vampire_ as well (why did they put little "_" thingies around it?). I just want to know a good method of setting up an automated quest (prolly with mud progs or whatever) that can -totally- transform a person into another race. Other muds have similar stuff (at least I know a few good LP muds that do), but I have no idea how to implement something like that in SMAUG. Anybody actually have some suggestions?!
Top

Posted by Nivek   (15 posts)  Bio
Date Reply #3 on Wed 11 Apr 2001 10:51 PM (UTC)
Message
Ahhh, no height and weight is only generated when you create a character specifically in CON_READ_MOTD
in comm.c file, if you can recompile, you could grab the stuff as follows:

ch->perm_str += race_table[ch->race]->str_plus;
ch->perm_int += race_table[ch->race]->int_plus;
ch->perm_wis += race_table[ch->race]->wis_plus;
ch->perm_dex += race_table[ch->race]->dex_plus;
ch->perm_con += race_table[ch->race]->con_plus;
ch->perm_cha += race_table[ch->race]->cha_plus;
ch->affected_by = race_table[ch->race]->affected;
ch->perm_lck += race_table[ch->race]->lck_plus;

ch->armor += race_table[ch->race]->ac_plus;
ch->alignment += race_table[ch->race]->alignment;
ch->attacks = race_table[ch->race]->attacks;
ch->defenses = race_table[ch->race]->defenses;
ch->saving_poison_death = race_table[ch->race]->saving_poison_de
ath;
ch->saving_wand = race_table[ch->race]->saving_wand;
ch->saving_para_petri = race_table[ch->race]->saving_para_petr
i;
ch->saving_breath = race_table[ch->race]->saving_breath;
ch->saving_spell_staff = race_table[ch->race]->saving_spell_sta
ff;
ch->height = number_range(race_table[ch->race]->height *.9, race_tab
le[ch->race]->height *1.1);
ch->weight = number_range(race_table[ch->race]->weight *.9, race_tab
le[ch->race]->weight *1.1);


And stick it in the portions of code that change races.

Your other options is to use the polymorph features
which allows you to totally transform a player, I am
not sure I have anything written up on it yet, and
it might not be able to change height, etc... But I can
easily add it so anything people would like added let me know and I will stick it in the next smaug release.
Top

Posted by Kris   USA  (198 posts)  Bio
Date Reply #4 on Thu 12 Apr 2001 02:39 AM (UTC)
Message
Forgive me, but my ability to work through the SMAUG source code is still rather limited. I can recompile, but I have no idea what that code you mentioned does, let alone where to put it and what to do after that. If you could be more specific, for a newbie such as myself, I would be appreciative. Thanks :)
Top

Posted by Kris   USA  (198 posts)  Bio
Date Reply #5 on Tue 17 Apr 2001 12:36 AM (UTC)
Message
What should I do with the coding you specified Nivek? I want to find a way to make an -automated- quest that someone can do to become a certain race (i.e. dragon, vampire, whatever). I have no idea how that can be accomplished (there has to be a way however, as all the good muds out there have automated race quests like that).
Top

Posted by GenmaC   (22 posts)  Bio
Date Reply #6 on Thu 14 Feb 2002 12:58 AM (UTC)
Message
Go to www.dualtranslations.org/smaug

It sounds like you are looking for a polymorph fix, which is what I did, and I think my instructions are fairly easy to follow, without knowing too much code.

Once you have fixed the polymorph stuff, you can make a mob mpmorph the player...just set the polymorph you are morphing to, to have a timer of -1, and the player can't change back unless you have another mobile to let them do so. (mpunmorph).

Anyway, hope that helps - what I need is some info on setting up a quest system, got anything along those lines?
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.


20,598 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.