View Single Post
Plugin Info:     Modification:          Category:          Approver:   Xanimos (85)
Silencer123
Veteran Member
Join Date: Jul 2006
Location: Germany (GMT+1)
Old 08-31-2006 , 12:19   Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #1

Sven Cooperative Experience Mod

CAREFULLY READ THIS POST BEFORE ASKING ABOUT ANYTHING!
IF YOU HAVE AN UNANSWERED QUESTION, ASK IT IN THIS THREAD
INSTEAD OF SENDING ME A PRIVATE MESSAGE! THAT WAY, EVERYONE
CAN SEE AND MAYBE ANSWER YOUR QUESTION.
ALSO, PEOPLE JOINING IN LATER, HAVING THE SAME QUESTION,
WON'T HAVE TO ASK IT AGAIN! THANKS!




Introduction:
Sven Cooperative Experience Mod, or in short, SCXPM, is an experience based plugin
for Sven Cooperative 3.0, which allows the players to gain up to 1800 levels.
Award players with medals or punish them by taking such from them.
A player starts with 3 medals and can have up to 15 medals.
They have a minimal Influence on the Skills/Abilities.
Click here for a Screenshot!


Functionality:
This plugin may or may not work with older Versions of AMXX than 1.75.


Accessibility:
Immunity Flag (Flag A) gives you full Access to all the
commands and controll variables (CVars) of this Plugin.


Selectable skills:

1. Strength:
Starthealth + Strength-Level * 1.

2. Superior Armor:
Startarmor + Armor-Level * 1.

3. Regeneration:
One HP every (150.5-(Regenerationlevel/2)) seconds + bonus chance every 0.5 Seconds.

4. Nano Armor:
(150.5-(Nanoarmorlevel/2)) seconds + bonus chance every 0.5 Seconds.

5. Ammunition Reincarnation:
Ammunition for current weapon every
(90-(Ammolevel*2.5)) seconds.

6. Anti Gravity Device:
Lowers your gravity by 1.5% per level.

7. Awareness:
Generic skill which enhances many other skills a bit.

8. Team Power:
Supports nearby teammates with HP
and AP and also yourself on higher level.

9. Block Attack:
Chance on fully blocking any attack of (Blocklevel/3)%.
This actually randomly hands out god mode or takes it
from the player every 0.5 seconds.

S. Medals (Special):
Given by an admin and only by an admin.
Basically, this shall indicate your importance
on the server you are playing on.
(Minimal ability support)


Controll variables (CVars):
amx_scxpm_gamename 1 // If set to 1 the game name will be "SCXPM 17.0"
amx_scxpm_xpgain 1.0 // The experience a player gains is value * 5 per score point


Admin commands:
addmedal Playername // Will give a Medal to the named Player
removemedal Playername // Will take a Medal from the named Player
setlvl Playername Amount // Will set the Level of the named Player to the named Amount
godmode Playername // Toggle Godmode
noclipmode Playername // Toggle Noclipmode


Commands for all players:
say playerskills // Prints other Players Experience, Level, Rank and Medals to Console
say selectskills // Open Menu to select Skills
say skillsinfo // Prints Help about Skills to your Console
say saveall // REMOVED. Reason: Error-prone. Data is still being saved automatically.

The above commands also work without "/" as well as console commands without "say ".


Version history:
Code:
Version 17.0: Fixed Bug with Godmode Toggling and some more, I forgot, I was ill the last 5 Days, well, I still am but now I am able to do Stuff at Computer again. *cough* *cough* EDIT: Ah I remember: MOTD is now being used for some lists.
 
Version 16.0: Added Plugin intern Godmode and Noclipmode.
 
Version 15.0: Players Data now fits into one Line in vault.ini. Use converter first.
 
Version 14.0: Engine Module no longer needed. Easified a lot of Code. Added Credits. Added some new Ranks. Optimized some Messages.
 
Version 13.0: Removed saveall Function because of harzardous Error-prone.
 
