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

FlashWars


Post New Thread Reply   
 
Thread Tools Display Modes
Author
dbozan99
Junior Member
Join Date: Jun 2008
Plugin ID:
440
Plugin Version:
1.1
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This Plugin Strips all weapons (and money) from people and gives them 1 hp and flashbangs to kill the other team with.
    Old 06-28-2008 , 04:33   FlashWars
    Reply With Quote #1

    INTRO
    Hello, I'm new to SourceMod Scripting and It seems all so strange compared to EventScripts. I thought I would start out with something simple so i made this.

    DESCRIPTION
    This very simple plugin removes everybody's weapons (and money) and gives them a FlashBang and 1 hp. Whenever their FB detonates, they get a new one. Also Included is the option (on by default) to make it so that the flashbangs don't blind. Simply making them projectiles.

    CONSOLE VARIABLES
    flashwars_enable - Set to 1 To turn plugin on. 0 to Turn plugin off. [Def 1]
    flashwars_flash - Set To 1 For Flash Or 0 For No Flash [Def 1] (Only if flashwars_enable = 1)

    TO DO
    * Umm... Nothing at the moment.


    HISTORY
    Version 1.0 - 6/27/08
    Initial Release

    Version 1.1 - 6/28/08
    Added notices and a round restart when flashwars_enable changes.


    CREDITS
    Developed by dbozan99
    June 2008
    Attached Files
    File Type: sp Get Plugin or Get Source (FlashWars.sp - 2933 views - 3.9 KB)

    Last edited by dbozan99; 07-04-2008 at 15:10.
    dbozan99 is offline
    Rebell
    Veteran Member
    Join Date: Nov 2004
    Location: GERMANY
    Old 06-28-2008 , 10:35   Re: FlashWars
    Reply With Quote #2

    sounds fun
    __________________
    Rebell is offline
    MoggieX
    Veteran Member
    Join Date: Aug 2007
    Location: n00bville
    Old 06-28-2008 , 10:47   Re: FlashWars
    Reply With Quote #3

    ooo sounds funny as hell m8.

    BTW this might help with the cvar change:
    http://forums.alliedmods.net/showthread.php?p=630495

    Matt
    __________________
    MoggieX is offline
    Send a message via Skype™ to MoggieX
    dbozan99
    Junior Member
    Join Date: Jun 2008
    Old 06-28-2008 , 17:51   Re: FlashWars
    Reply With Quote #4

    UPDATED! (Version 1.1)
    Now restarts the round and sends messages to everybody when flashwars_enable is toggled on or off.

    I don't know what else it could possibly have to be more awesome, but if you have any requests, I will see what I can do.
    dbozan99 is offline
    GriMz
    Senior Member
    Join Date: Jul 2007
    Old 06-30-2008 , 17:09   Re: FlashWars
    Reply With Quote #5

    Quote:
    Originally Posted by dbozan99 View Post
    UPDATED! (Version 1.1)
    Now restarts the round and sends messages to everybody when flashwars_enable is toggled on or off.

    I don't know what else it could possibly have to be more awesome, but if you have any requests, I will see what I can do.
    make the players receive another flash after throwing one maybe?
    __________________
    GriMz is offline
    ottobohn
    Senior Member
    Join Date: Sep 2007
    Old 06-30-2008 , 17:41   Re: FlashWars
    Reply With Quote #6

    Great for dodgeball scripts.
    ottobohn is offline
    dbozan99
    Junior Member
    Join Date: Jun 2008
    Old 07-02-2008 , 02:46   Re: FlashWars
    Reply With Quote #7

    Quote:
    Originally Posted by GriMz View Post
    make the players receive another flash after throwing one maybe?
    They already do.
    dbozan99 is offline
    Molli
    SourceMod Donor
    Join Date: Aug 2007
    Location: Finland
    Old 07-04-2008 , 02:08   Re: FlashWars
    Reply With Quote #8

    CONSOLE VARIABLES
    flashwars_enable - Set to 1 To turn plugin on. 0 to Turn plugin off. [Def 1]

    why def on?
    Molli is offline
    dbozan99
    Junior Member
    Join Date: Jun 2008
    Old 07-04-2008 , 15:07   Re: FlashWars
    Reply With Quote #9

    lol oops....

    I'll fix that now.

    EDIT: Fixed.

    Last edited by dbozan99; 07-04-2008 at 15:10.
    dbozan99 is offline
    ottobohn
    Senior Member
    Join Date: Sep 2007
    Old 07-08-2008 , 00:35   Re: FlashWars
    Reply With Quote #10

    Great for dodge ball maps!

    otto
    ottobohn 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 03:20.


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