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

[PVK2] Killable Vultures [v1.0.0 | 24-April-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Plugin ID:
8038
Plugin Version:
1.0.0
Plugin Category:
Gameplay
Plugin Game:
Pirates, Vikings, & Knights
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Makes vultures (npc_vulture) killables
    Old 04-24-2022 , 19:58   [PVK2] Killable Vultures [v1.0.0 | 24-April-2022]
    Reply With Quote #1

    PVK2 ONLY

    Description

    Makes vultures (npc_vulture) killables.

    By default if a npc_vulture entity hasn't the 65536 spawnflag, it will be immortal, which is annoying.

    This plugin adds the specific related spawnflag value to the entity on spawn.

    How to reproduce
    • Use "ent_create npc_vulture" in console (with sv_cheats 1). You won't be able to kill the spawned vulture.
    • Using "ent_create npc_vulture spawnflags 65536", you are able to kill.

    FGD info (pvkii.fgd)

    Spoiler


    Features
    • Allow enabling/disabling the plugin.
    • Allow setting a debug cvar to print to chat the spawnflags values during entity spawn.

    Cvars

    A configuration file named "pvk2_killable_vultures.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder.

    PHP Code:
    // Output to chat info about the vulture spawnflags.
    // 0 = Debug OFF, 1 = Debug ON.
    // -
    // Default: "0"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    pvk2_killable_vultures_debug "0"

    // Enable/Disable the plugin.
    // 0 = Disable, 1 = Enable.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    pvk2_killable_vultures_enable "1" 
    Admin Commands
    • sm_slayvultures => Slay all vultures. (z flag required)
    • sm_print_cvars_pvk2_killable_vultures => Print the plugin related cvars and their respective values to the console. (z flag required)

    Change Log

    Spoiler


    Post Reply
    • Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.

    Installation
    • Put the "pvk2_killable_vultures.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.
    Attached Files
    File Type: sp Get Plugin or Get Source (pvk2_killable_vultures.sp - 18 views - 10.5 KB)
    __________________

    Last edited by Marttt; 02-01-2024 at 16:16.
    Marttt is offline
    Jerem
    Junior Member
    Join Date: Oct 2020
    Location: France
    Old 08-27-2022 , 06:04   Re: [PVK2] Killable Vultures [v1.0.0 | 24-April-2022]
    Reply With Quote #2

    Cool for gently trolling
    Jerem is offline
    Reply



    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 20:06.


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