AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   QuickDefuse (https://forums.alliedmods.net/showthread.php?t=59736)

pRED* 08-19-2007 17:44

QuickDefuse
 
4 Attachment(s)
QuickDefuse - by pRED*

CT's get a menu to select a wire to cut when they defuse the bomb
- Choose the right wire - Instant Defuse
- Choose the wrong wire - Instant Explosion

If you don't have a defuse kit theres a 50% chance the bomb will still explode if you select the wrong wire

T's also get the option to select the correct wire, otherwise it's random

Ignoring the menu's or selecting exit will let the game continue normally

Cvar: qd_tchoice <1|0> - Enable/Disable terrorists being able to select a wire colour

[IMG]http://img205.**************/img205/5775/ctxk3.jpg[/IMG][IMG]http://img205.**************/img205/1870/97516264xp2.jpg[/IMG]

Changelog:

0.1 - IPO
0.2 - Added menu cancelling on abort of plant/defuse
0.3 - More chat notifications and cvar to disable t choices

Peoples Army 08-19-2007 20:30

Re: QuickDefuse
 
gj :up:


p.s. i was right about the wrong classname huh ?:wink:

tkaway69 08-20-2007 00:15

Re: QuickDefuse
 
Nice. Been Hoping for this.

hazard 08-20-2007 02:08

Re: QuickDefuse
 
It might be cool to have a cvar for how many wires there are. Just a thought.

Rebell 08-20-2007 02:24

Re: QuickDefuse
 
That a funny idea - lol :)

rishi211 08-20-2007 02:31

Re: QuickDefuse
 
A cvar to disable the t's menu and always be a random wire would be cool. Also, anyway to incorporate better odds if the CT has a diffusal kit (if there are 4 total wires to pick from, maybe if the CT has a kit, then there are 2 wires or 3 wires instead of 4?)...just a few thoughts/suggestions.

Nican 08-20-2007 03:04

Re: QuickDefuse
 
rishi211 I was reading the source code...
And if you DON'T have DefuseKit and you do get the right wire, the person still has a 50% change of not exploding...


I am really sorry for giving suggestions on the source code, but I just can't resist to give suggestion/ideas, even if they are stupid things:

Can't you set the bool:kit to a global, make PanelDefuseKit() and PanelNoKit() one, and use:
if (param2 == wire && (kit || GetRandomInt(0,1)))

PureSpider 08-20-2007 09:20

Re: QuickDefuse
 
maybe do a "auto select wire after 5 sec" when you have a defuse kit?

MoggieX 08-20-2007 14:07

Re: QuickDefuse
 
Thought there was 6 wires on the bomb?

http://www.igniq.com/reviews/bomb%20code230904.jpg

Yogi Beer 08-20-2007 15:24

Re: QuickDefuse
 
Cool, loving all the eventscripts stuff comming over... Will install this when I get home and report back on progress.

I also think that the 6 wire optin would be better to have :D


All times are GMT -4. The time now is 17:55.

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