Raised This Month: $ Target: $400
 0% 

Drop Defuser Kit


Post New Thread Reply   
 
Thread Tools Display Modes
Freaky frank
Member
Join Date: Jul 2004
Location: Belgium
Old 10-15-2004 , 15:24  
Reply With Quote #11

hey BigBaller,

When will be 0.20 official relased , it thakes forever

Because i dont like the nightly build thingy , after every update a plugin wont work then.

Love amxx
Freaky frank is offline
Kamikaze
Senior Member
Join Date: Mar 2004
Location: Butler, PA
Old 12-10-2004 , 13:59  
Reply With Quote #12

Can you make it so you drop the defuser when you die like on CZ.
Kamikaze is offline
Send a message via ICQ to Kamikaze Send a message via AIM to Kamikaze Send a message via MSN to Kamikaze Send a message via Yahoo to Kamikaze
DS
SourceMod Developer
Join Date: Sep 2004
Location: WI, USA
Old 12-10-2004 , 16:33  
Reply With Quote #13

Quote:
Originally Posted by Kamikaze
Can you make it so you drop the defuser when you die like on CZ.
If I'm not mistaken, you already do drop the defuser kit when you die in CS 1.6. That is why there is already the model and whatnot for it. The only thing I remember from CZ that definitely is different from 1.6 is that you drop grenades when you die. It's possible that's what you're thinking of. But the defuser gets dropped on death in both versions.
__________________
エル・プサイ・コングルゥ
DS is offline
Kamikaze
Senior Member
Join Date: Mar 2004
Location: Butler, PA
Old 12-11-2004 , 04:38  
Reply With Quote #14

Oh yea, I was thinking about the grenades, my bad.

There's a plugin arleady released that does that by the way.

I do like your plugin, it's a cool idea being able to drop a defuser because I use it to buy teammates defusers if they don't have the money to buy one (teamwork )
Kamikaze is offline
Send a message via ICQ to Kamikaze Send a message via AIM to Kamikaze Send a message via MSN to Kamikaze Send a message via Yahoo to Kamikaze
breaddawson
Senior Member
Join Date: Jul 2004
Location: Beijing,China
Old 12-11-2004 , 05:19  
Reply With Quote #15

i think someone made this plugin before,Kamikaze

maybe that's what u want

see this:

http://forums.alliedmods.net/showthread.php?t=7747
__________________
i'm bread dawson ,a chinese boy
wish u be happy~
breaddawson is offline
Send a message via ICQ to breaddawson Send a message via MSN to breaddawson
Kamikaze
Senior Member
Join Date: Mar 2004
Location: Butler, PA
Old 12-11-2004 , 14:56  
Reply With Quote #16

I know, I did say that didn't I?
Kamikaze is offline
Send a message via ICQ to Kamikaze Send a message via AIM to Kamikaze Send a message via MSN to Kamikaze Send a message via Yahoo to Kamikaze
VEN
Veteran Member
Join Date: Jan 2005
Old 11-08-2005 , 10:46  
Reply With Quote #17

Code:
register_event("ResetHUD", "defkit_cleanup", "b")
This is logically wrong to use this event for cleaning dropped defkit.
Because "defkit_cleanup" function would be called
1. On client connect
2. On client spawn
3. On appropriate client command (considered as exploit)
Also this isn't rationally to call this function N times where N - number of spawned clients for example.

My opinion: this function should be called only on round start.
VEN is offline
DS
SourceMod Developer
Join Date: Sep 2004
Location: WI, USA
Old 04-17-2006 , 18:45  
Reply With Quote #18

After over a year, I have released a new version of this plugin (1.50). I rewrote a fair amount of the code, hence the sort of large version bump. The biggest change is the fact that it no longer relies on ResetHUD which fixes quite a few issues.
DS is offline
Casio
Member
Join Date: Jan 2005
Old 04-18-2006 , 22:22  
Reply With Quote #19

Damaged Soul, can I ask how you found out the name of the defuser kit? i.e "item_thighpack". I have being trying to figure out how to get the name of items, weapons etc. but have been unsuccessful, can you or anyone else help me out please?
Casio is offline
DS
SourceMod Developer
Join Date: Sep 2004
Location: WI, USA
Old 04-19-2006 , 01:47  
Reply With Quote #20

Quote:
Originally Posted by Casio
Damaged Soul, can I ask how you found out the name of the defuser kit? i.e "item_thighpack". I have being trying to figure out how to get the name of items, weapons etc. but have been unsuccessful, can you or anyone else help me out please?
Well, I think this is a question more suited to the Scripting Help board, but I just knew it because it sort of is common knowledge I thought.

But a good place to find entity names however is on the supported mods page of the Metamod web site. If you click on the links that say [ents] next to each mod name you'll get a list of entities/items for each mod. For example, the CS 1.6 entity list is here: http://metamod.org/dl/metamod/ents/cstrike. Then you could just experiment by creating those entities with the create_entity and DispatchSpawn natives and see which one is which if you don't already know.

And finally you could also try using the Entity Info plugin which lets you point at things and it will tell you the classname of the entity among other pieces of information.

Hope that helped you.
DS 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 13:36.


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