Raised This Month: $ Target: $400
 0% 

[ZR] Commander for zombie escape (Alpha version still under construction)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Plugin ID:
4934
Plugin Version:
a0.2
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    A commander plugin for zombiereloaded servers to prevent door hugging and incentivate more players defending in zombie escape
    Old 12-04-2015 , 17:49   [ZR] Commander for zombie escape (Alpha version still under construction)
    Reply With Quote #1

    Warning: This is a Alpha version still in construction and only have the basic for a commander plugin.


    Description:

    This plugin was throght to prevent door hugging and incentivate more players defending in zombie escape. Probably the best form is creating a commander adapted to the zombiemod that can tell when defend and where to the players, with special chat messages, markers, sounds and more. The commander can be selected in the round start and cant be a mother zombie.


    You could test the plugin here:



    Requeriments:

    Zombiereloaded
    VoiceannounceEX (VoiceHook) (optional)


    Natives and forwards:
    PHP Code:
    #if defined _zrcommander_included
      #endinput
    #endif
    #define _zrcommander_included

    /**
     * Checks if any commander exist
     *
     * @true on match , false if not
     */
    native bool zrc_exist();

    /**
     * returns if client is commander
     *
     * @param client        The client to run the check on
     * @true on match, false if not        
     *********************************************************/
    native bool zrc_is(client);

    /**
     * Set a client as commander
     *
     * @param client        The client to set as commander
     * @NoReturn
     */
    native int zrc_set(client);

    /**
     * Removes the current commander if he exists
     *
     * @param client        The commander client to remove
     * @NoReturn    
     */
    native int zrc_remove(client);

    /**
     * Called when a commander has been created.
     *
     * @param client            Client that has been commander.           
     */
    forward void zrc_OnCommanderCreated(client); 

    /**
     * Called when a player is about to be commander.
     *
     * @param client            Client index.      
     * @return        Plugin_Changed to apply new values, Plugin_Continue to allow as is and >= Plugin_Handled to block 
     */
    forward Action zrc_OnCommanderCreate(client); 

    /**
     * Called when a commander left the commander position.
     *
     * @param client            Client index.           
     */
    forward void zrc_OnCommanderLeft(client); 

    Todo list:

    -Modular plugin
    -Commander cant be a mother zombie
    -Nominate a commander in the round start
    -Create a top with the best commanders
    -Can create markers and gets an icon above his head
    -Markers will be:
    Code:
    Defend
    Attack
    Fallback
    -Players which follow his orders get awarded by points
    -The commanders get points based on how much players survived
    -Add a feature to the plugin for make that all the humans look at a point that the commander determine for a better communication of where they should defend.


    Donations (optional):

    If you apreciate my work, you can donate me via paypal or with a trade offer


    Download:

    Main repository
    Direct download
    Code changes



    Suggestions are extremely appreciated
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 04-21-2016 at 12:48.
    Franc1sco is online now
    Send a message via MSN to Franc1sco
    Lord_Rofl
    Senior Member
    Join Date: Aug 2006
    Location: Bad Pyrmont, Germany
    Old 12-04-2015 , 18:16   Re: [ZR] Commander for zombie escape (Alpha version still under construction)
    Reply With Quote #2

    Reserved.
    Lord_Rofl is offline
    whtevrwt
    AlliedModders Donor
    Join Date: Apr 2015
    Old 12-05-2015 , 00:35   Re: [ZR] Commander for zombie escape (Alpha version still under construction)
    Reply With Quote #3

    Maybe an option to have a vote during the beginning of the round (during the countdown of when the mother zombie will spawn) to decide who can be the lead commander. If random people are chosen, it can sometimes cause chaos. A noob can become the lead commander and just completely mess it up for everyone.
    __________________
    whtevrwt is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 12-05-2015 , 09:59   Re: [ZR] Commander for zombie escape (Alpha version still under construction)
    Reply With Quote #4

    Quote:
    Originally Posted by whtevrwt View Post
    Maybe an option to have a vote during the beginning of the round (during the countdown of when the mother zombie will spawn) to decide who can be the lead commander. If random people are chosen, it can sometimes cause chaos. A noob can become the lead commander and just completely mess it up for everyone.
    Yeah, surely I will do it, thanks

    Quote:
    Originally Posted by Lord_Rofl View Post
    Reserved.
    Ehhh... what? xDD
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is online now
    Send a message via MSN to Franc1sco
    Lannister
    Veteran Member
    Join Date: Apr 2015
    Old 12-11-2015 , 13:45   Re: [ZR] Commander for zombie escape (Alpha version still under construction)
    Reply With Quote #5

    Any progress!? im really looking foward this plugin!
    Lannister is offline
    cTmoNe
    AlliedModders Donor
    Join Date: Jul 2010
    Location: Germany
    Old 01-30-2016 , 11:48   Re: [ZR] Commander for zombie escape (Alpha version still under construction)
    Reply With Quote #6

    Quote:
    Originally Posted by Lannister View Post
    Any progress!? im really looking foward this plugin!
    __________________


    cTmoNe is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 02-29-2016 , 17:33   Re: [ZR] Commander for zombie escape (Alpha version still under construction)
    Reply With Quote #7

    Quote:
    Originally Posted by Lannister View Post
    Any progress!? im really looking foward this plugin!
    I have open again a zombie escape server so I have the motivation for continue developing this plugin so surely under next month the plugin will be finished
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 02-29-2016 at 17:34.
    Franc1sco is online now
    Send a message via MSN to Franc1sco
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 04-19-2016 , 17:43   Re: [ZR] Commander for zombie escape (Alpha version still under construction)
    Reply With Quote #8

    Version alpha 0.2

    -Added points system saved with clientprefs.
    -Added msg when the commaner are speaking.
    -Added chat colors for the commander.
    -The commander have inmunity for prevent be the first zombie.


    I will add more features from the todo list soon.
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is online now
    Send a message via MSN to Franc1sco
    Cooky
    Veteran Member
    Join Date: Jun 2010
    Location: 127.0.0.1
    Old 04-21-2016 , 11:19   Re: [ZR] Commander for zombie escape (Alpha version still under construction) 0.2
    Reply With Quote #9

    How does this work? Figured out the !commander command. But how to use it?

    Last edited by Cooky; 04-21-2016 at 11:19.
    Cooky is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 04-21-2016 , 11:31   Re: [ZR] Commander for zombie escape (Alpha version still under construction) 0.2
    Reply With Quote #10

    Quote:
    Originally Posted by Cooky View Post
    How does this work? Figured out the !commander command. But how to use it?
    With !c for now. The plugin still need a lot of features that I will add soon.
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 04-21-2016 at 11:31.
    Franc1sco is online now
    Send a message via MSN to Franc1sco
    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 20:30.


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