Raised This Month: $105 Target: $400
 26% 

Sven Cooperative Experience Mod [Current Version: 17.0]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Sven Coop        Category:   Fun Stuff        Approver:   Xanimos (85)
Silencer123
Veteran Member
Join Date: Jul 2006
Location: Germany (GMT+1)
Old 08-31-2006 , 13: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 - 26062 views - 36.0 KB)
__________________
EAT YOUR VEGGIES

Last edited by Silencer123; 08-23-2008 at 10:54. Reason: Added FAQ
Silencer123 is offline
mahooo60
Senior Member
Join Date: Apr 2005
Old 08-31-2006 , 18:25   Re: Sven Cooperative RPG
Reply With Quote #2

hmmm.... a bit much more u can let us give info about this plugin..wut abilitys which races etc...
mahooo60 is offline
ThomasNguyen
Senior Member
Join Date: May 2006
Old 08-31-2006 , 21:34   Re: Sven Cooperative RPG
Reply With Quote #3

Sounds very nice. Great job.

EDIT: i was just looking at your code, and its small for an xp plugin. does it have any special abilities other than giving weapons and such. like improved bullets, bp vest, all that good stuff?
__________________

Last edited by ThomasNguyen; 08-31-2006 at 22:11.
ThomasNguyen is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 08-31-2006 , 23:57   Re: Sven Cooperative RPG
Reply With Quote #4

There is no such thing as a Role Playing Game..It is all 0's and 1's!
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
ThomasNguyen
Senior Member
Join Date: May 2006
Old 09-01-2006 , 08:15   Re: Sven Cooperative RPG
Reply With Quote #5

Quote:
Originally Posted by SweatyBanana View Post
There is no such thing as a Role Playing Game..It is all 0's and 1's!
? zero and one what.
__________________
ThomasNguyen is offline
Silencer123
Veteran Member
Join Date: Jul 2006
Location: Germany (GMT+1)
Old 09-01-2006 , 09:11   Re: Sven Cooperative RPG
Reply With Quote #6

Well... No different races, but different Levels, Ranks and Admin can give Medals.
(Thats why RPG somehow)
The Code is pretty simple. No uber-pro scripting. Thats because
AMXX has no additional Functions for non-team or monster based mods.
So I CAN NOT:
- Make an ability which increases your damage ON ENEMY MONSTERS ONLY
(No other Players - No friendly Monsters)
Skills are:


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

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

3. Regeneration:
One HP down to every 0.5 Seconds.

4. Self-Reinforcing Armor:
One AP down to every 0.5 Seconds.

5. Ammunition Reincarnation:
One Clip for Current Weapon down to every 4.5 Seconds.

6. Anti Gravity Device:
Lowers your Gravity by 1/100 per Level.

7. Speed Boots:
+ 1.5 Units per Second for each Level.

8. Team Power:
Supports nearby Teammates and also yourself on higher Level.

9. Block Attack:
Up to a 40/100 Chance of blocking an Attack.

S. Medals (Special):
Given by an Admin, Shows your Importance. (Minor Ability Support)


EDIT: I'd love if someone would host a Server for a Month or so just to
see how good the Plugin works. I do not have a Server for doing so.
I still cannot believe I made an EXP based Plugin in 6 hours lol ^^
__________________
EAT YOUR VEGGIES

Last edited by Silencer123; 09-01-2006 at 09:16.
Silencer123 is offline
godlike
Senior Member
Join Date: Apr 2005
Old 09-01-2006 , 12:34   Re: Sven Cooperative RPG
Reply With Quote #7

1800 Levels LOL! If this works fine gj man
godlike is offline
Silencer123
Veteran Member
Join Date: Jul 2006
Location: Germany (GMT+1)
Old 09-01-2006 , 17:52   Re: Sven Cooperative RPG
Reply With Quote #8

Hehehe...

Updated to Version 1.1! See Changelog above.
__________________
EAT YOUR VEGGIES
Silencer123 is offline
ThomasNguyen
Senior Member
Join Date: May 2006
Old 09-01-2006 , 18:54   Re: Sven Cooperative RPG
Reply With Quote #9

Any chance of this to work with cs/cz and not just sven coop?
__________________
ThomasNguyen is offline
Silencer123
Veteran Member
Join Date: Jul 2006
Location: Germany (GMT+1)
Old 09-02-2006 , 08:22   Re: Sven Cooperative RPG
Reply With Quote #10

Click 'Get Source' and edit the Ammo Part and the Team Power ability.
__________________
EAT YOUR VEGGIES
Silencer123 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:19.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode