Raised This Month: $ Target: $400
 0% 

[TF2] Particle Fireworks v2.0 30/12/2015


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Erreur 500
Senior Member
Join Date: Aug 2012
Location: Paris, France
Plugin ID:
3830
Plugin Version:
2.0
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Went round ended, launch original fireworks.
    Old 08-09-2013 , 11:12   [TF2] Particle Fireworks v2.0 30/12/2015
    Reply With Quote #1

    Particle Fireworks






    Description


    Fire fireworks of particle in the sky when round end or when you want !


    With the 2.0 version (all files change excepted the sounds) :
    - It automatically find the zone to launch the fireworks in the map. For that it will generate the zone around the sky_camera.
    - It is not a necessity to edit fireworks_tf_pos.cfg when you use a new map if it has a sky_camera.
    - In the case that your map has no sky_camera entity, add your map in fireworks_tf_pos.cfg and edit your zone position to fire.
    - In the case that there is a sky_camera but you can't see fireworks in sky, add your map in fireworks_tf_pos.cfg and edit your zone position to fire.
    - You can force night skies by using cvar fw_force_night

    Currently it should work on these 86 maps :
    Code:
    ctf_2fort
    ctf_2fort_invasion
    ctf_doublecross
    ctf_landfall
    ctf_well
    cp_5gorge
    cp_badlands
    cp_coldfront
    cp_fastlane
    cp_foundry
    cp_freight_final1
    cp_granary
    cp_gullywash_final1
    cp_powerhouse
    cp_process_final
    cp_sunshine_event
    cp_snakewater_final1
    cp_standin_final
    cp_vanguard
    cp_well
    cp_yukon_final
    cp_degrootkeep
    cp_dustbowl
    cp_egypt_final
    cp_gorge
    cp_gorge_event
    cp_gravelpit
    cp_manor_event
    cp_mountainlab
    cp_snowplow
    cp_steel
    tc_hydro
    pl_badwater
    pl_barnblitz
    pl_borneo
    pl_frontier_final
    pl_goldrush
    pl_millstone_event
    pl_hoodoo_final
    pl_snowycoast
    pl_thundermountain
    pl_upward
    plr_hightower_event
    plr_hightower
    plr_nightfall_final
    plr_pipeline
    arena_badlands
    arena_byre
    arena_granary
    arena_lumberyard
    arena_offblast_final
    arena_ravine
    arena_sawmill
    arena_watchtower
    arena_well
    koth_badlands
    koth_lakeside_event
    koth_harvest_final
    koth_harvest_event
    koth_highpass
    koth_lakeside_final
    koth_moonshine_event
    koth_probed
    koth_sawmill
    koth_suijin
    koth_viaduct
    sd_doomsday_event
    sd_doomsday
    pd_watergate
    cp_cloak
    mvm_bigrock
    mvm_coaltown
    mvm_decoy
    mvm_ghost_town
    mvm_mannhattan
    mvm_mannworks
    mvm_rottenburg
    rd_asteroid
    ctf_foundry
    ctf_gorge
    ctf_thundermountain
    pass_warehouse
    pass_pinewood
    arena_nucleus
    ctf_sawmill
    koth_nucleus





    How does it works ?

    Admin Commands (flag generic) :
    Code:
    fireworks <TIME> // force to launch fireworks for X sec fireworks start // starts fireworks
    fireworks stop // stop fireworks [/LEFT]

    CVAR :
    Code:
    fw_force_night   (def:0)           // 1 = Force night sky for the next maps



    Zone position file: fireworks_tf_pos.cfg
    Spoiler

    Use this file to force position in map to launch fireworks.
    Contain zone positions where fireworks will be launched. This zone is generally in the skybox that contain the sky_camera.
    You can delete map, or add custom map.




    Particle list file: fireworks_tf_list.txt
    Spoiler


    Contain particle that appear when fireworks explode.
    You can delete particle, or add custom particle.






    Installation

    fireworks.smx in tf\addons\sourcemod\plugins
    fireworks.sp in tf\addons\sourcemod\scripting
    fireworks_tf_list.txt in tf\addons\sourcemod\configs
    fireworks_tf_pos.cfg in tf\addons\sourcemod\configs

    Decompress firework_sounds.zip , and place the folder on your server.

    I'm always open for any suggestion !
    Attached Files
    File Type: zip firework_sounds.zip (365.2 KB, 706 views)
    File Type: txt fireworks_tf_list.txt (1.5 KB, 258 views)
    File Type: cfg fireworks_tf_pos.cfg (475 Bytes, 270 views)
    File Type: sp Get Plugin or Get Source (fireworks_tf.sp - 987 views - 14.6 KB)
    __________________
    My public creation : PortalMod - Free Duels - Unusual Effects - Particle fireworks - !stuck

    Need private plugin ? We can found an agreement !
    Steam : Erreur 500

    Last edited by Erreur 500; 12-30-2015 at 12:50. Reason: update
    Erreur 500 is offline
    Rd1981
    Senior Member
    Join Date: Apr 2011
    Old 08-10-2013 , 03:46   Re: [TF2] Particle Fireworks
    Reply With Quote #2

    how do you get the zone position coordinates on other maps ?
    Rd1981 is offline
    Erreur 500
    Senior Member
    Join Date: Aug 2012
    Location: Paris, France
    Old 08-12-2013 , 09:07   Re: [TF2] Particle Fireworks
    Reply With Quote #3

    Quote:
    Originally Posted by Rd1981 View Post
    how do you get the zone position coordinates on other maps ?
    By Hammer or in game with noclip :



    You need to find the skybox that contain the sky camera, or a zone where player doesn't have access.
    In hammer you can have the coordinate. In game you need to do that :

    Quote:
    Originally Posted by MrSkullbeef View Post
    Plugin isn't really neccesary, you can just enter cl_showpos 1 in the console to see your coordinates and angle.

    __________________
    My public creation : PortalMod - Free Duels - Unusual Effects - Particle fireworks - !stuck

    Need private plugin ? We can found an agreement !
    Steam : Erreur 500

    Last edited by Erreur 500; 08-27-2013 at 12:49.
    Erreur 500 is offline
    MrSkullbeef
    Junior Member
    Join Date: May 2013
    Location: Sweden
    Old 08-16-2013 , 14:50   Re: [TF2] Particle Fireworks
    Reply With Quote #4

    Quote:
    Originally Posted by Erreur 500 View Post
    By Hammer or in game with noclip :



    You need to find the skybox that contain the sky camera, or a zone where player doesn't have access.
    In hammer you can have the coordinate. In game you need to use a plugin (I give you one) :

    Code:
    !pos         // give your eye position coordinate
    !ang        // give your eye angle (in our case, that not needed)
    Plugin isn't really neccesary, you can just enter cl_showpos 1 in the console to see your coordinates and angle.

    MrSkullbeef is offline
    ddhoward
    Veteran Member
    Join Date: May 2012
    Location: California
    Old 08-16-2013 , 15:57   Re: [TF2] Particle Fireworks
    Reply With Quote #5

    "getpos" in the console does the same thing.
    ddhoward is offline
    Skyrider
    AMX Mod X Beta Tester
    Join Date: May 2005
    Location: Netherlands
    Old 09-09-2013 , 05:07   Re: [TF2] Particle Fireworks
    Reply With Quote #6

    Odd:

    Quote:
    Failed to load sound "fireworks\firework_explode2.mp3", file probably missing from disk/repository
    Failed to load sound "fireworks\firework_explode4.mp3", file probably missing from disk/repository
    Failed to load sound "fireworks\firework_explode1.mp3", file probably missing from disk/repository
    Failed to load sound "fireworks\firework_explode4.mp3", file probably missing from disk/repository
    Failed to load sound "fireworks\firework_explode5.mp3", file probably missing from disk/repository
    Failed to load sound "fireworks\firework_explode4.mp3", file probably missing from disk/repository
    Failed to load sound "fireworks\firework_explode4.mp3", file probably missing from disk/repository
    Failed to load sound "fireworks\firework_explode2.mp3", file probably missing from disk/repository
    Failed to load sound "fireworks\firework_explode2.mp3", file probably missing from disk/repository
    Failed to load sound "fireworks\firework_explode1.mp3", file probably missing from disk/repository
    Failed to load sound "fireworks\firework_explode4.mp3", file probably missing from disk/repository
    Failed to load sound "fireworks\firework_explode2.mp3", file probably missing from disk/repository
    Failed to load sound "fireworks\firework_explode5.mp3", file probably missing from disk/repository
    When I use the firework command.

    /orangebox/tf/sound/fireworks/firework_explode1.mp3

    And the rest of the files are located in the proper directory. FastDL files seem to work as well as I'm downloading them before I join the server.

    Already rebooted the server multiple times.
    __________________

    Last edited by Skyrider; 09-09-2013 at 05:09.
    Skyrider is offline
    Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
    friagram
    Veteran Member
    Join Date: Sep 2012
    Location: Silicon Valley
    Old 09-09-2013 , 05:32   Re: [TF2] Particle Fireworks
    Reply With Quote #7

    Or you could just grab the origin of the sky camera entity.
    __________________
    Profile - Plugins
    Add me on steam if you are seeking sp/map/model commissions.
    friagram is offline
    SmackDaddy
    Veteran Member
    Join Date: Oct 2009
    Old 09-14-2013 , 16:12   Re: [TF2] Particle Fireworks
    Reply With Quote #8

    Quote:
    Originally Posted by Skyrider View Post
    Odd:


    When I use the firework command.

    /orangebox/tf/sound/fireworks/firework_explode1.mp3

    And the rest of the files are located in the proper directory. FastDL files seem to work as well as I'm downloading them before I join the server.

    Already rebooted the server multiple times.
    Shouldn't these sounds be in the /orangebox/tf/custom/custom_sounds/sound/fireworks folder instead?
    SmackDaddy is offline
    s0xiik
    Member
    Join Date: Jan 2013
    Location: Luxembourg
    Old 09-14-2013 , 16:20   Re: [TF2] Particle Fireworks
    Reply With Quote #9

    @ Smackdaddy:
    You can use both, the old way or the new way. It downloads on the clientside in the download folder. The new way is bit harder to do, so the old way is better.

    But it may be because of sv_pure. Easiest way is to set it to -1 so no restriction, or on 1.

    whitelist:
    Spoiler


    Pure Servers VALVE

    Last edited by s0xiik; 09-14-2013 at 16:23.
    s0xiik is offline
    Send a message via Skype™ to s0xiik
    friagram
    Veteran Member
    Join Date: Sep 2012
    Location: Silicon Valley
    Old 09-14-2013 , 16:43   Re: [TF2] Particle Fireworks
    Reply With Quote #10

    Is very smart to pass ent inexes in timers
    Very very smart to use removeedict... After grabbing a ent index via timer.
    Use entity references please...
    __________________
    Profile - Plugins
    Add me on steam if you are seeking sp/map/model commissions.
    friagram 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 15:18.


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