quick question about levels

Posted by Matt on Tue 14 Aug 2001 02:34 PM — 4 posts, 16,154 views.

#0
is it at all possible.. to remove levels from smaug

thanx
matt

:)
Australia Forum Administrator #1
I'm not sure what you mean exactly to "remove levels", but I doubt it. Levels are used for all sorts of things:

  • Higher level players are immortals and help control the game
  • Some objects can only be used if you are at a certain level
  • Ditto for spells
  • Your HP and other attributes increase as you go up a level


I suppose it could be done, but it would be a lot of work.
#2
ok.. whats the highest max level you should use... which is safest and aint gonna crash the mud or something
Australia Forum Administrator #3
Do you mean you want a smaller number of levels? I guess you do from your previous question. :)

Looking in the mud.h file I see this:


#define MAX_LEVEL 65

// snip

#define LEVEL_HERO (MAX_LEVEL - 15)
#define LEVEL_IMMORTAL (MAX_LEVEL - 14)
#define LEVEL_SUPREME MAX_LEVEL
#define LEVEL_INFINITE (MAX_LEVEL - 1)
#define LEVEL_ETERNAL (MAX_LEVEL - 2)
#define LEVEL_IMPLEMENTOR (MAX_LEVEL - 3)
#define LEVEL_SUB_IMPLEM (MAX_LEVEL - 4)
#define LEVEL_ASCENDANT (MAX_LEVEL - 5)
#define LEVEL_GREATER (MAX_LEVEL - 6)
#define LEVEL_GOD (MAX_LEVEL - 7)
#define LEVEL_LESSER (MAX_LEVEL - 8)
#define LEVEL_TRUEIMM (MAX_LEVEL - 9)
#define LEVEL_DEMI (MAX_LEVEL - 10)
#define LEVEL_SAVIOR (MAX_LEVEL - 11)
#define LEVEL_CREATOR (MAX_LEVEL - 12)
#define LEVEL_ACOLYTE (MAX_LEVEL - 13)
#define LEVEL_NEOPHYTE (MAX_LEVEL - 14)
#define LEVEL_AVATAR (MAX_LEVEL - 15)


I would presume from this that you would need at least 15 or 16 levels, or players would immediately become immortals, as an immortal is MAX_LEVEL - 14.

So I suppose you could change MAX_LEVEL to 20, recompile, and you would only have 20 levels, most of which are reserved for admins.

However you would also need to go through various area files, and fiddle objects and things like that, as many of them are set to be only useable by players of fairly high levels. A similar remark applies to commands.