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

Jailbreak doors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Zyten
Senior Member
Join Date: Jan 2018
Old 04-23-2018 , 04:47   Jailbreak doors
Reply With Quote #1

I need plugin to open jailbreak doors automaticly after cretain amount of time

Last edited by Zyten; 07-19-2018 at 18:08.
Zyten is offline
potatoz
AlliedModders Donor
Join Date: Nov 2016
Old 04-23-2018 , 11:14   Re: Jailbreak doors
Reply With Quote #2

This should do the trick (keep in mind that it requires Smart Jail Doors to work)

May be configured through following cvar:
sjd_auto_open_time "20" - How long after round start to open cell doors automatically (if configured), in seconds
Attached Files
File Type: smx sjd_auto_open.smx (4.6 KB, 200 views)
File Type: sp Get Plugin or Get Source (sjd_auto_open.sp - 263 views - 683 Bytes)
__________________
potatoz is offline
Zyten
Senior Member
Join Date: Jan 2018
Old 04-23-2018 , 16:31   Re: Jailbreak doors
Reply With Quote #3

thx m8 can u add if there is no ct its open right away
Zyten is offline
Zyten
Senior Member
Join Date: Jan 2018
Old 04-26-2018 , 07:15   Re: Jailbreak doors
Reply With Quote #4

seems like myjailbreak has that door thing i just didnt figure out i need to save doors to sjd. i need thou the one that open right away if there is no one on ct team
Zyten is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 07-27-2018 , 05:49   Re: Jailbreak doors
Reply With Quote #5

Quote:
Originally Posted by Zyten View Post
seems like myjailbreak has that door thing i just didnt figure out i need to save doors to sjd. i need thou the one that open right away if there is no one on ct team
MyJB has a very extensive cell door feature, but potatoz' code from post #5 should also work as intended. Both need SJD.
If you don't understand how to setup the doors with SmartJailDoors, take a look at the tutorial videos, or contact me:


If the first method doesn't work for a map try these:
__________________
coding & free software

Last edited by shanapu; 07-27-2018 at 05:49.
shanapu is offline
Zyten
Senior Member
Join Date: Jan 2018
Old 07-27-2018 , 06:36   Re: Jailbreak doors
Reply With Quote #6

Quote:
Originally Posted by shanapu View Post
MyJB has a very extensive cell door feature, but potatoz' code from post #5 should also work as intended. Both need SJD.
If you don't understand how to setup the doors with SmartJailDoors, take a look at the tutorial videos, or contact me:


If the first method doesn't work for a map try these:
Shan i know how to set it up and the potatoz code has done very good job.

i do like the future when there is no one on ct doors open right away but i have map which been trolling "func_breakable" its breaks doors even there is cts, so my idea is to make 5 sec delay before check if there is anyone on ct if not they open doors
Zyten is offline
potatoz
AlliedModders Donor
Join Date: Nov 2016
Old 08-16-2018 , 17:42   Re: Jailbreak doors
Reply With Quote #7

Quote:
Originally Posted by Zyten View Post
i do like the future when there is no one on ct doors open right away but i have map which been trolling "func_breakable" its breaks doors even there is cts, so my idea is to make 5 sec delay before check if there is anyone on ct if not they open doors
While your way of saying it makes it slightly hard to understand, i understand it as you wanna be able to set a slight delay before checking whether there are CT's instead of instantly opening if there are none, correct? Either way, that is what i've done to the attached plugin which is an edit of my original in post #5

Use yourself of the cvar "sjd_auto_open_ctcheck_delay" to set the amount of seconds after round start to do the check, keep in mind it is set to 0 (disabled) by default so you'd have to change it to for instance 5, as you said, in order to see any effect

TL;DR; attached is a plugin which does what i assume is what you've asked for, change "sjd_auto_open_ctcheck_delay" to any amount of seconds see the effect
Attached Files
File Type: smx sjd_auto_open.smx (5.1 KB, 67 views)
File Type: sp Get Plugin or Get Source (sjd_auto_open.sp - 81 views - 1.4 KB)
__________________

Last edited by potatoz; 08-16-2018 at 17:42.
potatoz is offline
potatoz
AlliedModders Donor
Join Date: Nov 2016
Old 04-30-2018 , 17:15   Re: Jailbreak doors
Reply With Quote #8

this should do it, untested though
Attached Files
File Type: smx sjd_auto_open.smx (4.8 KB, 238 views)
File Type: sp Get Plugin or Get Source (sjd_auto_open.sp - 249 views - 868 Bytes)
__________________

Last edited by potatoz; 04-30-2018 at 17:15.
potatoz is offline
Zyten
Senior Member
Join Date: Jan 2018
Old 04-30-2018 , 17:56   Re: Jailbreak doors
Reply With Quote #9

thx man that plugin is best

u should share it on plugin section

Last edited by Zyten; 04-30-2018 at 17:56.
Zyten is offline
Zyten
Senior Member
Join Date: Jan 2018
Old 07-19-2018 , 18:02   Re: Jailbreak doors
Reply With Quote #10

Hi can you add 5 sec delay before check if there is no one at ct?

i have had problem that sometimes its opens cells even there is cts
Zyten 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 10:49.


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