Jump to content
MakeWebGames

Recommended Posts

Posted

Ive often wanted to add levels for certain skills. Like a mining level to go with my recently working (but far from finished) mining mod. What are some different ways to do this? I believe adding skill levels will add a certain variety to Mccodes that will improve the versatility of the script.

Posted

It would improve the playability for sure, and give the players a thrill. The only problem is that when the current MCCodes scripts were made, they did not accompany for this type of thing.

I would suggest taking a crack at the current leveling system of MCC, it's simple so it should be easy to find and understand. Implementing that in your modification could be a start.

A few other things I can think of out the top of my head are;

Adding a sort of experience meter/value to the mod, and updating it as per say, when they "mine" something.

Calculating the player's level depending on their stats. Much like how the promotions works in the Job modification.

Time of play, with mining I'd think this would be most appropriate if you are looking to make it realistic.

With the last mentioned idea of mine, you could make the reward in money, skill stats or experience.

Mostly I would just treat the whole "skill" as another player and linking it by an id, would be much easier to maintain or build upon if the whole think is separate from the "main" game scripts.

Posted

Warning: my noob is showing!

How would one treat the skill as another player? I like the idea of standalone mods for skills, but have no clue how to go about it.

Posted

Well the quick and easy way would be to use mccodes “users” table, so something like Danny’s old mod - Crime Update

The longer way could be to store the levels in a table each/put them in a “stats” table (I am unsure if mccodes already has one). Then whenever you make a mod only select the level from that table the page will use. For example :-

table stats holds playerid, and mug_level. When mugging someone you run a select query to select “SELECT mug_level FROM stats WHERE playerid=$userid” Then run the page as you would if it was just user something from the $ir variable. As for the “another player” thing I am not sure what he means, unless he means a new table etc away from The game play already set up.

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...