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
➜ Levels/ Promote/Remort Etc?
Levels/ Promote/Remort Etc?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Sparro
USA (12 posts) Bio
|
Date
| Mon 03 May 2004 11:43 PM (UTC) Amended on Mon 03 May 2004 11:46 PM (UTC) by Sparro
|
Message
| Like the last post I made, I am looking for advice on the best way to incorporate some new features.
First, i want to increase the Max nuber of levels (about 35 more). I found how to do that, Cool.
I want a way to promote characters (ala remort? possibly) from their class into another limited class. For instance, When a knight reaches level 60, he may present the right objects to his guildmaster and be promoted either to a Paladin, a Cavalier, or a Terror Knight. He would then continue from that point forward with all the skills he had acquired to that point as a level 61 with the ability to gain new Paladin or Cavalier or TerrorKnight skills/spells until he reaches level 85 which would be the Highest mortal level. Leaving the 15 IMM/IMP levels in place at the top of the scale. So Reg characters play from level 1-60, Promoted characters play from 61-85, and 85+ is Imm range...
From messing around a little, if I just change a player's class, they lose all the skills they had acquired that the new class can't have. I could include all the same skills in the new classes, but would SMAUG leave the amount they had learned, or when the class change occurred would their skills revert to 0.
This is important because I want there to be some overlap for certain classes to come about, i.e warriors or clerics could be promoted to monks, but I want them to retain their initial skills, so the path the player took to get there reflects their classes abilities. |
Ships in bottles can not sail, and neither can a tombstone kill a feather. | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #1 on Tue 04 May 2004 02:55 AM (UTC) |
Message
| To answer your question correctly, one would have to know exactly what these 'promotion classes' mean. What do they do? Add spells, skills? HP/mana/move? Stats? Is it just a title? Does something else change?
Off the top of my head it would seem that making whole new classes is not the right solution. Again though, it depends on what exactly you are trying to accomplish. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Sparro
USA (12 posts) Bio
|
Date
| Reply #2 on Tue 04 May 2004 06:11 AM (UTC) |
Message
| I want these promoted classes to have additional spells & skills not available to any other class, and to receive a small stat improvement in a secondary stat, which would be different depending on the specific class (knights would probably get a +1 wis if promoted to Paladin... etc.) |
Ships in bottles can not sail, and neither can a tombstone kill a feather. | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #3 on Tue 04 May 2004 07:46 AM (UTC) |
Message
| Off the top of my head, then, I would suggest something like the following:
Add an entry to character data that specifies what promotion they have.
For each new skill, in your do_skill function, make sure that the character's promotion is one of the valid paths for this skill. This means that you must implement the new skills as functions and not smaug_spell type skills.
Upon promotion, simply add to the character's base stats.
This sounds like the easiest way to get this done, but not the "right way". But since you're a beginning coder this is probably the best way to do it. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Rash
United Kingdom (56 posts) Bio
|
Date
| Reply #4 on Tue 04 May 2004 05:19 PM (UTC) |
Message
| I suggest you look at my mud's code LROS it's a smaug dir with a semi-working remort code in it. I'm currently working on it still so if you want to look at the code vist the site and download it at http://lros.co.uk or you can connect to the game at lros.co.uk:6060
Anyway that's one way of how you can do it, and remember it's not finished. (I'am planning on releasing it as a snippet shortly once it's all finished, if you want to wait till then.)
Rash | Top |
|
Posted by
| Sparro
USA (12 posts) Bio
|
Date
| Reply #5 on Wed 05 May 2004 07:43 AM (UTC) |
Message
| Cool, I sent you (RASH) an email. Does anyone else already have a working remort snippet I could take a gander at? I am mainly curious about remorting to a level equal to the player's current level, while finding a way to retain their currently learned skills. I am pretty sure Ksilyan's way would work, but am always willing to look for alternative methods... :)
|
Ships in bottles can not sail, and neither can a tombstone kill a feather. | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #6 on Wed 05 May 2004 08:18 AM (UTC) |
Message
| What are you trying to accomplish with the following code:
for ( obj = ch->first_carrying; obj; obj = obj->next )
{
if ( obj->in_obj ) continue;
}
obj_from_char(obj);
(from remort.c) |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Rash
United Kingdom (56 posts) Bio
|
Date
| Reply #7 on Wed 05 May 2004 06:26 PM (UTC) |
Message
| Ksilyan was that question pointed at me?
If so then anything to do with the eq system in remort is in construction. It's not finished yet. This is due to the the new magic and eq system myself and Dedsune (from dyremud.com:2424) are working on. Also if anyone want's they can help we clean the code up and help me work on it? Everyone's welcome to help! (And i WILL credit you unlike others...)
And on the other note: I have replied to your email. It contain's two links to the download. | Top |
|
Posted by
| Txzeenath
USA (54 posts) Bio
|
Date
| Reply #8 on Thu 22 Jul 2004 08:22 PM (UTC) |
Message
| Hmm he's probably trying to take all the equipment from the player, than put it back on them after the remort is complete.. cuz with almost all remorting, they lose their items.. |
Darkness comes along thy path, searching, wanting, calling wrath,
shadows awaken, release the light, one and only.. here to fight,
challenge the darkness, the shadows they call, hunting the living,
more and all. Roaring thunder, full of hate, a single bound, seals
your fate.
-Txzeenath
telnet://divineright.org:8088
Alumuble Arda -
*Player owned shops, clans, and housing
*Multiclass & Stat training
*Random mob name generation implemented and Overland mapping.
*Realistic equipment statistics
*Interactive enviroment(weather/sectors)
*Weapon sheaths(scabbards), Throwing weapons
*Automatic crash recovery, saving, and reporting without disconnecting
*Fully customizeable color, Automapper, "Smart" mobiles, Hiscore tables, and more!
Currently running AGE v1.9.6(Originated and modified from Smaug 1.4a) | 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.
23,979 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top