Raised This Month: $66 Target: $400
 16% 

Weapon Physics [v2.1] (Nomexous)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   Brad (55)
Nomexous
Member
Join Date: Oct 2007
Old 02-01-2008 , 01:32   Weapon Physics [v2.1] (Nomexous)
Reply With Quote #1

Weapon Physics (Nomexous)

Updated to version 2.1

After coding my Lie Flat plugin, I realized that I wasn't satisfied with the basic physics of objects in CS. So I set about coding this plugin. You guys are going to love it.

Features:
  • Weapon bouncing: Before, if you dropped an item, it would simply plop itself on the ground. Now, items will bounce a little when dropped. Collisions with solid objects will produce a clattering noise.
  • Explosions propel items: Pile up a bunch of guns, and throw a grenade. Watch those guns skitter away. The closer the explosion is to the item, the faster it's propelled away. Items will spin!
  • Armoury_entities: Changelevel to fy_iceworld. Throw a grenade at the items neatly lined up. Yep, not so neat anymore. Grenades on an FY map will never be fair again.
  • Shooting items: Simply point and shoot. Items will react to the gunshot. This is disabled by default; access the menu to turn it on.
To access the menu, type "amx_weapon_physics_menu" in your console. Enabling or disabling options in this plugin will only work from the menu.

I think this is mostly mod-inspecific. If you find other classnames that physics can be applied to, please tell me so I can add them.

This plugin will now compile on this site's compiler. However, the Ham Sandwich module is still required. See below for your version of AMXX.

For AMXX 1.8.0 users:
The Ham Sandwich module comes with v1.8.0 by default. Simply add "hamsandwich" to your modules.ini. It is recommended that you compile this plugin locally.

For AMXX 1.76 users:
This version of AMXX does not come with the Ham Sandwich module by default. Download the attachment on this post and put the files in their corresponding directories. Add "hamsandwich" to your modules.ini. Then either compile locally, or use the "Get plugin" link.
Attached Files
File Type: sma Get Plugin or Get Source (weaponphys.sma - 13970 views - 12.2 KB)

Last edited by Nomexous; 02-09-2008 at 16:57. Reason: Version 2.1
Nomexous is offline
imindfreak
Senior Member
Join Date: Oct 2007
Location: 127.0.0.1
Old 02-01-2008 , 01:48   Re: Weapon Physics (Nomexous)
Reply With Quote #2

interesting. kinda funny about physics
__________________
BeastGaming Community - Map Maker & Coder.
imindfreak is offline
eXtinct
Member
Join Date: Sep 2007
Location: Bay Area, CA
Old 02-01-2008 , 02:18   Re: Weapon Physics (Nomexous)
Reply With Quote #3

your a madman! but genius....GENIUS I TELL YOU!
__________________
eXtinct . it'll all be over very soon .

eXtinct is offline
hoboman
Senior Member
Join Date: Jul 2007
Old 02-01-2008 , 02:43   Re: Weapon Physics (Nomexous)
Reply With Quote #4

wow dude that sounds pretty awesome...i am gonna try it as soon as i can
__________________
hoboman is offline
TheRadiance
Senior Member
Join Date: Nov 2007
Location: Kazakhstan
Old 02-01-2008 , 04:32   Re: Weapon Physics (Nomexous)
Reply With Quote #5

gj man
I Like it
++
TheRadiance is offline
Send a message via ICQ to TheRadiance
lIl_sAiNt
BANNED
Join Date: Nov 2007
Location: krypton
Old 02-01-2008 , 06:32   Re: Weapon Physics (Nomexous)
Reply With Quote #6

WoW,WoW,wOW i install the plug and it works great,
-IF YOU CAN DO THIS WITH THE PLAYERS(I MEAN DEAD players) THAN U'R THE MAAAAAN
-OH MY GOOOOOOD,I LOVE IT
-good job dude
lIl_sAiNt is offline
lIl_sAiNt
BANNED
Join Date: Nov 2007
Location: krypton
Old 02-01-2008 , 07:10   Re: Weapon Physics (Nomexous)
Reply With Quote #7

oh,and one more,can u make it like when u shot at the weapons to make them slide on the floor,
-that will be awesome
+KARMA
lIl_sAiNt is offline
chris
Senior Member
Join Date: Mar 2007
Location: America
Old 02-01-2008 , 08:27   Re: Weapon Physics (Nomexous)
Reply With Quote #8

You have..the most amazing plugins. + Karma
__________________
chris is offline
Send a message via AIM to chris
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 02-01-2008 , 08:55   Re: Weapon Physics (Nomexous)
Reply With Quote #9

i think you should add a cvar to be able to turn this plugin off. Its always good to have one
__________________

Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
FuZ!on
Senior Member
Join Date: Aug 2007
Old 02-01-2008 , 22:59   Re: Weapon Physics (Nomexous)
Reply With Quote #10

So this is basically copying the guns in source when they are dropped and what not? Pretty cool idea. Great Job!
FuZ!on 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 07:14.


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