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

[DoD:S] Halloween Spawn Pumpkins and Scarecrow.


Post New Thread Reply   
 
Thread Tools Display Modes
Author
micmacx
Member
Join Date: May 2021
Plugin ID:
8566
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Day of Defeat: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Plugin spawn Pumpkins where players are dead...
    Old 10-12-2023 , 20:45   [DoD:S] Halloween Spawn Pumpkins and Scarecrow.
    Reply With Quote #1

    Description :

    This plugin makes pumpkins appear where a player has died. To prevent players from being blocked by pumpkins, the plugin checks if one of the players is too close to the dead player.
    To stick with the Halloween theme, when a flag is taken, it turns into a scarecrow.


    Facility :
    1. Download Zip file.
    2. Unzip this file in your computer.
    3. Upload all file in your server, respect the folder architecture.
    4. Change map or restart server.
    5. Setting cfg file if you want to disable something.



    Setting :

    Setting file is in : dod/cfg/dod_halloween_objects/dod_halloween_objects.cfg

    PHP Code:
     // This file was auto-generated by SourceMod (v1.11.0.6502)
    // ConVars for plugin "dod_halloween_objects.smx"


    // 0 : disable, 1 : enable change flags by scarecrow 
    // -
    // Default: "1"
    dod_Flags_enable "1"

    // 0 : disable, 1 : enable Spawn Pumpkins where dead player 
    // -
    // Default: "1"
    dod_Pumpk_enable "1"

    // 0 : disable, 1 : enable Solid Pumpkins 
    // -
    // Default: "1"
    dod_Pumpk_solid "1"

    // Maximum Number Objects in map 20 to 99
    // -
    // Default: "20"
    // Minimum: "20.000000"
    // Maximum: "99.000000"
    dod_hal_num_obj "20"

    // 0 : disable, 1 : enable Plugin
    // -
    // Default: "1"
    dod_halloween_objects_enable "1" 

    Credits :

    I don't know who the authors of these models are, but if they recognize their work I would be happy to name them.

    Changelog :
    12/10/2023 : Plugin 1.0.
    16/10/2023 : I didn't update the plugin but just added 2 missing files in the zip file.

    Have fun...
    Attached Thumbnails
    Click image for larger version

Name:	flags.jpg
Views:	88
Size:	92.2 KB
ID:	201859   Click image for larger version

Name:	Pumpkins.jpg
Views:	95
Size:	62.7 KB
ID:	201860  
    Attached Files
    File Type: sp Get Plugin or Get Source (dod_halloween_objects.sp - 116 views - 14.1 KB)
    File Type: zip dod_halloween_object_Compil_1.11.0-6502.zip (3.69 MB, 38 views)
    __________________

    Last edited by micmacx; 10-16-2023 at 14:40.
    micmacx is offline
    Lider99
    Member
    Join Date: Mar 2020
    Old 10-13-2023 , 17:33   Re: [DoD:S] Halloween Spawn Pumpkins and Scarecrow.
    Reply With Quote #2

    I wonder if this works on l4d?
    __________________
    If I unintentionally insulted or offended you, then it's not me, but Google translate
    Lider99 is offline
    micmacx
    Member
    Join Date: May 2021
    Old 10-13-2023 , 20:22   Re: [DoD:S] Halloween Spawn Pumpkins and Scarecrow.
    Reply With Quote #3

    Hi,
    I don't think because i use dod_round_start event on script and flags are certainly completely different.
    But I looked at the level of generic events : Here.
    It exists one event for start round : round_start
    I switch with this one, perhaps it will work now but i can't try mysel because i haven't got this game.

    You can try Yousel if you want. ;-)
    1. Download Zip file.
    2. Unzip this file in your computer.
    3. Upload only materials and models folder file in your server, respect the folder architecture.
    4. Download Attached file in this post (Get Plugin).
    5. Upload smx file in your server on folder addons/sourcemod/plugins
    6. Change map or restart server.
    7. Setting cfg file if you want to disable something.

    I disabled the flag changing part because it should be completely different.

    Edit :
    I looked at other script for L4Dead an Left4Dead2 and they use this event, normaly this must work for you on L4Dead, i try on dod:s server and it not working.
    If you want to put sounds for Halloween, i made a plugin for this, it use only generic events, it must work for Left4Dead : https://forums.alliedmods.net/showthread.php?p=2811014
    Attached Files
    File Type: sp Get Plugin or Get Source (dod_halloween_objects.sp - 50 views - 14.0 KB)
    __________________

    Last edited by micmacx; 10-13-2023 at 21:08.
    micmacx is offline
    Happy DODs player
    AlliedModders Donor
    Join Date: Sep 2009
    Old 10-16-2023 , 08:14   Re: [DoD:S] Halloween Spawn Pumpkins and Scarecrow.
    Reply With Quote #4

    Nice works
    __________________
    Happy DODs player 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 09:09.


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