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

[TF2]Spell Randomizer 1.2.0


Post New Thread Reply   
 
Thread Tools Display Modes
Author
svaugrasn
Junior Member
Join Date: Jun 2013
Plugin ID:
3950
Plugin Version:
1.2.0
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Equip random spell on every 20 seconds.
    Old 10-30-2013 , 12:54   [TF2]Spell Randomizer 1.2.0
    Reply With Quote #1

    Description
    Equip random spell on every 20 seconds.

    Spell can be used 5 times every 20 seconds.

    Source to set the spell: http://forums.alliedmods.net/showthread.php?p=2054523


    Cvar
    • sm_spell_time(20.0)
    • sm_spell_amounts(5)
    • sm_spell_medieval(1) - Be limited to only the use of spells.
    • sm_spell_block(1) - disable Summon MONOCULUS!, Fire Storm, Summon Skeletons.


    Requires
    • TF2Items


    Changelog
    Code:
    2013-10-31(v1.2.0)
    * Add cvar sm_spell_medieval, sm_spell_block.
    
    2013-10-31(v1.1.0)
    * Add cvar sm_spell_time, sm_spell_amounts.
    
    2013-10-31(v1.1.0)
    * Add cvar sm_spell_time, sm_spell_amounts.
    
    2013-10-31(v1.0.0)
    * Initial release.
    Attached Files
    File Type: smx spell_randomizer.smx (7.2 KB, 953 views)
    File Type: sp Get Plugin or Get Source (spell_randomizer.sp - 695 views - 5.9 KB)

    Last edited by svaugrasn; 10-31-2013 at 04:45.
    svaugrasn is offline
    Skyrider
    AMX Mod X Beta Tester
    Join Date: May 2005
    Location: Netherlands
    Old 10-30-2013 , 13:47   Re: [TF2]Spell Randomizer
    Reply With Quote #2

    cvar for the timer & amounts of spell would be great, 5x a spell each 20 seconds can be quite abusive. Plus, skeletons crash the server atm.
    __________________

    Last edited by Skyrider; 10-30-2013 at 13:58.
    Skyrider is offline
    Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
    hannes96
    AlliedModders Donor
    Join Date: May 2013
    Location: Germany
    Old 10-30-2013 , 15:25   Re: [TF2]Spell Randomizer
    Reply With Quote #3

    Nice Plugin. It's really fun

    Last edited by hannes96; 10-31-2013 at 15:21.
    hannes96 is offline
    Skyrider
    AMX Mod X Beta Tester
    Join Date: May 2005
    Location: Netherlands
    Old 10-30-2013 , 15:40   Re: [TF2]Spell Randomizer
    Reply With Quote #4

    Awesome, thanks. Can it also block the skeleton spawn for now?
    __________________
    Skyrider is offline
    Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
    svaugrasn
    Junior Member
    Join Date: Jun 2013
    Old 10-30-2013 , 16:26   Re: [TF2]Spell Randomizer
    Reply With Quote #5

    Quote:
    Originally Posted by Skyrider View Post
    Awesome, thanks. Can it also block the skeleton spawn for now?
    Summon MONOCULUS, Summon Skeletons has been disabled.
    svaugrasn is offline
    Skyrider
    AMX Mod X Beta Tester
    Join Date: May 2005
    Location: Netherlands
    Old 10-30-2013 , 16:29   Re: [TF2]Spell Randomizer
    Reply With Quote #6

    MONOCULUS is fine though. Just the skeleton crashes the game. I tried this plugin, it seems to block every single class and switches everyone to 1 single weapon.. It's odd.
    __________________

    Last edited by Skyrider; 10-30-2013 at 16:33.
    Skyrider is offline
    Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 10-30-2013 , 17:02   Re: [TF2]Spell Randomizer
    Reply With Quote #7

    Skeletons shouldnt crash the game, i use them all the time.
    Mitchell is offline
    Skyrider
    AMX Mod X Beta Tester
    Join Date: May 2005
    Location: Netherlands
    Old 10-30-2013 , 17:41   Re: [TF2]Spell Randomizer
    Reply With Quote #8

    Check the steam forums.. It's full of people reporting skeletons crashing their game. It doesn't appear to be affecting all users though. However, using this plugin forces everyone to use 1 weapon only (the skeleton weapon).. that's about it.
    __________________
    Skyrider is offline
    Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
    svaugrasn
    Junior Member
    Join Date: Jun 2013
    Old 10-30-2013 , 18:10   Re: [TF2]Spell Randomizer
    Reply With Quote #9

    Quote:
    Originally Posted by Skyrider View Post
    MONOCULUS is fine though. Just the skeleton crashes the game. I tried this plugin, it seems to block every single class and switches everyone to 1 single weapon.. It's odd.
    Comment out these
    Code:
    // HookEvent ("player_spawn", Event_playerspawn);
    // HookEvent("teamplay_round_start", Event_teamplay_round_start);


    sm_spell_medieval 0
    and reload plugin

    Last edited by svaugrasn; 10-31-2013 at 17:24.
    svaugrasn is offline
    IWasHere
    Junior Member
    Join Date: Feb 2013
    Old 10-30-2013 , 23:28   Re: [TF2]Spell Randomizer
    Reply With Quote #10

    Quote:
    Originally Posted by svaugrasn View Post
    Comment out these
    Code:
    // HookEvent ("player_spawn", Event_playerspawn);
    // HookEvent("teamplay_round_start", Event_teamplay_round_start);
    I'm new to sourcemod, how do I comment these out exactly?
    IWasHere 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 11:32.


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