Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Survivor Bot Takeover v0.8


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
muukis
Veteran Member
Join Date: Apr 2009
Plugin ID:
1687
Plugin Version:
0.8
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    77 
    Plugin Description:
    Allows survivor players to switch control to a random alive survivor bot.
    Old 05-27-2010 , 10:44   [L4D & L4D2] Survivor Bot Takeover v0.8
    Reply With Quote #1

    Survivor Bot Takeover
    Search for servers running Survivor Bot Takeover: Click here

    An improved version of this plugin coded by user eyal282: Link to post (Thanks! )

    Synopsis
    This plugin allows survivors to takeover the control of alive survivor bot. It seems someone already made something like this in the past [LINK], but I'll continue developing this untill someone tells me to stop?

    Usage
    Call console command sm_takeover (or type !takeover in the chat) or administrators with minimum of GENERIC flag set sm_admintakeover (or type !admintakeover in the chat) and you will jump to next "random" alive survivor bot. Game will ask the player if he/she wants to execute a takeover and if the answer is NO, the player is not asked about the takeover again in that round. The player can however execute the console command if the server is configured to allow that.

    Installation
    Download l4d_takeover.txt and place it to /addons/sourcemod/gamedata. Download the plugin and place it to your plugins directory.

    CVAR list
    The plugin creates a configuration file (l4d_takeover.cfg) which allows the server administrators to adjust some of the CVARs.
    1. l4d_takeover_autodeath (default = "1") Execute a takeover automatically when a player dies. Enabling this will disable the takeover voting.
    2. l4d_takeover_autoincap (default = "0") Execute a takeover automatically when a player incaps.
    3. l4d_takeover_choosingtime (default = "20") Time to cast a takeover choice.
    4. l4d_takeover_manual (default = "1") Allow dead survivor players to execute console command "sm_takeover" to takeover a survivor bot.
    5. l4d_takeover_manualincap (default = "0") Allow incapped survivor players to execute console command "sm_takeover" to takeover a survivor bot.
    6. l4d_takeover_votingenabled (default = "0") Initiate a vote for a takeover when a player dies.
    7. l4d_takeover_votingtime (default = "20") Time to cast a takeover vote.
    8. l4d_takeover_delay (default = "5") Delay after a possible takeover is found and before showing any panels to anyone.
    9. l4d_takeover_requestconf (default = "1") Request confirmation from the player before executing a takeover.
    10. l4d_takeover_finaleonly (default = "0") Allow takeovers only in finale maps.
    11. l4d_takeover_displaybotname (default = "1") Display the bot name when a takeover executes.
    Development plans
    • Initiate a takeover vote when a player dies/incaps (can be disabled with a CVARs). Team members can make sure a team killer or otherwise lamer cannot continue to ruin the game for others.
    • What else...
    Known issues
    • The name of the bot survivor taken over is not always displayed correctly on servers that have more bot/human players than 18.
    Version history
    0.1 - Initial release. Handles only console command that will allow a takeover.
    0.2 - Added automated takeover on player incap and player death.
    0.3 - Some basic CVARs.
    0.4 - More CVARs. Added periodic and event based (defib, revive, disconnect) checks. Added a panel for asking the player whether or not he/she wants to execute the takeover.
    0.5 - New CVAR [#8]. Some fixes and more code for possible takeover detection.
    0.6 - Some fixes and code cleanup.
    0.7 - Bugfixes and more checks to make things (hopefully) work better. Added console command sm_admintakeover to work at any time.
    0.7.1 - Different method for finding a suitable takeover to make things (hopefully) work better.
    0.8 - New CVARs: 9, 10 and 11. Some tweaks and minor fixes.
    Attached Thumbnails
    Click image for larger version

Name:	takeover.jpg
Views:	16930
Size:	78.3 KB
ID:	67360  
    Attached Files
    File Type: sp Get Plugin or Get Source (takeover.sp - 21342 views - 23.5 KB)
    File Type: txt l4d_takeover.txt (1.1 KB, 9691 views)
    __________________
    Monster Hunter

    Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.

    Last edited by muukis; 05-08-2017 at 02:51. Reason: New version
    muukis is offline
     


    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 22:22.


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