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

Shoot Weapons (Nomexous)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   Emp` (115)
Nomexous
Member
Join Date: Oct 2007
Old 02-05-2008 , 15:08   Shoot Weapons (Nomexous)
Reply With Quote #1

Shoot Weapons (Nomexous)

This plugin has been integrated into Weapon Physics.

A companion to Weapon Physics, this plugin enables players to move weapons by shooting them. This is mostly mod inspecific; however, you may need to add classnames in order to get this to work for certain items. Sorry, I can't make a sparking effect when you shoot the gun. It's not possible with the method I employ.

To turn on or off, use the command "amx_shoot_weapons <0|1>".

Please tell me about any performance issues, especially if it's regarding CPU usage. This plugin has potential to eat up CPU, though I haven't had any trouble with it so far.

This requires Weapon Physics.
Attached Files
File Type: sma Get Plugin or Get Source (shootweapons.sma - 4203 views - 4.2 KB)

Last edited by Nomexous; 02-06-2008 at 18:39.
Nomexous is offline
Old 02-05-2008, 15:18
FuZ!on
This message has been deleted by FuZ!on.
chris
Senior Member
Join Date: Mar 2007
Location: America
Old 02-05-2008 , 15:23   Re: Shoot Weapons (Nomexous)
Reply With Quote #2

Very nice! Would be cool if you could add a sound of metal hitting.
__________________
chris is offline
Send a message via AIM to chris
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 02-05-2008 , 15:24   Re: Shoot Weapons (Nomexous)
Reply With Quote #3

great, ill test it now
__________________
Voi is offline
Nomexous
Member
Join Date: Oct 2007
Old 02-05-2008 , 15:32   Re: Shoot Weapons (Nomexous)
Reply With Quote #4

Looks like if I add weapon sparks and a hit sound, I'll have to merge this plugin and Weapon Physics. Hmm....
Nomexous is offline
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 02-05-2008 , 18:49   Re: Shoot Weapons (Nomexous)
Reply With Quote #5

then do it
__________________
Voi is offline
hoboman
Senior Member
Join Date: Jul 2007
Old 02-05-2008 , 19:47   Re: Shoot Weapons (Nomexous)
Reply With Quote #6

Quote:
Originally Posted by Nomexous View Post
Please tell me about any performance issues, especially if it's regarding CPU usage. This plugin has potential to eat up CPU, though I haven't had any trouble with it so far.
would you say that weapon physics alone eats up CPU?
__________________
hoboman is offline
Nomexous
Member
Join Date: Oct 2007
Old 02-05-2008 , 20:31   Re: Shoot Weapons (Nomexous)
Reply With Quote #7

Quote:
Originally Posted by hoboman View Post
would you say that weapon physics alone eats up CPU?
No, the physics part is just fine. It's the method employed to find entities to shoot that is a bit expensive.
Nomexous is offline
L33tDeagle
Member
Join Date: Apr 2007
Old 02-05-2008 , 22:04   Re: Shoot Weapons (Nomexous)
Reply With Quote #8

nice nice, try a diff method
+Karma
__________________
-Visit my server some time everyone is welcome-
Server Name: Ss| Clan Server *Recruiting*
Server IP: 69.31.15.225:27016
Also searching for some one to make me a MOTD if your interested hit me up with a PM
-For more info just drop by or Pm me -
L33tDeagle is offline
lIl_sAiNt
BANNED
Join Date: Nov 2007
Location: krypton
Old 02-05-2008 , 22:24   Re: Shoot Weapons (Nomexous)
Reply With Quote #9

Y0 dude do you ever stop,
-you release like 8756765 plugins in less then a week
-and good ones to (ridiculous)
-aaight dude keep up the good work
+++KARMA
lIl_sAiNt is offline
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 02-06-2008 , 00:35   Re: Shoot Weapons (Nomexous)
Reply With Quote #10

you should integrate the two
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow 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:21.


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