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

Dragon's Breath plugin for CSS


Post New Thread Reply   
 
Thread Tools Display Modes
Author
cjsrk
Junior Member
Join Date: Mar 2023
Location: China
Plugin ID:
8527
Plugin Version:
1.0.0
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin can specify a weapon or certain weapons to fire the Dragon's Breath
    Old 08-05-2023 , 11:38   Dragon's Breath plugin for CSS
    Reply With Quote #1

    Description:
    This plugin is adapted from the bullet explosion plugin. It can specify a weapon or certain weapons to fire the Dragon's Breath, the hit person or object will spark and catch fire, the hit person will receive sustained burning damage and scream. Additionally, Bots can also use dragon's breath bullets.

    Display:
    https://m.youtube.com/watch?v=1zNuFnTJoqk

    Installation method:
    1. First make sure you have the plugin platform installed.

    2. Extract the cstrike folder in the compressed package to the root directory of the game to cover, if the popup prompt please select allow.

    3. Fire is a bit of a resource drain, so it is not recommended to let fully automatic weapons fire dragon's Breath.


    Cvars:
    sm_dragonguns_enable
    Enable the plugin
    0 = disabled
    1 = enabled
    Default Values: 1

    sm_dragonguns_guns
    Which weapon can fire Dragon's Breath (there can be multiple, separated by spaces)
    Default Values: m3

    sm_dragonguns_damage
    Damage from Dragon's Breath, per second (0.0 = no damage)
    Default Values: 5.0

    sm_dragonguns_ignite_time
    Time in seconds for ignite player (require sm_dragonguns_ignite enable)
    Default Values: 4.0

    sm_dragonguns_playsound
    Enable/Disable play sound when player was burn
    0 = disabled
    1 = enabled
    Default Values: 1
    Attached Thumbnails
    Click image for larger version

Name:	16E1ECB7199C88DECC1A31070EBDB18C.jpg
Views:	182
Size:	98.6 KB
ID:	201295   Click image for larger version

Name:	B70AB435CA3D35A894F4FF0598AC7B70.jpg
Views:	131
Size:	98.2 KB
ID:	201296  
    Attached Files
    File Type: zip Dragon's Breath plugin for CSS.zip (2.09 MB, 291 views)
    File Type: sp Get Plugin or Get Source (Dragon Breath Bullet.sp - 78 views - 6.5 KB)

    Last edited by cjsrk; 08-07-2023 at 20:31.
    cjsrk is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 08-05-2023 , 16:25   Re: Dragon's Breath plugin for CSS
    Reply With Quote #2

    You can use this code to avoid reading the cvar value every shot: https://github.com/Grey83/SourceMod-...g2StringMap.sp
    Search in StringMap will be faster than the procedure used in the plugin.

    if(StrContains(gunsString[startidx], weapon, false) != -1)
    ==>
    if(StringMap.GetValue(weapon, value))
    __________________

    Last edited by Grey83; 08-05-2023 at 16:26.
    Grey83 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 19:07.


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