AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSS/ANY?] Quake Style Weapon Floating (https://forums.alliedmods.net/showthread.php?t=312579)

ZyLx 12-08-2018 17:12

[CSS/ANY?] Quake Style Weapon Floating
 
2 Attachment(s)
Quake Style Weapon Floating

Description:
The weapons lying on the ground will rotate like the weapons from Quake.
Requirements:
VPhysics
CVars:
The configuration file is automatically created by the path: cfg/sourcemod/qswf.cfg
Code:

sm_qswf_version - The version of the plugin
sm_qswf_enabled - Enable or disable the plugin
sm_qswf_motion - Enable or disable the motion of the weapon (when other factors interact on it)
sm_qswf_speed - The speed of rotation of the weapon

Media:


zipcore 12-09-2018 02:05

Re: [CSS/ANY?] Quake Style Weapon Floating
 
Well done

uraganas 12-09-2018 07:25

Re: [CSS/ANY?] Quake Style Weapon Floating
 
Nice :D

RaZ_HU 01-08-2019 07:43

Re: [CSS/ANY?] Quake Style Weapon Floating
 
Nice, players like(d) it in CS16 too.

Bacardi 01-08-2019 07:54

Re: [CSS/ANY?] Quake Style Weapon Floating
 
gta :D

FulliFR 07-21-2020 13:11

Re: [CSS/ANY?] Quake Style Weapon Floating
 
Hello
Is there a way for CSS to just rotate and hover the bomb and health pack? All other weapons should stay on the ground if possible.
Thank you for your answers.
Fulli

Andrej730 04-06-2022 13:34

Re: [CSS/ANY?] Quake Style Weapon Floating
 
I've made floating money bundles using your technique, it's beautiful.

I have some warning that you should know before using the plugin- if you have really many entities on the map it could get laggy because it iterates EVERY FRAME over all entities to filter weapons out of them and to make them float. There's probably more efficient way to make it work.

In my case all my money bundles were the same class entities ("prop_physics_multiplayer") - so instead of iterating over all entities I've used "FindEntityByClassname(entity, "prop_physics_multiplayer")" to iterate just over required kind of entities.

https://i.imgur.com/v7xeyo0.jpeg

L4D2Noob 04-07-2022 12:41

Re: [CSS/ANY?] Quake Style Weapon Floating
 
Quote:

Originally Posted by Andrej730 (Post 2775987)
I've made floating money bundles using your technique, it's beautiful.

I have some warning that you should know before using the plugin- if you have really many entities on the map it could get laggy because it iterates EVERY FRAME over all entities to filter weapons out of them and to make them float. There's probably more efficient way to make it work.

In my case all my money bundles were the same class entities ("prop_physics_multiplayer") - so instead of iterating over all entities I've used "FindEntityByClassname(entity, "prop_physics_multiplayer")" to iterate just over required kind of entities.

https://i.imgur.com/v7xeyo0.jpeg

The author of this post says:
https://www.youtube.com/watch?v=GbuL...trike%3ASource


All times are GMT -4. The time now is 14:55.

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