Quests

Posted by Kris on Fri 06 Apr 2001 04:08 PM — 7 posts, 27,453 views.

USA #0
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 :)
#1
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.
USA #2
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?!
#3
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.
USA #4
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 :)
USA #5
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).
#6
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?