View Single Post
Author Message
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 06-07-2017 , 14:23   [CS:GO] Retakes 2vs2 Edition
Reply With Quote #1

Descriptions:
well to be honest, it's not as good as the other retake plugin but i ensure you this one can handle a 2vs2 match very easily!
and it's not been made to create a duplicate plugins, it's just release for you to use in case you want to have 2 vs 2 tournament.

Admin Commands (Flag "z"):
sm_emode --> Enter edit mode (required to be able to add spawns).
sm_addspawn --> used to add spawns.
sm_addbomb --> used to set where bomber will spawn.
sm_forcestop , sm_fs --> stop the current in progress retake match.

Player Commands:
sm_ready --> will mark you as ready.
sm_unready --> will mark you as unready.

ConVars:
sm_max_ready_num "4" --> number of ready players needed to start the match.
sm_use_ready_sys "1" --> Enable or disable ready system. (enabling it after disabling will require a round restart)

Adding Spawns:
okay, i've already set those needed maps for a 2vs2 tounament but if you want to edit them or hate them! you can add your own like this:
Step 1: Add your CT spawns:
- To add Ct spawns for A or B side you'll need to enter edit mode first! after that you'll need to type this into conosle:
- sm_addspawn SideName TeamName SpawnNum
- SideNames are A and B, TeamNames are CT and T, SpawnNum is the number of spawn to get
Note : please add spawns on a correct order and do not jump onto numbers!
Example : sm_addspawn B CT 1
Step 2: Add you T spawns:
- Just like how you did for CT just change CT to T on second argument.
Note : do not forget to set them for both sides.
Step 3: Add bomber spawn:
- sm_addbomb SideName
- Just stand somewhere good and use sm_addbomb A or B to set bomber spawn point.
Note: try to set one less spawn for T cause one on them will always be the bomber and then both teams will equal.

Configure Guns:

the configurations of guns.ini will be like this, description is also included in this example.
NOTE: you can leave Team key empty to make a gun public.
PHP Code:
"guns"
{
    
"Primary"
    
{
        
"Name"        "Name of menu option"
        "Title"        "title of menu"
        "Type"        "Don't even look at this!"
        "AnyThing"
        
{
            
"Name"        "weapon name"
            "ClassName"    "weapon classname (i.e weapon_ak47)"
            "Team"        "team number (2 = T, 3 = CT)"
            "Stay"        "whether the weapon stays after team change or not (recommended to be used with public weapons)"
            "u_id"        "unique menu id without space"
        
}
    }
    
"Pistols"
    
{
        
"Name"        "Name of menu option"
        "Title"        "title of menu"
        "Type"        "Don't even look at this!"
        "AnyThing"
        
{
            
"Name"        "weapon name"
            "ClassName"    "weapon classname (i.e weapon_hkp2000)"
            "Team"        "team number (2 = T, 3 = CT)"
            "Stay"        "whether the weapon stays after team change or not (recommended to be used with public weapons)"
            "u_id"        "unique menu id without space"
        
}
    }

Quote:
**6/7/2017** Version 1.9.2
- Just Released

**6/9/2017** Version 1.9.3
- Changed 2vs2.cfg file for better performance
- Added some pre-defined ConVar changes on MapStart to make each map start warmup automatically.

**6/11/2017** Version 1.9.8
- Added !guns menu.
- Added new reporting system (HUD Message with colors).
- Added translation file for plugin to be able to get translated.
- Updated 2vs2.cfg file with new convars.
- Fixed a crash after match has been started when someone new joins.
- Fixed duplicate grenades.
- Fixed some chat's bug showing the wrong number of max needed ready players.
- Fixed a bug loosing awp on team switch or team change.
- Fixed some bugs with convars on sm_forcestop
Note: do not edit commands like sm_a1 or sm_a4 otherwise sm_guns will be bugged.

**6/13/2017** Version 2.1.1
- Added !unready command.
- Added HUD report for current ready stats.
- Added a new allias for forcestop called !fs.
- Added a new feature to auto warmup when no one i playing on server.
- Added a new Convar to enable/disable ready system called sm_use_ready_sys.
- Added russian translation (Thanks to waylander3).
- Added some ConVar changes into plugin to control in-game money system.
- Updated 2vs2.cfg.
- Fixed grenade duplicate (i haven't tested)
- Fixed warmup_end bug.
- Fixed a bug with detecting ready players.
- Fixed a bug with moving unready players to spect.
- Fixed moving SourceTV into spect as an unready client.
- Fixed some reporting bugs to bomber.

**6/15/2017** Version 2.3.1
- Added full configurable guns menu.
- Added pistols into !guns menu.
- Added a new system for public weapons to stay on team change.
- Removed commands !a1 !a4 !ak !awp.
- Fixed weapons public weapons was not staying after team change.
- Fixed a bug client index stay as ready when a ready player disconnects.
- Fixed many small bugs (can't recall them clearly, but it was too many of them!)
- Updated translations file.


**8/19/2017** Version 2.4.4 (FINAL VERSION)
# Well i must have done this a long time ago but here it is now without any bugs and working perfectly.
- Fixed Spawn Bugs in some servers.
- Fixed Plugin error using new syntax.
- Fixed Bomb Spawn Bug.
- Fixed Random Player Chooser system.
- Fixed HUD bugs.
Attached Files
File Type: zip 2vs2 Retakes 1.9.2.zip (26.1 KB, 426 views)
File Type: zip 2vs2 Retakes 1.9.3.zip (26.0 KB, 254 views)
File Type: zip 2vs2 Retakes 1.9.8.zip (28.9 KB, 243 views)
File Type: zip 2vs2 Retakes 2.1.1.zip (32.2 KB, 290 views)
File Type: zip 2vs2 Retakes 2.3.1.zip (34.4 KB, 316 views)
File Type: zip 2vs2 Retakes 2.4.5.zip (34.7 KB, 754 views)
__________________

Last edited by ambn; 08-19-2017 at 02:46.
ambn is offline