Raised This Month: $99 Target: $400
 24% 

Protect The VIP ( 16/06/2013 )


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
Blizzard_87
AlliedModders Donor
Join Date: Oct 2012
Old 06-15-2013 , 01:21   Protect The VIP ( 16/06/2013 )
Reply With Quote #1

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 028PM
- 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
.
Attached Files
File Type: zip tvip.zip (1.48 MB, 234 views)
File Type: zip vip.zip (1.42 MB, 199 views)
File Type: sma Get Plugin or Get Source (Protect-The-VIPv102.sma - 746 views - 18.1 KB)
__________________

Last edited by Blizzard_87; 05-03-2015 at 09:33.
Blizzard_87 is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 06-15-2013 , 03:23   Re: Protect The VIP
Reply With Quote #2

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.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
Blizzard_87
AlliedModders Donor
Join Date: Oct 2012
Old 06-15-2013 , 03:36   Re: Protect The VIP
Reply With Quote #3

Quote:
Originally Posted by hornet View Post
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...
__________________

Last edited by Blizzard_87; 06-15-2013 at 04:29.
Blizzard_87 is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 06-15-2013 , 04:12   Re: Protect The VIP
Reply With Quote #4

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 ;)
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
Blizzard_87
AlliedModders Donor
Join Date: Oct 2012
Old 06-15-2013 , 04:44   Re: Protect The VIP
Reply With Quote #5

I will make the edits when I get back to computer
__________________
Blizzard_87 is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Portugal
Old 06-15-2013 , 08:19   Re: Protect The VIP
Reply With Quote #6

Oh god you did it fast xD
Afraid i tried to create it too?
Didnt looked at code yet but from your description, gj ;)
__________________
Jhob94 is offline
Smatify
Senior Member
Join Date: Nov 2012
Location: Where ever you want
Old 06-15-2013 , 08:47   Re: Protect The VIP
Reply With Quote #7

PHP Code:
show_dhudmessageT_VIP"Your The VIP!, Be Careful"


PHP Code:
show_dhudmessageT_VIP"You are The VIP!, Be Careful"
or am I wrong?
__________________
Selling Hosting stuff such as Webspace and Game- & VoiceServer

I'm also selling Steam Keys.
For more informations, contact me.

(Homepage is under development)

Last edited by Smatify; 06-15-2013 at 08:47.
Smatify is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 06-15-2013 , 09:44   Re: Protect The VIP
Reply With Quote #8

Quote:
Originally Posted by Smatify View Post
PHP Code:
show_dhudmessageT_VIP"Your The VIP!, Be Careful"


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..
__________________
Kia is offline
oxygen935
Veteran Member
Join Date: Jun 2012
Location: Athens, Greece
Old 06-15-2013 , 10:32   Re: Protect The VIP
Reply With Quote #9

Good Work Blizzard, this suits great on multimod server...
__________________
Quote:
Originally Posted by quark View Post
You're a genius
Stopped any pawn work cause of university for computer science

--- Hey its nima, stop chatting shit.

Last edited by oxygen935; 06-15-2013 at 10:32.
oxygen935 is offline
Send a message via Skype™ to oxygen935
Blizzard_87
AlliedModders Donor
Join Date: Oct 2012
Old 06-15-2013 , 17:43   Re: Protect The VIP
Reply With Quote #10

Quote:
Originally Posted by Jhob94 View Post
Oh god you did it fast xD
Afraid i tried to create it too?
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 View Post
PHP Code:
show_dhudmessageT_VIP"Your The VIP!, Be Careful"


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 View Post
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 View Post
Good Work Blizzard, this suits great on multimod server...
thanks.
__________________
Blizzard_87 is offline
Reply


Thread Tools
Display Modes

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 16:01.


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