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

[TF2] Melee Dare


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Theme97
Senior Member
Join Date: Mar 2009
Plugin ID:
1233
Plugin Version:
0.1
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Plays "meleedare" sound files at seemingly appropriate times.
    Old 10-18-2009 , 22:15   [TF2] Melee Dare
    Reply With Quote #1

    Helping out the guys working on the Touhou Fortress 2 modification, I felt kinda bad for having our voice actors record lines that aren't ever used.

    The Scout, Heavy, Sniper, and Spy have "meleedare" lines that don't actually play, so this plugin attempts to freshen your TF2 experience and maybe make you smile as your character utters a humorous saying when you pull out your melee weapon.

    This is a beta; since it's difficult to determine what conditions make for a good "meleedare" line, I'll let the community give suggestions as to what works and what doesn't. Additionally, without a place to test on my own, I'll need you guys to help me find and squash those pesky bugs.

    Currently (v0.1), only the Scout, Heavy, and Sniper will play their lines. The plugin monitors your current weapon and, when it detects that you've switched to your melee weapon, checks the following requirements:

    (0. You have not "meleedare"d in the last 5 seconds.)
    1. There is at least one enemy within 1024 units of your position.
    2. Said enemy is NOT a Spy. (Later versions will check if the Spy is uncloaked and not disguised as an enemy.)
    3. The enemy is in your FOV (acos(0.3) = 72.5423969 degrees)
    4. You are in the enemy's FOV.

    I'm unsure of what we could do to trigger the Spy's meleedare line since his melee fights aren't so much melee duels as they are "oh crap I need to get away, let me attack blindly and hope for a facestab."

    But yeah, I'll leave it to you, the community, to figure out ideal or additional conditions.
    Attached Files
    File Type: sp Get Plugin or Get Source (MeleeDare.sp - 2273 views - 3.5 KB)
    __________________
    I now have very little time to work on stuff and my main computer (which is the only one that can run TF2) is not cooperating with me, so don't expect many updates from me anytime soon.

    [ALL] Karaoke
    [TF2] Intel Timer | Crabmod | Randomizer | Stopwatch | Crits 4 All
    Theme97 is offline
     



    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:41.


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