Raised This Month: $7 Target: $400
 1% 

[ANY] Trigger Mapentity


Post New Thread Reply   
 
Thread Tools Display Modes
Author
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Plugin ID:
1865
Plugin Version:
1.1.0
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows admins to list and trigger mapentity's via command from console.
    Old 08-08-2010 , 10:01   [ANY] Trigger Mapentity
    Reply With Quote #1

    Trigger Mapentity 1.1.1

    --------------------------------
    REQUIREMENTS:
    --------------------------------
    Description:

    This Plugin allows admins to list and trigger mapentity's via command from console.
    This is very useful when you need to trigger For Example: an "jail-door" or a "lasser-barricade" in the map.

    It's possible to set access for trigger commands.
    Very useful for Jail-Servers.

    Admin need ADMFLAG_CUSTOM1 to use the trigger commands.
    --------------------------------
    Thanks to:

    Monkeys and rcarm

    --------------------------------
    CVARS:
    • sm_trigger_mapentity_version
      • Show Plugin Version
    • sm_trigger_mapentity_enable
      • Enable/Disable the trigger function
      • Default: "1"
    • sm_trigger_mapentity_access
      • Set access to use trigger
      • 1 = Ingame
      • 2 = Extern (e.g. Rcon HLSW)
      • 3 = Both
      • Default: "1"
    • sm_trigger_mapentity_access_cs
      • Set access to use trigger "ingame" if mod = Counter-Strike
      • 1 = Teamless
      • 2 = Spectator
      • 4 = Terrorists
      • 8 = Counter-Terrorists
      • (e.g. 12 = "T" and "CT")
      • Default: "15"
    • sm_trigger_mapentity_list
      • List all available entitys in the map
    • sm_trigger_mapentity
      • Trigger a mapentity <class> <name> <input>
    --------------------------------
    Example:

    To trigger a button with name "Button_Lighton" use:

    Code:
    sm_trigger_mapentity func_button Button_Lighton Press
    --------------------------------
    Changelog:
    • 1.1.1 ( 2016-02-14 )
      • Fix access for triggers.
    • 1.1.0 ( 2016-02-05 )
      • Add updater support.
      • Add access for triggers.
      • Add AutoExecConfig.
      • Fix classname is invalid (Thx to SHAREN).
    • 1.0.0 ( 2010-08-08 )
      • Release
    Attached Files
    File Type: smx trigger_mapentity.smx (6.9 KB, 452 views)
    File Type: sp Get Plugin or Get Source (trigger_mapentity.sp - 465 views - 8.3 KB)
    __________________



    Sorry for my very bad english
    Greetings HSFighter

    Last edited by HSFighter; 02-14-2016 at 12:05.
    HSFighter is offline
    Send a message via ICQ to HSFighter
    HSFighter
    Veteran Member
    Join Date: Aug 2007
    Location: Flensburg - Germany
    Old 08-08-2010 , 11:11   Re: Trigger Mapentity
    Reply With Quote #2

    *** reserved ***
    __________________



    Sorry for my very bad english
    Greetings HSFighter

    Last edited by HSFighter; 08-08-2010 at 11:33.
    HSFighter is offline
    Send a message via ICQ to HSFighter
    Mecha the Slag
    Veteran Member
    Join Date: Jun 2009
    Location: Denmark
    Old 08-08-2010 , 15:32   Re: Trigger Mapentity
    Reply With Quote #3

    great idea, good job!
    __________________
    Mecha the Slag is offline
    noodleboy347
    AlliedModders Donor
    Join Date: Mar 2009
    Old 08-08-2010 , 15:51   Re: Trigger Mapentity
    Reply With Quote #4

    It's easier to just strip the cheat flags from ent_fire
    noodleboy347 is offline
    HSFighter
    Veteran Member
    Join Date: Aug 2007
    Location: Flensburg - Germany
    Old 08-09-2010 , 06:04   Re: Trigger Mapentity
    Reply With Quote #5

    Quote:
    Originally Posted by noodleboy347 View Post
    It's easier to just strip the cheat flags from ent_fire
    Nice Idea

    The "sm_trigger_mapentity" is a fine admin level required to access authorization
    if you want to trigger mapentity's over the "custom admin menu"

    ent_fire is a very nice debug function for mappers ^^
    I love this command when i try to map a level.
    __________________



    Sorry for my very bad english
    Greetings HSFighter

    Last edited by HSFighter; 08-09-2010 at 06:20.
    HSFighter is offline
    Send a message via ICQ to HSFighter
    Snaggle
    AlliedModders Donor
    Join Date: Jul 2010
    Location: England
    Old 12-30-2011 , 15:54   Re: [ANY] Trigger Mapentity
    Reply With Quote #6

    Been using this plugin for a while, it's very handy. I have a question though, is it at all possible to target entities that don't have names? Would a hammerID be useful at all or is this just not used in the game?
    Snaggle is offline
    HSFighter
    Veteran Member
    Join Date: Aug 2007
    Location: Flensburg - Germany
    Old 01-02-2012 , 12:01   Re: [ANY] Trigger Mapentity
    Reply With Quote #7

    hmmm... I'm going to take a look of this.
    __________________



    Sorry for my very bad english
    Greetings HSFighter

    Last edited by HSFighter; 01-02-2012 at 12:04.
    HSFighter is offline
    Send a message via ICQ to HSFighter
    Snaggle
    AlliedModders Donor
    Join Date: Jul 2010
    Location: England
    Old 01-02-2012 , 13:40   Re: [ANY] Trigger Mapentity
    Reply With Quote #8

    Quote:
    Originally Posted by HSFighter View Post
    hmmm... I'm going to take a look of this.
    Much appreciated
    Snaggle is offline
    SHAREN
    Senior Member
    Join Date: Dec 2011
    Old 02-25-2012 , 03:01   Re: [ANY] Trigger Mapentity
    Reply With Quote #9

    Make that a command can use only the CT, for Jail. And logs

    Last edited by SHAREN; 02-25-2012 at 03:05.
    SHAREN is offline
    Send a message via Skype™ to SHAREN
    ddhoward
    Veteran Member
    Join Date: May 2012
    Location: California
    Old 09-18-2012 , 04:06   Re: [ANY] Trigger Mapentity
    Reply With Quote #10

    Any updates on targeting nameless entities?

    I would love to be able to trigger certain map functions through the console. There are several buttons on my server's main map that I would love to be able to use without leaving Spectator.

    The map is achievement_apg_remade9j, if that matters.
    ddhoward 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 06:18.


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