Version 12.0: Added Float-CVar amx_scxpm_xpgain (Default: 1.0). See above.
 
Version 11.0: Added Game Name Feature. See above.
 
Version 10.0: Health Regeneration is increased while holding Medkit, especially if health is lower than 100.
 
Version 9.0: Amount of Players now has much more influence on Team Power Skill. Also it has been weakened again, as it was still too powerful. Added one Rank. Spreaded Ranks.
 
Version 8.0: More Optimization for the win: Team Power is now depending on the Amount of Players on the Servers a bit. Added Say-Commands with Slashes ('/') in front of them (Example: 'say /saveall'). To do: Add more Ranks between Levels.
 
Version 7.0: More Ammunition for Uzi, Uzi Akimbo and MP5/9mmAR.
 
Version 6.0: You now always get Ammo - Random Ammo Type if holding Weapon which does not use Ammo. (Pipewrench, Crowbar, Medkit, Grapple, Handgrenades, Satchels, Snarks etc.) Added Experience needed between Levels Indicator. Made Indicator easier to read.
 
Version 5.0: More Optimization: For Example the Team Power Skill was too strong. Also Ammo Reincarnation fastest Rate now is 13 Seconds. Fixed new Bug where Menu open again although you had selected your Skills.
 
Version 4.0: Optimized the Skills. Fixed all remaining Bugs. Replaced setxp with setlvl. You can raise and lower Levels. If you lower the Level the Targets Skills will be reseted. You cannot do anything wrong with it. Updated Skills Descriptions. Some still do not tell any Values, because they are either too complicated or you do not need to know their Way of Working.
 
Version 3.0: Fixed Players with 0 Experience always got their Medals set to 3.
 
Version 2.0: Minor Changes - Final Version for now. Renamed to Sven Cooperative Experience Mod.
 
Version 1.6: Fixed some minor Misspellings and optimized Skills.
 
Version 1.5: Reworked the Experience Table. (See the Details in the SCRPG_XP-Table.zip)
 
Version 1.4: Fixed Free Level Bug on Connecting. Fixed Next XP Display Bug. Made Health and Armor Regeneration more useful on low Level.
 
Version 1.3: Fixed serious Experience Calculating Bug and Replaced Speed Boots, because they did not work. Fixed Team Power Bug.
 
Version 1.2: Fixed some Bugs
 
Version 1.1: Fixed Speed Boots Bug. XP now always loads without Problems ('say loadall' removed). Made Console Commands (For Example 'say playerskills' will do the same as 'playerskills'). Made XP gaining much faster. Fixed some 'Player with ID X not found'-Bugs caused by no is_user_connected checks. NOTE: If you already used the Plugin, open your vault.ini and set Levels, Skillpoints and Skills, not Medals and Experience back to 0, so the Players Levels are recalculated correctly.
 
Version 1.0: Initial Release
FAQ (Frequently asked questions):

Q: Why does the indicator say that I have -1 Medals and need like 9999999 XP?
A: Plugin does not work with sv_lan = 1. Run with sv_lan = 0 with sv_password set instead. The actual reason behind this is that with sv_lan = 1 Steam gives all players the Steam ID STEAM_ID_LAN which
the plugin cannot handle. The next version of SCXPM will safe data using player names if sv_lan = 1.

Q: Why can't I select some entries in the Skillsmenu?
A: Because those keys are not bound. Write this in console:
bind 6 slot6;bind 7 slot7;bind 8 slot8;bind 9 slot9;bind 0 slot10

Q: Why do all players start with three medals?
A: So there are some to take away from you right from
the beginning. That way admins will hand out small
punishments instead of directly banning you, if you
did something so totally wrong he never wants to see
you on his server again. :p

For any other questions, please, if possible, take
the time to look through the whole thread first.
Attached Files
File Type: sma Get Plugin or Get Source (scxpm.sma - 29701 views - 36.0 KB)
__________________
EAT YOUR VEGGIES

Last edited by Silencer123; 08-23-2008 at 09:54. Reason: Added FAQ
Silencer123 is offline