Frag Game 1.7
37 Attachment(s)
.: Description :. Players must gain x amount of frags(controlled by cvar),who first gains x amount of frags he wins the round!On the round start your frags/deaths set again to 0.If victim are killed,victim respawns for x amount of seconds(controlled by cvar).And for the example, if CT team player win,Terrors takes slay. .: Cvars :. amx_frags_game "1/0" // Plugin on/off // Default : 1 amx_frags_win "frags" // How much frags need to win. // Default : 15 amx_frags_respawn "Seconds" // Delay before respawning. // Default : 3 amx_frags_weaponpickup "1/0" // 1 - Block weapon pickup. 0 - no block. // Default : 1 amx_frags_respawnglow "1/0" // 1 - On. 0 - off. // Default : 1 amx_frags_glowtime "time" // Default : 2 amx_frags_c4 "1/0" // 1 - strip. 0 - not strip // Default : 1 amx_frags_winmoney "1/0" // 1 - give money. 0 - not give. // Default : 1 // Sorry for my english :D // amx_frags_winmoneynum "money" // Default : 5000 amx_frags_lg_frags "on/off" // 1 - lost and got frags. 0 - not lost and not got.. :D amx_frags_lost_num "Num" // Lost frags // Default : 1 amx_frags_got_num "Num" // Got frags // Default : 1 .: Change-Log :. * 1.7 - In this version the HUD message telling about the winner was removed. Message in MOTD window added instead. Updated ML. * 1.6 - Added check if player is alive after he joins team. If not - respawns him. * 1.5 1)The code is optimized. 2)Added msg about who is leader. 3)When you kill player with knife you will get +1 frag, and the victim will loose his frag, all controled by cvars(like always) :) 4) Added prefix for msgs: #define PREFIX "[Frag Game] " 5) [Updated ML] * 1.4 - More money will be given to a winner, controled by cvar. (amx_frags_winmoney , amx_frags_winmoneynum ). * 1.3 - In this version added glow after respawn for 1-2 seconds, removed c4, all controled by cvar. ( amx_frags_respawnglow, amx_frags_glowtime, amx_frags_c4) * 1.2 - Added respawn timer which will show the time left till your respawn. Also added weapon pickup blocking (controlled by CVAR - amx_frags_weaponpickup ). * 1.1 - Fixed a little bug so now spectators wont respawn. * 1.0 - First release. |
Re: Frag Game
Yeah I like it! :wink:
|
Re: Frag Game
looks like gungame :D
|
Re: Frag Game
Code:
[sv]RESPAWED :arrow: RESPAWNED |
Re: Frag Game
updated..:avast:
|
Re: Frag Game
Dutch translation:
Quote:
|
Re: Frag Game
gj miron :) :)
|
Re: Frag Game
M1R0n,M', finally you have done it :)
GJ! |
Re: Frag Game
Quote:
|
Re: Frag Game
Quote:
nice idea, maybe i add this in ma new mod. could be funny |
Re: Frag Game
Plugin updated v1.1 - Fixed a little bug so now spectators wont respawn.
|
Re: Frag Game
hehe :D
Ok |
Re: Frag Game
I like the idea, good job.
+karma |
Re: Frag Game
Thanks.. ;]p
|
Re: Frag Game
You should try making this for entire teams rather than just one player or a separate plugin that does teams.
|
Re: Frag Game
Quote:
|
Re: Frag Game
Instead of a single player reaching x amount of kills, why not combine the scores of everyone on one team so this becomes more team-based. So if CT#1 gets 5 kills and CT#2 gets 3 kills while the score needed to win is 10, there team score is 8 and they would need 2 more kills to win.
|
Re: Frag Game
Well, your idea isn't bad, but I've planned this plugin as that the winner is single player (like GunGame, there isn't such team feature).
|
Re: Frag Game
Maybe you could create a Team Mode and upload that .sma file into this thread.
|
Re: Frag Game
Plugin updated v1.2 - Added respawn timer which will show the time left till your respawn. Also added weapon pickup blocking (controlled by CVAR).
|
Re: Frag Game
1 Attachment(s)
Fixed Dutch [nl]
|
Re: Frag Game
Good good :)
|
Re: Frag Game
PHP Code:
PHP Code:
|
Re: Frag Game
Plugin updated v1.3 - In this version added glow after respawn for 1-2 seconds, removed c4, all controled by cvar.
|
Re: Frag Game
Plugin updated v1.4 - More money will be given to a winner, controled by cvar. Updated fraggame.txt
|
Re: Frag Game
2 updates in 1 hour :D
Cool :D +k |
Re: Frag Game
hehe :wink:
|
Re: Frag Game
Looks funny.
|
Re: Frag Game
Hi, some suggestions.
- First, please, fix your indentation. Either use tab or spaces but not both at the same time. The result is quite a mess now. - Cache the value of is_user_connected() ; it's not something it will change in-game. Use client_putinserver() + client_disconnect() + global var. - Killed_Player() : - Do the check if killer is a player just right after the cvar (status ) check.- Since you're using Hamsandwich, use Ham_Touch, will be more efficient. - Respawn() ; Instead of 4 and 3, use a #define or enum. Don't check if task exist, remove directly. - fm_set_user_rendering ; using directly floats, like there. - PLUGIN, VERSION, AUTHOR, use #define ; no need to create var. - Try to keep always {}. And others things, but toot tired. I will see after if you did some changes. |
Re: Frag Game
Code:
[ru]Code:
[ru] |
Re: Frag Game
Code:
[es] |
Re: Frag Game
Plugin updated v1.5:
1)The code is optimized. 2)Added msg about who is leader. 3)When you kill player with knife you will get +1 frag, and the victim will loose his frag, all controled by cvars(like always) :) 4) Added prefix for msgs:#define PREFIX "[Frag Game] " 5) [Updated ML] 6) Credits xPaw ; ThaRadiance ; |
Re: Frag Game
2 Attachment(s)
Here,
I fixed Dutch and i fixed other languages too, Else you got ML_NOTFOUND errors! Translations needed: (They are 50% done) Quote:
|
Re: Frag Game
[bg]
WIN = %s specheli!Toi poluchi + %d pari RESPAWNED = * Respawn-nati * RESPAWN_COUNTDOWN = Shte budete respawn-nati sled %i sekundi. KILLED_KNIFE_LOST = Bqhte ubiti ot %s s noj i zagubihte %d frag'ove. KILLED_KNIFE_GOT = Vie ubihte %s s noj i poluchihte %d frag/ove. MOST_PLAYER = %s vodi!Toi ima %d fragove. ^nHe i mu trqbvat %d ohste za da specheli. |
Re: Frag Game
Updated Spanish Translation:
Code:
[es] |
Re: Frag Game
M1R0n,M', where is the credits for helping? :D
|
Re: Frag Game
hehe, updated :D
|
Re: Frag Game
Lithuanian Translation:
Code:
[lt] |
Re: Frag Game
Thank you.. ;-]
|
Re: Frag Game
Your welcome ;D
|
| All times are GMT -4. The time now is 19:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.