I suppose it's time for me to release this project, due to the fact that it's starting to bore me, like the majority of projects I start, they draw on for much too long. This was something I started with the intention of making something new, using all the math functions, and creating something genuinely fun; that being said, I don't have the ideas, nor the will power to continue it much further.Features
While I will admit, it's not the most advanced gamemode, I feel as if I have written it efficiently, and it could teach something to someone, so here goes nothing.
I will more than likely be updating this mode, so if you have any suggestions, or find any bugs, please feel free to reply in this thread, and I will do my best to fix or add them; and if I don't add them, I will give you an idea of how to go about doing it so you can add it yourself. This gamemode comes with full 2KY support. (Sounds professional, why the hell not?)Pictures
(Click the pictures for a full-sized picture)Ideas in the Planning
Download
I will only be offering a full server package with this gamemode to ensure that everything is loaded and added correctly and to avoid further questions about the setup of the gamemode.Version Log
Sendspace (Full package)
Version 1.0.0 (Released: 5/21/2012)Examples* First release - Awaiting comments for the updating processVersion 1.0.1 (Coming soon!)* Added a basic Skill Points system, still far from done.
* Added Administrator commands to make administering the server a breeze.
* The spawn point has been edited (Easily editable in Floats.inc) to Montgomery.
* I've started working on the Strength System; fists are fully operational so far. It's a combination of luck, and skill.
* Interior and Virtual World now save to your user file, and are remembered for when your position is restored.
* Added some little hints to help ease the newbie learning curve of the gamemode.
* /stats refined, and more explainations added for newly added skills.
How to give the player experience:
CMD:expup( playerid, params[] )
{
accInfo [ playerid ] [ Experience ] ++;
if( accInfo [ playerid ] [ Experience ] >= MAX_LEVEL_STAGES )
{
// They have gained enough experience to level up!
// If you happen to increase the maximum level stages, you need to modify the textdraws aswell.
LevelUp ( playerid, accInfo [ playerid ] [ Level ] );
// We pass their account variable through the LevelUp function so we can send them a message
// of their old level aswell!
}
UpdateXPMeter ( playerid ); // Make sure to update their XP meter manually every time you add experience!
return true;
}
Looks good so far. Are there any jobs or is this just a base RPG mode?
This also reminds me of a script I worked on, having the same includes and features (with organized and efficient code) Edit: After downloading the source, I see that it doesn't have much done. I like what is there, but it needs more effort put into it. |
Wow nice!Can you add org/faction,bank system,house system,biz system and admin system?
|
I will be updating it with jobs and stuff later on, just felt like creating the topic and perhaps getting some more ideas from the SA:MP community on what I can add.
Thank you. Sure, I'll add a dynamic faction, house, and business system, along with modify the (barely) existent administrator system. |
CMD:expup( playerid, params[] )
{
accInfo [ playerid ] [ Experience ] ++;
if( accInfo [ playerid ] [ Experience ] >= MAX_LEVEL_STAGES )
{
// They have gained enough experience to level up!
// If you happen to increase the maximum level stages, you need to modify the textdraws aswell.
LevelUp ( playerid, accInfo [ playerid ] [ Level ] );
// We pass their account variable through the LevelUp function so we can send them a message
// of their old level aswell!
}
return true;
}