DOD:S Reverse Tag
2 Attachment(s)
http://www.airtimeseller.com/Dillxn/...rsetaglogo.png
By Dillxn (Dillon Riecke) Description This is a new gamemode for Day of Defeat: Source. The goal is to get to a set amount of points (100 by default). You only get points if you are "it". The first "it" (once the game has just started) is the first person to kill someone on the other team. After the initial "it" is chosen, anyone should attempt to kill the "it". The only way to become "it" after the initial "it" is chosen is to kill the it. So even if you are on the same team as the "it", you still would want to kill the "it" so that you would become "it". Once the "it" is killed, their points stop rising. The new "it" (the person who killed the old "it")'s points then start rising. The first person to get to (100 by default) points wins. The "it" will be signified by a beacon. Notes
Install Just place the "reversetag.smx" in your "dod\addons\sourcemod\plugins" (or similar) folder. Then place the "sounds" folder in your "dod\" (or similar) folder. Requirements It is absolutely REQUIRED to have 'funcommands' loaded and enabled on your server for the beacon to work in this! Usage Once in game, you can use the following commands in your console:
The in-game menu is pretty self explanatory. Current Problems Nichts! Changelog: Beta Releases: Version 1.6.5.9
Archived Changelog To-do List (PM me about any of these (where applicable))
! REMEMBER ! REBOOT YOUR SERVER WHEN INSTALLING / UPGRADING THIS MOD! |
Re: DOD:S Reverse Tag
I must say, this sounds really awesome.
|
Re: DOD:S Reverse Tag
Quote:
|
Re: DOD:S Reverse Tag
Quote:
- you should replace all of the ServerCommand instances with natives or function calls - you should use "MAXPLAYERS" instead of hardcoding a max player amount - you should not hardcode the lenght of playernames, use "MAX_NAME_LENGTH" instead - you should not rely on the funcommands plugin (sm_beacon) as it might not be loaded - you should kill the repeating timer if the plugin is off and restart it once it is enabled - you should add a global tracking convar (optional) - you should change the post options to "Day of Defeat: Source", currently it says CSS. That's what I found on a quick look through it. |
Re: DOD:S Reverse Tag
Quote:
|
Re: DOD:S Reverse Tag
Please don't unapprove yet. I'm working on heavily commenting it and fixing those things you mentioned. Althought I'm unsure how to:
- not rely on the funcommands plugin (sm_beacon) as it might not be loaded - kill the repeating timer if the plugin is off and restart it once it is enabled - add a global tracking convar (optional) any help or guidance is appreciated. |
Re: DOD:S Reverse Tag
I'm looking forward to this, it would make a nice addition to our Gungame server. If you look at Tsunamis code for the gungame plugin, he has flag caps optional. You could prob steal his code :-)
<3 Tsunami |
Re: DOD:S Reverse Tag
CreateConVar("dodsrevtag_version", PLUGIN_VERSION, "DoD:S Reverse Tag Version", FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_REPLICATED|FC VAR_NOTIFY|FCVAR_DONTRECORD);
Where "PLUGIN_VERSION" is the version number. #define PLUGIN_VERSION 1.0 |
Re: DOD:S Reverse Tag
Quote:
plugin that comes with SourceMod and a lot of people (including myself) aren't using/loading that plugin at all, so you loose half of the functionality of you plugin. You could rather take a look at the beacon part and adapt it to your needs ("borrow" some code of it and use it in your plugin). Either that or clearly state that the funcommands plugin is obligatory for your plugin to work. Quote:
from plugin start on no matter if it's needed or not. You should only start it once it is needed and end it once it is not anymore. Quote:
P.S.: If you're about to create more DoD:S specific plugins, feel free to head over to DoDSP Community and apply to join the Developer group, you'll be able to ask for scripting help and review before publically posting your plugin here then. |
Re: DOD:S Reverse Tag
Woohoo! Major updates!
I really appreciate you guys for helping me out and encouraging me to continue working hard on my first sourcemod plugin! I will still update it (add features, fix bugs), but I think this is a great leap for version 1.2! |
All times are GMT -4. The time now is 14:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.