Lie Flat (Nomexous)

Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 4444
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

Lie Flat (Nomexous)

Post by greenie »

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.

Image

Image

plugin
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️

βœ… GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to β€œFun Stuff”