Jump to content
GIGN Forum

Recommended Posts

Tātad ielikšu ari vienu mazu lietiņu.

Cvari:

Codi:

amx_tle_enabled [1]/0 // Controls wether the plugin is enabled or not. (default 1)

amx_tle_usehud [1]/0 // Controls wether to use HUD message announcement or not. (default 1)

amx_tle_chattime [7] // Controls the time people have to chat before actual change occurs. (default 7)

amx_tle_catchat [5] // Controls at which second of timeleft the plugin should

// catch the mapchange and block it. (default 5)

amx_tle_textcolor 0-[2] // Sets the color of the "This is the last round" message.

// 0 = Normal chat color

// 1 = Team color (CT: blue, T: red)

// 2 = Green

Code:

amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60"

Pārsvarā varat visu apskatit

šeit

BEt pastastišu ka šis plugins rada kad ir pedejais raunds un skali to pasaka.. smile.gif nezinu ka jums bet plugins ir normāls..

Plusā atradu vel jaunu modu.

RPG Mod

Last updated: 2007-05-29 09:21 (Swedish time)

Reason: I had 1 "#%i" too much in the saving and loading process. This is a serious update and in order to get your plugin to work you must download the updated version below.

Description

RPG Mod is a mod that simulates the role-playing gameplay.

The purpose is to get as many levels as you can, and on every level-up you will gain credits.

You can then use your credits to buy one or more of the upgrades in the menu.

Every upgrade gives a special ability (such as regeneration, health bonus, etc.).

You can also sell your upgrades for 75% of the original price.

On everyone you kill or when your team wins, you will get experience (exp).

The more levels you gain, the harder it is to get exp and level up.

I got the original idea from the Counter-Strike Source plugin CSS:RPG.

Upgrade list

Regeneration

* Level 1: 1 hp every second

* Level 2: 2 hp every second

* ...

* Level 10: 10 hp every second

Health Bonus (Health+)

* Level 1: 125 total hp

* Level 2: 150 total hp

* ...

* Level 10: 350 total hp

Resupply

* Level 1: 1 ammo every 3 seconds

* Level 2: 2 ammo every 3 seconds

* ...

* Level 10: 10 ammo every 3 seconds

Vampire

* Level 1: 7.5% of the damage dealt is brought back to your health

* Level 2: 15% of the damage dealt is brought back to your health

* ...

* Level 15: 112.5% of the damage dealt is brought back to your health

Stealth

* Level 1: Your alpha will be brought down to 215

* Level 2: Your alpha will be brought down to 175

* ...

* Level 5: Your alpha will be brought down to 55

LongJump

* Level 1: Your speed in the jump is increased by 40

* Level 2: Your speed in the jump is increased by 80

* ...

* Level 5: Your speed in the jump is increased by 200

IceStab

* Level 1: Your victim will be frozen for 1 second

* Level 2: Your victim will be frozen for 2 seconds

* Level 3: Your victim will be frozen for 3 seconds

FrostPistol

* Level 1: Your victim's speed will be halfened for 0.1 seconds

* Level 2: Your victim's speed will be halfened for 0.2 seconds

* ...

* Level 15: Your victim's speed will be halfened for 1.5 seconds

Denial

* Level 1: You will be given the things your lost when you died

Impulse

* Level 1: When hit, your speed will increase with 25% of your normal speed

* Level 2: When hit, your speed will increase with 50% of your normal speed

* ...

* Level 5: When hit, your speed will increase with 125% of your normal speed

Medic (Note, if your teammates have full health it will raise their armor)

* Level 1: You will heal your nearby teammates for 5 health every second

* Level 2: You will heal your nearby teammates for 10 health every second

* ...

* Level 15: You will heal your nearby teammates for 75 health every second

Commands

Say commands:

* rpgmenu - Brings up the RPG Mod menu where you can buy or sell upgrades, view your stats, or get help with the plugin.

Admin commands:

* rpg_givexp <target> <give/remove/set> <amount> - Give/remove/set exp to a specified target

* rpg_givelevel <target> <give/remove/set> <amount> - Give/remove/set levels to a specified target

* rpg_givecredits <target> <give/remove/set> <amount> - Give/remove/set credits to a specified target

Cvars:

Copied the code from the rpgmod.cfg file tongue.gif

Code:

/* Enable/Disable Plugin */

rpg_enable 1

rpg_credits_per_level 5 /* Credits Per Level */

rpg_credits_mercy 2 /* Mercy Credits (0=Disabled, 1=When you die, 2=End of round) */

rpg_credits_mercy_amount 2 /* The amount of Mercy Credits you will get */

/* XP Cvars */

rpg_xp_start 250 /* Amount Of XP For The First Level */

