[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Running the server
. . -> [Subject]  Quests
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Quests

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


Posted by Kris   USA  (198 posts)  [Biography] 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 :)
[Go to top] top

Posted by Nivek   (15 posts)  [Biography] 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.
[Go to top] top

Posted by Kris   USA  (198 posts)  [Biography] 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?!
[Go to top] top

Posted by Nivek   (15 posts)  [Biography] 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.
[Go to top] top

Posted by Kris   USA  (198 posts)  [Biography] 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 :)
[Go to top] top

Posted by Kris   USA  (198 posts)  [Biography] 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).
[Go to top] top

Posted by GenmaC   (22 posts)  [Biography] 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?
[Go to top] 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.


5,058 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]