AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Protect The VIP ( 16/06/2013 ) (https://forums.alliedmods.net/showthread.php?t=218360)

Blizzard_87 06-15-2013 01:21

Protect The VIP ( 16/06/2013 )
 
4 Attachment(s)
Protect The VIP
v1.0.2
by Blizzard_87

ThreadStart
Description
-----------
With this plugin, each new round a random player is selected from each team and set as that teams VIP.
the whole team needs to protect there teams VIP while trying to kill the other teams VIP.
in order to win the round you need to kill the opposites team VIP player, round will end.
its pretty much gameplay from as_oilrig but on every map.

Commands
--------
say /vrank - shows a color message with your current stats for PTV Stats
say /vtop15 - shows MOTD with current top15 players ranking top who killed Most VIP's

Plugin Installation
-------------------
im not really good at explaining install info, but here goes ( if someone wants to rewrite the install to easy read please do lol )

you only need to worry about this special install instructions if you use amx_ptv_forcemode "0" which uses Round Terminator which requires Orpheu!.

all included files are attached to install Orpheu and Round Terminator on your server.
more detailed install instructions are in its thread here

you also need to compile Protect-The-VIP.sma locally with the round_terminator.inc file.


use the Get Plugin Link at bottom.

Models
--------
unzip the models and place the folders into the models/player/ folder.

Credits
--------
hornet - suggesting change client_connect and optimize code for easier reading.

Requirement
-----------------
It has been brought to my attention thanks (ANTICHRISTUS), that i should of noted that this plugin requires the nVault_Util include which isnt supported by the online compiler which i thought it was sorry guys.
Link To Include File Directly Here
Link To nVault_Util Include Thread On Howto Install/Use Here
download both SMA and INC file then goto this site Here and Compile if you dont know howto compile locally.

ChangeLog
------------
June 16/06/2013 02:38PM
- v1.0.2 -
[ CHANGED ] the way round end is forced, switches team to spec then back again
does not require Orpheu or Round Terminator anymore.
June 15/06/2013 06:50PM
- v1.0.1 -
[ CHANGED ] client_connect to client_putinserver ( thanks hornet )
[ OPTIMIZED ] made code slightly easier to read as suggested by hornet.
June 15/06/2013
- v1.0.0 - Inital Release

Plugin Download Count
42+ Current


ThreadEnd
.

hornet 06-15-2013 03:23

Re: Protect The VIP
 
Since Orpheu Module might get updated, you should link to the module's thread instead. I'll have a look at the plugin on my pc.

Blizzard_87 06-15-2013 03:36

Re: Protect The VIP
 
Quote:

Originally Posted by hornet (Post 1970650)
Since Orpheu Module might get updated, you should link to the module's thread instead. I'll have a look at the plugin on my pc.

edited post with Orpheu words linked to thread...

hornet 06-15-2013 04:12

Re: Protect The VIP
 
All I'd really recommend for now is changing client_connect() to authorised or putinserver so the loading function isn't called as often. ( That way people connecting and disconnecting immediately won't have any effect ). And perhaps also maybe a bit of line separation after new vars or operators, to an extent of course. That part's just my opinion really, but I think it would be more readable ;)

Blizzard_87 06-15-2013 04:44

Re: Protect The VIP
 
I will make the edits when I get back to computer

Jhob94 06-15-2013 08:19

Re: Protect The VIP
 
Oh god you did it fast xD
Afraid i tried to create it too? :3
Didnt looked at code yet but from your description, gj ;)

Smatify 06-15-2013 08:47

Re: Protect The VIP
 
PHP Code:

show_dhudmessageT_VIP"Your The VIP!, Be Careful"

:arrow:

PHP Code:

show_dhudmessageT_VIP"You are The VIP!, Be Careful"

or am I wrong?

Kia 06-15-2013 09:44

Re: Protect The VIP
 
Quote:

Originally Posted by Smatify (Post 1970772)
PHP Code:

show_dhudmessageT_VIP"Your The VIP!, Be Careful"

:arrow:

PHP Code:

show_dhudmessageT_VIP"You are The VIP!, Be Careful"

or am I wrong?

You asked me how to write it and then you post it here with the question if it's wrong.
Great Job, Sascha, great job.. :)

oxygen935 06-15-2013 10:32

Re: Protect The VIP
 
Good Work Blizzard, this suits great on multimod server...

Blizzard_87 06-15-2013 17:43

Re: Protect The VIP
 
Quote:

Originally Posted by Jhob94 (Post 1970758)
Oh god you did it fast xD
Afraid i tried to create it too? :3
Didnt looked at code yet but from your description, gj ;)

thanks Jhob94 the only thing that took me a while was the forcing team win.. then i decided to use cvar so you could choose to use slaying teams or use the Round Terminator which requires Orpheu.

Quote:

Originally Posted by Smatify (Post 1970772)
PHP Code:

show_dhudmessageT_VIP"Your The VIP!, Be Careful"

:arrow:

PHP Code:

show_dhudmessageT_VIP"You are The VIP!, Be Careful"

or am I wrong?

your not wrong, but thats just how ive got it set... if enough people like it i might add ML.

Quote:

Originally Posted by Kia (Post 1970792)
You asked me how to write it and then you post it here with the question if it's wrong.
Great Job, Sascha, great job.. :)

dont understand what you mean and whos Sascha?

Quote:

Originally Posted by oxygen935 (Post 1970820)
Good Work Blizzard, this suits great on multimod server...

thanks.


All times are GMT -4. The time now is 06:15.

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