rpg_xp_increase 100 /* How Much The XP Shall Increase Each Level */

rpg_xp_kill 50 /* How Much XP You Shall Gain For Each Kill */

rpg_xp_hsbonus 25 /* How Much Bonus You Shall Gain For Killing A Person With HS */

rpg_xp_max 500000 /* Max Amount Of XP Needed */

rpg_xp_teamwin 5 /* Amount Of XP You Shall Gain When Your Team Wins */

rpg_xp_status 1 /* The way the server shall print your level, xp and credits (1=Status Text, 2=Hudmessage) */

/* Regen Cvars */

rpg_regen_enable 1 /* Enable/Disable Item */

rpg_regen_maxlevel 10 /* Max Level Of Item */

rpg_regen_cost 15 /* Cost Of Item */

rpg_regen_icost 15 /* Cost Increment Of Item */

/* Health Cvars */

rpg_health_enable 1 /* Enable/Disable Item */

rpg_health_maxlevel 10 /* Max Level Of Item */

rpg_health_cost 15 /* Cost Of Item */

rpg_health_icost 20 /* Cost Increment Of Item */

/* Resupply Cvars */

rpg_resupply_enable 1 /* Enable/Disable Item */

rpg_resupply_maxlevel 10 /* Max Level Of Item */

rpg_resupply_cost 5 /* Cost Of Item */

rpg_resupply_icost 15 /* Cost Increment Of Item */

/* Vampire Cvars */

rpg_vampire_enable 1 /* Enable/Disable Item */

rpg_vampire_maxlevel 15 /* Max Level Of Item */

rpg_vampire_cost 25 /* Cost Of Item */

rpg_vampire_icost 25 /* Cost Increment Of Item */

/* Stealth Cvars */

rpg_stealth_enable 1 /* Enable/Disable Item */

rpg_stealth_maxlevel 5 /* Max Level Of Item */

rpg_stealth_cost 20 /* Cost Of Item */

rpg_stealth_icost 20 /* Cost Increment Of Item */

/* LongJump Cvars */

rpg_longjump_enable 1 /* Enable/Disable Item */

rpg_longjump_maxlevel 5 /* Max Level Of Item */

rpg_longjump_cost 20 /* Cost Of Item */

rpg_longjump_icost 20 /* Cost Increment Of Item */

/* IceStab Cvars */

rpg_icestab_enable 1 /* Enable/Disable Item */

rpg_icestab_maxlevel 3 /* Max Level Of Item */

rpg_icestab_cost 30 /* Cost Of Item */

rpg_icestab_icost 30 /* Cost Increment Of Item */

rpg_icestab_limit_dmg 10 /* Max Amount Of Damage The player Can Be Dealt If Frozen */

/* FrostPistol Cvars */

rpg_frostp_enable 1 /* Enable/Disable Item */

rpg_frostp_maxlevel 15 /* Max Level Of Item */

rpg_frostp_cost 30 /* Cost Of Item */

rpg_frostp_icost 30 /* Cost Increment Of Item */

/* Denial Cvars */

rpg_denial_enable 1 /* Enable/Disable Item */

rpg_denial_maxlevel 1 /* Max Level Of Item */

rpg_denial_cost 50 /* Cost Of Item */

rpg_denial icost 50 /* Cost Increment Of Item */

/* Impulse Cvars */

rpg_impulse_enable 1 /* Enable/Disable Item */

rpg_impulse_maxlevel 5 /* Max Level Of Item */

rpg_impulse_cost 20 /* Cost Of Item */

rpg_impulse_icost 20 /* Cost Increment Of Item */

/* Medic Cvars */

rpg_medic_enable 1 /* Enable/Disable Item */

rpg_medic_maxlevel 15 */ Max Level Of Item */

rpg_medic_cost 30 /* Cost Of Item */

rpg_medic_icost 30 /* Cost Increment Of Item */

Credits

Thanks to all the testers for this plugin. Especially to Deviance, fattony and Alka.

Thanks to the author of CSS:RPG (SelFkiLL)

Changelog

1.03

* + Added so you can cast the commands on yourself

* + Added descriptions of the commands

1.02

* + Added more variables to hold data used several times

* + Added public before funcShowHud(id)

* + Improved the saving method (only one key now)

* + Improved the LongJump item

1.01

* + Changed the rpg_givexp, rpg_givelevel and rpg_givecredits commands to, instead of <+/->, have <give/remove/set>

* - Removed the while(task_exists(player)) loop

* - Removed the server_exec()

1.00

* + Released the plugin

Todo list

* Add some kind of ranking system.

Modules needed

* Cstrike

* Engine

* nVault

* Fun

Test server

* Test server is down. If someone could host a server with this mod I would appreciate it.

Kačajam šeit pluginus.

Edited by antifity^
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...