Jump to content
MakeWebGames

New Leveling up system!


Dayo

Recommended Posts

Hiya i havent made any mods in a longgggg time :P so while on holiday i was thinking what could be improved in McCodes then i thought of the leveling system i use on Themercenary.net and thought McCodes was dull and boring and just takes the fun out of it and makes it a never ending click click click game

What this does

  • Displays a notice saying what level you are and what you have unlocked
  • Sends you an event
  • You can choose the option so the player gains money for each level they gain (ie $250 for each level)
  • You can set a max level
  • Set energy, brave, hp gain per level
  • ITS FREE!

First off in global_func.php you need to find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

And replace it with

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

What this does is removes the current system, so that mine is being used :)

Now we need to open up globals.php and before ?> add this

include 'levelup.php';

now we have to make a file called levelup.php and upload it to your server

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

change the settings values to what you like then you are done

screen shoot

Edited by Djkanna
  • Like 2
Link to comment
Share on other sites

Glad people like it :) I'm Gona add an option where you can give a player an item for reaching XX level (multiple times ie item 1 for lvl 5 item 7 for lvl 25 etc...)

this would be good, i was going to fiddle around with it slightly to try and do something like that, but i'm not even really done fixing all the original coding and customizing the layout as of yet. all the power to ya bud!

Link to comment
Share on other sites

  • 5 weeks later...
  • 4 weeks later...

nice work dayo

but you left out the code to change the caps but eh here are the ones i use

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

just incase anyone wants them also to add them go to staff.php and find

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Edited by Wickidnezz
fixing something
Link to comment
Share on other sites

  • 2 weeks later...
  • 10 months later...
  • 10 months later...

Redux Basic Settings Text

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

nice work dayo

but you left out the code to change the caps but eh here are the ones i use

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

just incase anyone wants them also to add them go to staff.php and find

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

 

Enjoy

Link to comment
Share on other sites

  • 1 month later...

i like this, has anything done or though about making items unlocked at reaching a certain level. like.

e.g

You unlock Default city.

<b>You also unlocked Default items.</b>

Gained 5,000,000$

i can only use or equip those items once i get to a certain level.

etc... does that makes sense.

Link to comment
Share on other sites

i like this, has anything done or though about making items unlocked at reaching a certain level. like.

e.g

You unlock Default city.

<b>You also unlocked Default items.</b>

Gained 5,000,000$

i can only use or equip those items once i get to a certain level.

etc... does that makes sense.

If you wanted to just give a certain item thats easy but a little more complex if you wanted more than one item at a certain level i.e level 5 gets itemid 13 and then level 10 gets itemid 42 or whatever.

For using equipping items at or above a certain level thats pretty easy as well. If you would like shoot me a pm and I can help when I get a chance

Link to comment
Share on other sites

  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...