Raised This Month: $51 Target: $400
 12% 

RETAKES v1.1


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Hartmann
Senior Member
Join Date: Nov 2014
Old 01-09-2020 , 16:42   RETAKES v1.1
Reply With Quote #1

R E T A K E S v1.1

Code:
Now you can use with ReGameDLL but must turn off auto bomb plant.
v1.1 [22. Jan 2020]
	- Added	eight new cvars.
	- Added buy zone and disable buy.
	- Small bug fixed.
	- Added perment hud message for bombsite info.
The plugin sets up a retake situation in a random site in the map. TT plant bomb and CT have 40 seconds to defuse.
TT spawned on bombsite( A or B), CT on random spwan depending of where c4 plant(A or B).


Features:
- Warm Up for 30 seconds on map start.
- Auto plant Bomb.
- If CT win, team will be swap.
- If TT win 3(cvar) rounds in row, team well be swap.
- Playing 15(cvar) rounds and map change on nextmap.
- c4 Hud timer.
- Buy Time for 5seconds(cvar).
- Unlock/Remove buy zones.
- If bomb don't plant, round will be restarted. Rounds and player money/kill/deats be returned on same.


Spawn
Every map must have spawn for Site A and B. For now i create 6 CT and 6 T spawn for this map:
- de_dust2, de_inferno, de_mirage, de_train, de_tuscan.


API:
isRetakes() // Check if retakes start.
Rounds() // Check round number.


Cvars:
retakes_rounds "15" // How much playing round for one map
retakes_rowwin "3" // How much T Team can win round in row
retakes_prefix "!g[RETAKES]" // Prefix in chat message
retakes_random_weapons "3" // In which round start giving random weapon(granades and awp)
retakes_autoplant "1" // Auto Plant Bomb is on/off
retakes_buyzone 1 // Unlock/remove buy zone
retakes_warmup_time "30" // Warm Up time min=1
retakes_infohud "1" // Info hud on/off
retakes_buytime "5" // Buy Time
retakes_swapct "1" // On/off Swap CT
retakes_swapt "1" // On/off Swap T
retakes_hudc4timer "1" // On/off c4 hud timer



Important Notes :
You must enable nextmap.amxx.
Auto Plant Bomb don't work with ReGameDLL!!!
Edit mapcycle.txt with maps for retakes
.

Images: https://imgur.com/a/J8ev5N8

Credits:
- Map Spawns // jopmako
- Auto Plant Bomb // xPaw/Arkashine
- c4 Countdown Timer // SAMURAI16

- Disable Buy // Exolent
- Unlock BuyZone // VEN

VIEW Sourcecode on github or DOWNLOAD Master.zip
__________________

RETAKES v1.0
github.com/alghtryer/retakes

Contact : [email protected]

BTC Donate: 1QAh1NLmeHy81LF9r8PaeGjYqHL2BBcJTx


Last edited by Hartmann; 01-26-2020 at 16:18.
Hartmann is offline
Hartmann
Senior Member
Join Date: Nov 2014
Old 01-09-2020 , 16:43   Re: RETAKES v1.0
Reply With Quote #2

Plugin API

Retakes Weapon:

Give a round and random weapon.
Free Armor for all player and defuse for ct team.


Weapon per Rounds:

Code:
Round	| CT		| T		
- - - 	  - - -		  - - -
1.      usp		glock
2.	usp/m5		glock/m5		
3.	usp/famas	glock/galil	
4.-7.	usp/m4a1	glock/ak47	
other	deagle/m4a1	deagle/ak47
Random Weapon:
From third round one player get smoke, one flash(2x), one he and
one player per team get awp and deagle.


https://github.com/alghtryer/retakes.../RetakesWeapon
__________________

RETAKES v1.0
github.com/alghtryer/retakes

Contact : [email protected]

BTC Donate: 1QAh1NLmeHy81LF9r8PaeGjYqHL2BBcJTx


Last edited by Hartmann; 01-26-2020 at 14:38.
Hartmann is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 01-10-2020 , 17:47   Re: RETAKES v1.0
Reply With Quote #3

Guess you should use something like Buy Zone range to let players buy anywhere and then remove the random weapon feature.

