Server Level Cap?

A place where you can talk about anything Dawn of Light or DAOC related

Moderators: Project Admin, Support Team

Server Level Cap?

Postby Rfraley21 » Thu Apr 17, 2014 4:08 am

Is it possible, rather i'm sure it is, to add a server level cap? Meaning if I wanted the cap to be level 25 instead of level 50 is this possible to do within a script somewhere I have been wrecking my brain over this for several days any help in the right direction would be appreciated.
Rfraley21
DOL Guest
 
Posts: 4
Joined: Thu Feb 13, 2014 9:50 am

Re: Server Level Cap?

Postby Leodagan » Thu Apr 17, 2014 5:04 am

I think this would need a custom "GamePlayer" Class

something like
Code: Select all
public class GamePlayerMaxLevel25 : GamePlayer { public override MaxLevel { get { return 25; } } [...]Override constructors[...] }
Then there is a ServerProperty for default GamePlayer Class
Code: Select all
/// <summary> /// What class should the server use for players /// </summary> [ServerProperty("system", "player_class", "What class should the server use for players", "DOL.GS.GamePlayer")] public static string PLAYER_CLASS;
You can edit this from database...
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon

Re: Server Level Cap?

Postby Rfraley21 » Thu Apr 17, 2014 6:54 am

Thank you for the help I appreciate it I will give this a shot :)
Rfraley21
DOL Guest
 
Posts: 4
Joined: Thu Feb 13, 2014 9:50 am


Return to “%s” General

Who is online

Users browsing this forum: No registered users and 1 guest