![]() |
[Feature] Custom Experience - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51) +----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44) +------ Forum: Tutorials (https://mirage-engine.uk/forums/forumdisplay.php?fid=13) +------ Thread: [Feature] Custom Experience (/showthread.php?tid=2996) |
[Feature] Custom Experience - JokeofWeek - 31-07-2009 Custom Experience Values Difficulty: 1/5 - This is a fairly easy tutorial, and is entirely Copy and Paste! Alright, so there used to be a tutorial for this on the old forums, but I beleive it is gone, so I decided to write my own. What this does is let's you set the experience required for every level. Alright so first things first, create a file called experience.ini and place it in the Data folder of the server side. The format of the .ini file should be like so : Code: [EXP] [ATTACHMENT NOT FOUND] Now for the code itself! Server Side modTypes
modGeneral
modDatabase
modGameLogic
And there you go! You can now place your own custom experience values! Another simple way to do this is through the GetPlayerNextLevel function, if you replace it with your own formula, thus eliminating the need for a file ![]() ![]() Re: [Feature] Custom Experience - Rian - 01-08-2009 +5 Rating for this old-school-style tutorial. Fool proof. Thanks, Joke. Re: [Feature] Custom Experience - ShadowMaster - 09-08-2009 What next is the Exp Share for parties. |