Instead of making 3 rounds and switch teams, make it looks like a normal game, X rounds and after Y, change teams.

No need the c4 hud timer since its a normal-game retake simulation (but whatever).

You could make it public, players could choose whichever team to play in and then, the MOD make everyone work as team to retake or defend the bomb planted (if they're as T).

And instead of auto plant bomb, give a random terrorist the C4 and let him plant.

-
I was planning to make it as well, but since you shared first, those were my suggestions.
Good luck ^^
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Foxa
Member
Join Date: Nov 2018
Location: Croatia
Old 01-11-2020 , 19:32   Re: RETAKES v1.0
Reply With Quote #4

I was working on this a while ago but never released it since it was never finished.
I really like that you added the auto C4 plant, but you should remove the bomb timer.
Foxa is offline
yspv
New Member
Join Date: Jan 2020
Old 01-12-2020 , 01:41   Re: RETAKES v1.0
Reply With Quote #5

hello.

L 01/12/2020 - 09:15:21: Invalid CVAR pointer
L 01/12/2020 - 09:15:21: [AMXX] Displaying debug trace (plugin "retakes.amxx", version "1.0")
L 01/12/2020 - 09:15:21: [AMXX] Run time error 10: native error (native "get_pcvar_string")
L 01/12/2020 - 09:15:21: [AMXX] [0] 9516f9f9a9876a479b0b605dda0ccfd5.sma::RoundSt art (line 224)

help plz
yspv is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-12-2020 , 08:31   Re: RETAKES v1.0
Reply With Quote #6

Quote:
Originally Posted by yspv View Post
hello.

L 01/12/2020 - 09:15:21: Invalid CVAR pointer
L 01/12/2020 - 09:15:21: [AMXX] Displaying debug trace (plugin "retakes.amxx", version "1.0")
L 01/12/2020 - 09:15:21: [AMXX] Run time error 10: native error (native "get_pcvar_string")
L 01/12/2020 - 09:15:21: [AMXX] [0] 9516f9f9a9876a479b0b605dda0ccfd5.sma::RoundSt art (line 224)

help plz
read plz

Quote:
Important Notes :
You must enable nextmap.amxx.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
yspv
New Member
Join Date: Jan 2020
Old 01-12-2020 , 13:02   Re: RETAKES v1.0
Reply With Quote #7

Quote:
Originally Posted by OciXCrom View Post
read plz
he works)
yspv is offline
Hartmann
Senior Member
Join Date: Nov 2014
Old 01-26-2020 , 14:41   Re: RETAKES v1.0
Reply With Quote #8

Plugin Update!

Thanks EFFx and Foxa for suggestions.

Code:
Now you can use with ReGameDLL but must turn off auto bomb plant.
v1.1 [22. Jan 2020]
	- Added	eight new cvars.
	- Added buy zone and disable buy.
	- Small bug fixed.
	- Added perment hud message for bombsite info.
__________________

RETAKES v1.0
github.com/alghtryer/retakes

Contact : [email protected]

BTC Donate: 1QAh1NLmeHy81LF9r8PaeGjYqHL2BBcJTx

Hartmann is offline
Scr3am Vi3v3r
Junior Member
Join Date: Nov 2010
Location: Kiev, Ukraine
Old 01-28-2020 , 05:18   Re: RETAKES v1.1
Reply With Quote #9

Very interesting idea.

What about the "Zone Control" system?

Team vs Team

Taking the point and defend from grabbers.

Is it possible to do it?
__________________
Scr3am Vi3v3r is offline
Hartmann
Senior Member
Join Date: Nov 2014
Old 01-28-2020 , 18:20   Re: RETAKES v1.1
Reply With Quote #10

Quote:
Originally Posted by Scr3am Vi3v3r View Post
Very interesting idea.

What about the "Zone Control" system?

Team vs Team

Taking the point and defend from grabbers.

Is it possible to do it?
Can you give more details about that?
__________________

RETAKES v1.0
github.com/alghtryer/retakes

Contact : [email protected]

BTC Donate: 1QAh1NLmeHy81LF9r8PaeGjYqHL2BBcJTx

Hartmann is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:16.


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