AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   GATHER SYSTEM PUG Mod (https://forums.alliedmods.net/showthread.php?t=311276)

Hartmann 10-10-2018 14:00

GATHER SYSTEM PUG Mod
 
GATHER SYSTEM PUG Mod
v1.0-Test


https://i.imgur.com/QOToSFg.jpg

DESCRIPTIONS:
This is an automatic system. Allows playing mix match without admin.
Features:
- Player after connect ready after 10 second.
- Map vote when 10(cvar) players ready.
- After the map changes, the captain votes begins.
- The captains choose their teams and the match begins.
- Team tag a. = CT; b. = TT, and skillpoints on name <skill> . Name look TeamTag.PlayerName <skillpoints> example: a.name<123> or b.name<123>
- exec esl.cfg
- Demo record for every player. Demo start when the match start. Demo name is mapname_-_steamidofplayer.dem example: de_dust2_-_STEAM_ID.dem
- Hostname score. Score update on server name.
- Score show on hud in freeze time.
- Afk kicker.
- Mirror friendly fire damage. When you shoot to your teammate the damage hits on you and not in your teammate.
- Match end if three player leave match. (checking three times after end).
- Spec don't allowed, kick every on spec(chect time 20 seconds).
- Player without team bee kick.
- Maps read from maps.ini
- Match end when one team get score 16, or 15 - 15 score.
Commands:
.score - Show score
.kick player reason - kick player
.info player cvar - info player cvar value
.map mapname - changemap
.ready map/cpt - Match start. Map: vote map Cpt captain vote
.ff on/off - Enable/disable friednly fire.
.stop - End match.
Cvars:
All cvars in amxmodx/configs/gathersystem.cfg

gs_prefix "!gGather :" // Prefix in chat message
gs_nick "1" // On-Off team tag and skillpoints
gs_tag "1" // On-Off Team Tag
gs_skill "1" // On-Off skill points on name
gs_amount "10" // Need player for start
gs_afktime "90" // Afk Time
gs_tag_a "a." // Team A Tag
gs_tag_a "b." // Team B Tag
gs_style "3" // Style Chat Prefix
Credits:
fysiks - Points in Name
Diegorkable - Random Captains and Randomizing Teams
ConnorMcLeod - Mirror Damage, Say Kick
Cheesy Peteza - Afk Kicker
xPaw - Hostname Timeleft
Map Vote - AMXX Team
Exolent - Save Team Score
Alka - Voteban
EaGle/Flicker(rewriten) - Private Message
guipatinador - SkillPoints
Image of mod.

If you find a bug / error, report to me.
This is only TEST version.
If you have problem with chat you must download this.




VIEW Sourcecode on github or DOWNLOAD (gather-master.zip)


Hartmann 10-10-2018 14:01

Re: GATHER SYSTEM PUG Mod
 
Plugin API

If you want use API you must include gather.inc in your code!

Code:

#include < gather >
Gather Plugin have three natives:

Code:

native bool:g_bStart();
Check for prepare, that is time before start match.

Code:

native bool:IsStarted();
Check match start, yes or no.

Code:

native bool:SecondHalf();
Check Second Half Start, yes or no.

Plugin example:

Respawn before match start:
https://github.com/alghtryer/gather/...PI/respawn.sma

Save players kills/deats on match half:
https://github.com/alghtryer/gather/...nAPI/score.sma

Will be soon:
- Statistic on end of match




Alber9091 10-10-2018 15:24

Re: GATHER SYSTEM PUG Mod
 
Great, I can see a perfect replacement of Automix by P1mP, which had alot bugs. I hope your's one will be much more awesome.

Well I have some questions and suggestions.

As Description Says:

- Match end if three player leave match. (checking three times after end).

What if number gs_ammount is less than 10? For Example 6?

Hence I believe another Cvar should be added, gs_leave_endmatch.

Other than this, Everyone is not familiar to PUG Mod and every PUG has its different commands for it.

So, you should add in game ads of commands
And an motd Of Commands And What is there use? At the start of new map or when player joins (task 30 secs?)

And What About adding Multi Lingual Support?

+ There is no command to force start.

Like: .forcestart or just .start (For Admins, If Present)

Hartmann 10-10-2018 19:06

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by Alber9091 (Post 2619196)

- Match end if three player leave match. (checking three times after end).

What if number gs_ammount is less than 10? For Example 6?

Hence I believe another Cvar should be added, gs_leave_endmatch.

Other than this, Everyone is not familiar to PUG Mod and every PUG has its different commands for it.

gs_amount - 3 x 3 = END
It's always three player.

Quote:

Originally Posted by Alber9091 (Post 2619196)
So, you should add in game ads of commands

Ads will be added
Quote:

Originally Posted by Alber9091 (Post 2619196)

And an motd Of Commands And What is there use? At the start of new map or when player joins (task 30 secs?)

Motd is only in player menu on M(change team button).

Quote:

Originally Posted by Alber9091 (Post 2619196)
And What About adding Multi Lingual Support?

Already has, only skillpoints don't have ML supprot

Quote:

Originally Posted by Alber9091 (Post 2619196)
+ There is no command to force start.

Like: .forcestart or just .start (For Admins, If Present)

Already has, admin command .ready map/cpt - Match start. Map: vote map Cpt captain vote

Alber9091 10-11-2018 03:16

Re: GATHER SYSTEM PUG Mod
 
Quote:

gs_amount - 3 x 3 = END
It's always three player.
I mean to say here, there should be possiblity to arrange small PUGs too, so, when Server is being advertised, one can get opportunity to make small Automated Mix's. For which I said. If gs_amount "4" or "3". And Match ends when there are only three players, in initial when your advertise your server, ofc some like and some don't but like to play and leave in between hence there should be defined cvar.

gs_leave_endmatch

Like gs_leave_endmatch, if set to 2, Match should over when there are 2 players in Team, Not 3.

And If Possible Add ML Support For Skills Too + Open Translation Request Thread.

I believe it would be very helpful.

And all other responses are appreciated.
Good Job.

Really Glad to witness your PUG !!!

deprale 11-12-2018 16:58

Re: GATHER SYSTEM PUG Mod
 
the tag & score is effed up

Hartmann 11-14-2018 13:30

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by deprale (Post 2623768)
the tag & score is effed up

Sorry, but don't understand what is problem.

Can you give more details?

JocAnis 11-15-2018 17:48

Re: GATHER SYSTEM PUG Mod
 
didnt test it but i like these automated plugins, gj :)

Hartmann 11-19-2018 14:52

Re: GATHER SYSTEM PUG Mod
 
Quote:

Originally Posted by JocAnis (Post 2624219)
didnt test it but i like these automated plugins, gj :)

Thank you :)

Hartmann 01-17-2019 16:22

Re: GATHER SYSTEM PUG Mod
 
UPDATE POST #2 with Plugin API and two plugin examples!


All times are GMT -4. The time now is 00:34.

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