AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Retakes 2vs2 Edition (https://forums.alliedmods.net/showthread.php?t=298290)

ambn 06-07-2017 14:23

[CS:GO] Retakes 2vs2 Edition
 
6 Attachment(s)
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.

ambn 06-09-2017 10:39

Re: [CS:GO] Retakes 2vs2 Edition
 
Quote:

**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.

waylander3 06-10-2017 07:05

Re: [CS:GO] Retakes 2vs2 Edition
 
1 Attachment(s)
Russian translate for 1.9.3
Also changed cvar !a4 !a1 for !m1 !m4 (looks better for me)
@ambn, please, add translate file :)

ambn 06-10-2017 07:08

Re: [CS:GO] Retakes 2vs2 Edition
 
Quote:

Originally Posted by waylander3 (Post 2527583)
Russian translate for 1.9.3
Also changed cvar !a4 !a1 for !m1 !m4 (looks better for me)
@ambn, please, add translate file :)

Oh thanks dude! I will manage to do that as soon as possible :)

8guawong 06-10-2017 07:33

Re: [CS:GO] Retakes 2vs2 Edition
 
sorry i'm not trying to thread crap
but can't you just set max player to 4 for srcds? then use the retakes plugin by splewis?

ambn 06-10-2017 07:36

Re: [CS:GO] Retakes 2vs2 Edition
 
Quote:

Originally Posted by 8guawong (Post 2527593)
sorry i'm not trying to thread crap
but can't you just set max player to 4 for srcds? then use the retakes plugin by splewis?

This one is for 2vs2 matches and can be used in servers as well, it's your choice to use what plugin you want .

waylander3 06-10-2017 07:39

Re: [CS:GO] Retakes 2vs2 Edition
 
Quote:

Originally Posted by 8guawong (Post 2527593)
sorry i'm not trying to thread crap
but can't you just set max player to 4 for srcds? then use the retakes plugin by splewis?

if i correct understand you:
-maxplayers_override 4
in launch options. it will set max players on your server forced to 4. i think you should edit something in retakes cfg, i see some players options in plugin config, i'll check this later.

EDIT:
sm_retakes_maxplayers: maximum number of players allowed in the game at once

Useless 06-10-2017 12:57

Re: [CS:GO] Retakes 2vs2 Edition
 
Quote:

Originally Posted by waylander3 (Post 2527583)
Russian translate for 1.9.3
Also changed cvar !a4 !a1 for !m1 !m4 (looks better for me)
@ambn, please, add translate file :)

Russian translation is good, but the plugin does not compile.

//// 2vs2_1.9.3_rus.sp
//
// 2vs2_1.9.3_rus.sp(43) : error 017: undefined symbol "Command_A1"
// 2vs2_1.9.3_rus.sp(44) : error 017: undefined symbol "Command_A4"
//
// 2 Errors.
//
// Compilation Time: 0,36 sec
// ----------------------------------------

ambn 06-10-2017 12:59

Re: [CS:GO] Retakes 2vs2 Edition
 
Quote:

Originally Posted by Useless (Post 2527645)
Russian translation is good, but the plugin does not compile.

//// 2vs2_1.9.3_rus.sp
//
// 2vs2_1.9.3_rus.sp(43) : error 017: undefined symbol "Command_A1"
// 2vs2_1.9.3_rus.sp(44) : error 017: undefined symbol "Command_A4"
//
// 2 Errors.
//
// Compilation Time: 0,36 sec
// ----------------------------------------

He has forgotten to change commands action but btw i'm making a translatable version now.

waylander3 06-10-2017 13:02

Re: [CS:GO] Retakes 2vs2 Edition
 
Quote:

Originally Posted by Useless (Post 2527645)
Russian translation is good, but the plugin does not compile.

//// 2vs2_1.9.3_rus.sp
//
// 2vs2_1.9.3_rus.sp(43) : error 017: undefined symbol "Command_A1"
// 2vs2_1.9.3_rus.sp(44) : error 017: undefined symbol "Command_A4"
//
// 2 Errors.
//
// Compilation Time: 0,36 sec
// ----------------------------------------

Sorry, haven't time for compile it, missed changing m1 m4 cvar changing on some lines :)
Updated version in my upper post, now it compiling :)


All times are GMT -4. The time now is 13:02.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.