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

Lie Flat (Nomexous)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   Brad (55)
Nomexous
Member
Join Date: Oct 2007
Old 01-30-2008 , 14:37   Lie Flat (Nomexous)
Reply With Quote #1

Lie Flat (Nomexous)

Generally, when you drop an item on a sloped surface in CS, it doesn't lie flat. The game sets the object's pitch and roll as if it were always on a flat surface. Using this plugin, dropped items, grenades, and the bomb will now lie flat on the surface beneath them.

There are no console commands; simply add this plugin in your plugins.ini, and changelevel or restart your server.

I've only tested this in CS. It's possible to use it with other mods; however, you may need to change the classnames to suit your needs.

This plugin is short, but you wouldn't believe the amount of research it took to find the proper way to align objects to the ground. There were many other more complicated ways I tried that didn't work. If you include this code in your own plugin, please credit me.

Check out the screenshots below.
Attached Thumbnails
Click image for larger version

Name:	bomb.jpg
Views:	37231
Size:	17.7 KB
ID:	23244   Click image for larger version

Name:	weapons.jpg
Views:	44314
Size:	33.4 KB
ID:	23245   Click image for larger version

Name:	grenades.jpg
Views:	40107
Size:	23.4 KB
ID:	23246  
Attached Files
File Type: sma Get Plugin or Get Source (lie_flat.sma - 11196 views - 3.1 KB)

Last edited by Nomexous; 02-03-2008 at 11:31.
Nomexous is offline
 



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 22:25.


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