PDA

View Full Version : Bag-Tag Mod


nikhilgupta345
10-03-2011, 23:37
Bag Tag Mod

By: nikhilgupta345



I saw this plugin on a few knife servers in Counter-Strike, and found out the mod was private, so I decided to create it and release it publicly.


Description:
Bag Tag mod is a mod for knife servers that allows players to type /votebagtag in order to vote whether bag tag is turned on.
When it is turned out, the scores are reset, the round is restarted, and a random player starts with the bag.
The object of the game is to keep the bag in your team's possession for as long as possible.

Every 10 seconds, the team carrying the bag (model is a suitcase) will receive a 'win' for their team,
and each player on the team will receive one frag.

When the player with the bag kills a player, he gets 2 frags instead of 1.

Players can also vote to turn off bag tag by typing /votebagtag again.


CVars:



bt_vote_wait - How often a player can start a vote to turn off/on bag tag
bt_respawn_time - How long it takes for a player to respawn
bt_score_time - How often the team that has the bag gets a point
bt_reset_time - How long it takes to reset bag after it is dropped and nobody picks it up


Installation:




Click 'Get Source' link below
Compile Locally
Place 'BagTag.amxx' in addons/amxmodx/plugins/ folder
Open addons/amxmodx/configs/plugins.ini
Add the line 'BagTag.amxx' at the bottom
Download resources.zip below and extract into cstrike folder
Restart server or change map






Credits:




Arkshine - Setting Team Scores
Drekes - Origin Fixing






Click here (http://www.game-monitor.com/search.php?search=bagtag_versionn&type=variable) to see servers running this plugin.

Please let me know of any suggestions you have, any bugs you find, or any comments you have regarding the plugin.

nikhilgupta345
10-03-2011, 23:37
Changelog:


October 4, 2011 - v1.0 - Initial release
- v1.0.1 - Added CVARs + HUD for score





Requirements:




Orpheu 2.3
AMX Mod X
CS 1.6

aLaDiN
10-04-2011, 03:28
You can make cvar for the time which player must keep the bag and...:
Every 10 seconds, the team carrying the bag (model is a suitcase) will receive a 'win' for their team,
and each player on the team will receive one frag.

Arkshine
10-04-2011, 04:16
Click 'Get Source' link below

You use custom includes. Orpheu is not an official module and the webcompiler can't compile the plugin with it.

dark_style
10-04-2011, 04:19
You use custom includes. Orpheu is not an official module and the webcompiler can't compile the plugin with it.
Yes, but he said "Get Source". :)

Arkshine
10-04-2011, 04:28
Oops. Indeed really not read properly. I just wake up.

enjoi.
10-04-2011, 07:24
Screenshots?

nikhilgupta345
10-04-2011, 07:55
Forgot to add orpheu signatures, added to resources.

Credits to Arkshine.

Also updated installation instructions and requirements.

enjoi.
10-04-2011, 08:07
Can u add screenshots nikhilgupta please?

aLaDiN
10-04-2011, 16:09
@nikhilgupta345 i give you idea, what do you think for it?

nikhilgupta345
10-04-2011, 16:40
@nikhilgupta345 i give you idea, what do you think for it?

Chill out, I just got home from school to read these.

nightzombie
10-04-2011, 16:56
after running this mod, after 10minutes my server crash.......

Nikhul is not a coder (Warning!)

DarkGod
10-04-2011, 16:59
Nikhul is not a coder (Warning!)

He's a god.

nikhilgupta345
10-04-2011, 17:01
after running this mod, after 10minutes my server crash.......

Nikhul is not a coder (Warning!)

What errors do you have? Post your logs.

EDIT: Updated to v1.0.1. Check changelog for more details.

enjoi.
10-04-2011, 17:42
Nikhilgupta345 please post some screenshots. I have one screenshot I think but I'm not sure its from your mod.! I WILL edit when i find

nikhilgupta345
10-04-2011, 21:06
Nikhilgupta345 please post some screenshots. I have one screenshot I think but I'm not sure its from your mod.! I WILL edit when i find

I will try to post some soon.

stevenisecko138
10-05-2011, 11:05
He's a god.

nikhilgupta345
10-05-2011, 17:13
He's a god.

BOW DOWN.

enjoi.
10-06-2011, 08:06
http://cloud.steampowered.com/ugc/559792646404862298/2F7A27E67EE745A4640C4FB55AF05D97850E96CF/

nikhilgupta345
10-06-2011, 22:19
http://cloud.steampowered.com/ugc/559792646404862298/2F7A27E67EE745A4640C4FB55AF05D97850E96CF/

That's not exactly how mine looks. The score looks different, there is no message about that thing, and it doesn't show the time for next point, however, those are good ideas so I may implement them in the next version.

wickedd
10-20-2011, 17:53
Install Orpheu (http://forums.alliedmods.net/showthread.php?t=116393).

DarkGod
10-21-2011, 01:11
Get the orpheu.inc file.

Digitalslayer
11-11-2011, 22:02
I have a server that plays "fun maps" and some of those are knife maps, some aren't, is it possible you can add a cvar to a .ini file that I can include map names that are allowed to be played with this plugin?
I.E. bag_maps.ini has 3 maps in it and only those 3 maps can allow voting to turn the plugin on. Also do you have a advertisement you could also tie to that so people know when that map is on so they can vote it?

wickedd
11-11-2011, 22:25
I have a server that plays "fun maps" and some of those are knife maps, some aren't, is it possible you can add a cvar to a .ini file that I can include map names that are allowed to be played with this plugin?
I.E. bag_maps.ini has 3 maps in it and only those 3 maps can allow voting to turn the plugin on. Also do you have a advertisement you could also tie to that so people know when that map is on so they can vote it?

Polymorph (http://forums.alliedmods.net/showthread.php?t=111535)

Firippu
01-19-2013, 19:02
You should check if a player is in a team before respawning them, otherwise players can respawn under spectator mode.

jingojang
01-24-2013, 05:00
What maps should be played with this mod?