Raised This Month: $51 Target: $400
 12% 

[CS:GO] Smart Jail Doors (v0.5.2-beta, 2015-11-18)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Kailo
Senior Member
Join Date: Sep 2014
Location: Moscow, Russia
Plugin ID:
4667
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 06-08-2015 , 17:17   [CS:GO] Smart Jail Doors (v0.5.2-beta, 2015-11-18)
    Reply With Quote #1

    Smart Jail Doors (v0.5.2-beta, 2015-11-18)

    Smart Jail Doors review

    Description
    It's plugin for Jail Break servers. Plugin provides API for creation plugins in which need Open/Close/Toggle jail's doors. Also plugin allows to create custom buttons on map (it helpful on maps with no buttons, example: ba_jail_alcatraz_redux_go).

    Commands
    sm_sjd — admin command with root flag opening plugin menu.
    sm_sjddebug — write in console maps where not exist doors config.
    sm_sjdhm [<name>] — dump in console entity list; handmode menu for certain entity. Tutorial on YouTube

    Cvars
    sjd_buttons_sound_enable (def. "1") — sound switch.
    sjd_buttons_sound (def. "buttons/button3.wav") — sound file.
    sjd_buttons_glow (def. "0") — glow switch.
    sjd_buttons_glow_color (def. "0 150 0") — glow color.
    sjd_buttons_filter (def. "0") — access filter to custom buttons (0 — all, 1 — CT).

    API
    Store in smartjaildoors.inc file which you can find in "addons/sourcemod/scripting/include" folder.
    API Reference

    Also i created plugin sample.

    Installation instructions
    • Dowonload latest release.
    • Unzip all files in "<your server>/csgo" folder. (README.md and ChangeLog.txt isn't required)
    • Change map on server.
    • Configure doors on all maps of your server or download prepared config from this topic (prepared config files will be later)
    • Done.

    Changelog
    Quote:
    2015-11-18 (v0.5.2-beta)
    • Fixed bug, when u can use button in spectate mode.
    • Distance of use increased from 64 to 80.
    Previous Changelog


    Download
    smartjaildoors.zip or https://github.com/Kailo97/smartjaildoors/releases

    Thanks
    Thanks Феникс for some advices about scripting.
    Thanks s.t.v.o.l for help with tests.
    Also thanks all who answer me in this topic.
    Thanks R1KO for advice about loops.

    Last edited by Kailo; 08-29-2016 at 03:04. Reason: v0.5.2-beta release
    Kailo is offline
    Kailo
    Senior Member
    Join Date: Sep 2014
    Location: Moscow, Russia
    Old 06-09-2015 , 12:47   Re: [CS:GO] Smart Jail Doors (v0.1.0-beta, 2015-06-09)
    Reply With Quote #2

    v0.2.0-beta release!
    • Add command sm_sjddebug — write in console maps where not exist doors config.
    • Loops cleanup (Thanks R1KO).
    • Improvement logic of some functions.
    • Global vars rename.

    Last edited by Kailo; 06-09-2015 at 12:53.
    Kailo is offline
    Addicted.
    AlliedModders Donor
    Join Date: Dec 2013
    Location: 0xA9D0DC
    Old 06-09-2015 , 13:30   Re: [CS:GO] Smart Jail Doors (v0.2.0-beta, 2015-06-09)
    Reply With Quote #3

    Wow this looks like a great plugin, a few questions.

    Can we change the type of buttons?

    I know for a few maps the doors are func_breakables along with the vents, is there any way to choose specific entities to work?
    Addicted. is offline
    Kailo
    Senior Member
    Join Date: Sep 2014
    Location: Moscow, Russia
    Old 06-09-2015 , 13:44   Re: [CS:GO] Smart Jail Doors (v0.2.0-beta, 2015-06-09)
    Reply With Quote #4

    Quote:
    Originally Posted by oaaron99 View Post
    Wow this looks like a great plugin, a few questions.

    Can we change the type of buttons?

    I know for a few maps the doors are func_breakables along with the vents, is there any way to choose specific entities to work?
    Plugin support next classes of entity: func_movelinear, func_door, func_door_rotating, prop_door_rotating, func_tracktrain, func_breakable. Then use button plugin automaticly detect door class and send specific input. Also u can add in map config entity with different classes.

    Last edited by Kailo; 06-09-2015 at 13:46.
    Kailo is offline
    Addicted.
    AlliedModders Donor
    Join Date: Dec 2013
    Location: 0xA9D0DC
    Old 06-09-2015 , 14:16   Re: [CS:GO] Smart Jail Doors (v0.2.0-beta, 2015-06-09)
    Reply With Quote #5

    Quote:
    Originally Posted by Kailo View Post
    Plugin support next classes of entity: func_movelinear, func_door, func_door_rotating, prop_door_rotating, func_tracktrain, func_breakable. Then use button plugin automaticly detect door class and send specific input. Also u can add in map config entity with different classes.
    I understand that but for some maps the entity for vents is the same as the doors so opening the doors will open the vents too. I haven't been able to get around that in my own plugin but I was wondering if you had accomplished this or had any thoughts.
    Addicted. is offline
    Kailo
    Senior Member
    Join Date: Sep 2014
    Location: Moscow, Russia
    Old 06-09-2015 , 14:33   Re: [CS:GO] Smart Jail Doors (v0.2.0-beta, 2015-06-09)
    Reply With Quote #6

    Quote:
    Originally Posted by oaaron99 View Post
    I understand that but for some maps the entity for vents is the same as the doors so opening the doors will open the vents too. I haven't been able to get around that in my own plugin but I was wondering if you had accomplished this or had any thoughts.
    Plugin work only with named entities, i don't think that jail's doors and vents will have the same name.

    Last edited by Kailo; 06-09-2015 at 14:34.
    Kailo is offline
    Kailo
    Senior Member
    Join Date: Sep 2014
    Location: Moscow, Russia
    Old 06-09-2015 , 18:09   Re: [CS:GO] Smart Jail Doors (v0.2.1-beta, 2015-06-10)
    Reply With Quote #7

    v0.2.1-beta release!
    • Fix critical bugs.
    • Loops cleanup.
    Kailo is offline
    Addicted.
    AlliedModders Donor
    Join Date: Dec 2013
    Location: 0xA9D0DC
    Old 06-09-2015 , 22:05   Re: [CS:GO] Smart Jail Doors (v0.2.0-beta, 2015-06-09)
    Reply With Quote #8

    Quote:
    Originally Posted by Kailo View Post
    Plugin work only with named entities, i don't think that jail's doors and vents will have the same name.
    There aren't many but just one example:

    jb_minecraft...

    Vents and doors are func_breakable entities.
    Addicted. is offline
    Pohearts
    AlliedModders Donor
    Join Date: Oct 2014
    Location: Hong Kong
    Old 06-10-2015 , 05:28   Re: [CS:GO] Smart Jail Doors (v0.2.1-beta, 2015-06-10)
    Reply With Quote #9

    Looks good, but what about a native bool for checking if current map has 'map config' set?
    __________________
    HoursPlayed.net / Next Level Gaming network
    Pohearts is offline
    Kailo
    Senior Member
    Join Date: Sep 2014
    Location: Moscow, Russia
    Old 06-12-2015 , 15:35   Re: [CS:GO] Smart Jail Doors (v0.3.0-beta, 2015-06-12)
    Reply With Quote #10

    v0.3.0-beta release!
    • Reworked use logic (now more like source engine).
    • Add 'SJD_IsMapConfigured' native.
    • Fix bug in 'IsMapConfigured' logic.
    • Fix bug in 'CheckMapsWithNoDoorsCfg' logic.
    • Loops cleanup.
    Kailo is offline
    Reply



    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 05:28.


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