Raised This Month: $32 Target: $400
 8% 

[CSS/ANY?] Quake Style Weapon Floating


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ZyLx
New Member
Join Date: Dec 2018
Plugin ID:
6361
Plugin Version:
1.0.0
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    5 
    Plugin Description:
    Floating weapons like a Quake
    Old 12-08-2018 , 17:12   [CSS/ANY?] Quake Style Weapon Floating
    Reply With Quote #1

    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:

    Attached Files
    File Type: smx qswf.smx (6.6 KB, 873 views)
    File Type: sp Get Plugin or Get Source (qswf.sp - 872 views - 3.7 KB)

    Last edited by ZyLx; 12-08-2018 at 20:02.
    ZyLx is offline
    zipcore
    Veteran Member
    Join Date: Mar 2010
    Location: m_flZipcore
    Old 12-09-2018 , 02:05   Re: [CSS/ANY?] Quake Style Weapon Floating
    Reply With Quote #2

    Well done
    __________________
    zipcore is offline
    uraganas
    Member
    Join Date: Feb 2016
    Location: Lithuania
    Old 12-09-2018 , 07:25   Re: [CSS/ANY?] Quake Style Weapon Floating
    Reply With Quote #3

    Nice
    uraganas is offline
    RaZ_HU
    Senior Member
    Join Date: May 2015
    Location: Hungary
    Old 01-08-2019 , 07:43   Re: [CSS/ANY?] Quake Style Weapon Floating
    Reply With Quote #4

    Nice, players like(d) it in CS16 too.

    Last edited by RaZ_HU; 01-08-2019 at 07:43.
    RaZ_HU is offline
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 01-08-2019 , 07:54   Re: [CSS/ANY?] Quake Style Weapon Floating
    Reply With Quote #5

    gta
    Bacardi is offline
    FulliFR
    Junior Member
    Join Date: Feb 2013
    Old 07-21-2020 , 13:11   Re: [CSS/ANY?] Quake Style Weapon Floating
    Reply With Quote #6

    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
    FulliFR is offline
    Andrej730
    New Member
    Join Date: Jan 2020
    Old 04-06-2022 , 13:34   Re: [CSS/ANY?] Quake Style Weapon Floating
    Reply With Quote #7

    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.

    Andrej730 is offline
    L4D2Noob
    AlliedModders Donor
    Join Date: Mar 2020
    Location: Moscow
    Old 04-07-2022 , 12:41   Re: [CSS/ANY?] Quake Style Weapon Floating
    Reply With Quote #8

    Quote:
    Originally Posted by Andrej730 View Post
    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.

    The author of this post says:
    https://www.youtube.com/watch?v=GbuL...trike%3ASource
    __________________
    L4D2Noob is offline
    Send a message via ICQ to L4D2Noob Send a message via Skype™ to L4D2Noob
    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 23:34.


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