Raised This Month: $ Target: $400
 0% 

[TF2] Randomizer


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Theme97
Senior Member
Join Date: Mar 2009
Plugin ID:
1027
Plugin Version:
1.2
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Forces players to play as a random class with random weapons.
    Unapprover:
    Reason for Unapproving:
    Multiple reported issues. Author inactive.
    Old 07-22-2009 , 20:40   [TF2] Randomizer
    Reply With Quote #1


    (image by KelpPlankton)

    Description
    Upon joining the server and upon dying, players are forced to play a certain class with 3 select weapons. Suicide and class changing will not re-roll the class and weapons; only being killed by an enemy will.

    ConVars
    • rnd_version (1.1): Self-explanatory.
    • rnd_enabled (1): Also self-explanatory. This does NOT disable the rnd_fix_* cvars, so if you want to play normally without having to change the CTX files, set this to 0.
    • rnd_destroy_buildings (1): Destroys a Engineer's buildings when he respawns as a different class.
    • rnd_fix_ammo (1): Properly sets ammo gained from ammo packs, dispensers, and dropped weapons.
    • rnd_fix_pyro (1): Slows down Pyro when scoped or spun down.
    • rnd_fix_spy (1): Undisguises Spies when using a non-melee attack. Set to 2 to undisguise on all attacks.
    • rnd_fix_uber (1): Emulates Medigun for non-Medic classes.

    Installation
    Place Randomizer.smx in tf/addons/sourcemod/plugins/
    Place randomizer.games in tf/addons/sourcemod/gamedata/
    Unzip the CTX files so that the .ctx files end up in tf/scripts/playerclasses/
    Keep a backup of your old CTX files! You will need them if you want to stop using Randomizer.

    Notes
    Randomizer does pretty expensive loops in the OnGameFrame() forward, so if your server becomes a little laggy, try disabling some of the rnd_fix_* cvars. If anybody has any suggestions regarding its optimization, I'll be happy to implement them.

    Changelog
    1.2 (08 September 2009)
    - Über effects (with addcond / removecond) should actually work now.
    - Medigun beam should now aim at the recipient's torso.
    - Changed to use randomizer.games for offsets.
    - Added a few error-checks.

    1.1 (31 July 2009)
    - Unified Randomizer and RandomizerFixes.
    - Added several cvars; see above for more info.
    - Fixed the medigun beam being invisible when not a Medic.
    - Fixed gaining ammo from dropped weapons and dispensers.
    - Fixed Pyros being able to move during the pre-round freeze.

    1.0 (22 July 2009)
    - Public release!

    Misc.
    - figure out a way to change max ammo without using CTX files

    Thanks to:
    - Wazz for finding the fixed parameters and offsets
    - Aviram1994 for posting the fixed gamedata and source code
    - EHG for the addcond/removecond stocks
    Attached Files
    File Type: zip CTXfiles.zip (11.2 KB, 7419 views)
    File Type: sp Get Plugin or Get Source (Randomizer.sp - 11459 views - 23.4 KB)
    File Type: txt randomizer.games.txt (232 Bytes, 6347 views)
    __________________
    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

    Last edited by Theme97; 09-10-2009 at 18:47.
    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 07:45.


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