[GameMode] newmode RPG
#1

Introduction
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.
  • An organized gamemode with a (well) documented commented section at the top of the script
  • Split into multiple files (includes) for more organization. [ Increases compile-time SLIGHTLY ]
  • Uses the YSI library; y_commands, y_ini, and sscanf2.5 (Not sure if that's technically in the YSI library, but I'll throw that in there anyways)
  • Hashed passwords for a secure gaming experience
  • Personal colour system using the SA:MP colour format (0xFFFFFFFF)
  • The start of an Administrator system, I will possibly update this in the future
  • Saving basic statistics (HP, AR, Position)
  • Level system with experience (and a textdraw to go with it!)
  • A personal vehicle system; I haven't added anywhere you can purchase them yet - perhaps in a future update?
  • Makes use of the 0.3e OnPlayerClickTextDraw function
  • Easy functions to help even the most basic of scripters to continue the gamemode
  • Built-in help system in the statistics menu (Disable this by commenting CLICK_AND_DESCRIBE)
Suggestions
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.

Sendspace (Full package)
Version Log
Version 1.0.0 (Released: 5/21/2012)
* First release - Awaiting comments for the updating process
Version 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.
Examples
How to give the player experience:
pawn Код:
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;
}

Comments are welcome; enjoy!
Reply
#2

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.
Reply
#3

WOOOW its Good

Nice work 2Ky
Reply
#4

Really great to see a release from you, 2KY ([The]2KY.
Reply
#5

Looks nice ,good work man
Reply
#6

Wow nice!Can you add org/faction,bank system,house system,biz system and admin system?
Reply
#7

Quote:
Originally Posted by coole210
Посмотреть сообщение
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.
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.

Quote:
Originally Posted by Tidzii
Посмотреть сообщение
WOOOW its Good

Nice work 2Ky
Quote:
Originally Posted by HighPitchedVoice
Посмотреть сообщение
Really great to see a release from you, 2KY ([The]2KY.
Quote:
Originally Posted by TheSwitcher
Посмотреть сообщение
Looks nice ,good work man
Thank you.

Quote:
Originally Posted by Derek_Westbrook
Посмотреть сообщение
Wow nice!Can you add org/faction,bank system,house system,biz system and admin system?
Sure, I'll add a dynamic faction, house, and business system, along with modify the (barely) existent administrator system.
Reply
#8

Quote:
Originally Posted by 2KY
Посмотреть сообщение
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.
Alright mate I'll be waiting for it.
Reply
#9

Here's an example of a levelup command, to show you how the function itself works, although it's not really all that advanced.

pawn Код:
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;
}
Incase anyone was wondering.
Reply
#10

need more features
Reply
#11

Quote:
Originally Posted by $$inSane
Посмотреть сообщение
need more features
It's a base. You're meant to work off of it yourself, even though I'm going to be modifying the server package on here, you're meant to do your own work. This gives you a good base and the knowledge of how to do things with modern systems.
Reply
#12

Wow i like it So Good +Rep for effort
Reply
#13

Updated the example - it's now fully working. I forgot to manually update their XP after giving them +1.
Added a picture of the level-up screen, the red "LEVEL UP!" text automatically disappears after 3,000 milliseconds (3 seconds)

Next update should be within the next couple days, and include a 'full' admin system, and MAYBE a place to purchase personal vehicles, and an actual city being developed. (No more spawning near 0, 0, 0!)
Reply
#14

Goood Job man
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)