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

[CS:S] Cr(+)sshair's Decoy Mod


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Cr(+)sshair
Member
Join Date: Mar 2010
Plugin ID:
1516
Plugin Version:
0.6
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    See below!
    Old 03-11-2010 , 23:41   [CS:S] Cr(+)sshair's Decoy Mod
    Reply With Quote #1

    [CS:S] Cr(+)sshair's Decoy Mod

    Description:
    When a player types "!decoy" or binds a key to "decoy", a holographic model of their team shows up. They cannot be seen from a distance but almost pop up instantly when approaching (good for corners). Decoys explode for now, they will push smoke out in next update. I hope everyone at least tries it out!

    Plugin in action: http://www.youtube.com/watch?v=uNwPAx8RVb0
    Credits:
    Insight given to me by Duke and his TF2 Balloon Spawner. Thanks man!
    Changelog:
    Code:
    0.6 (07-02-2010)
        * Updated for CS:S update!
    
    0.5 (03-11-2010)
        * Initial Release!
    Cvars: (default value):
    This config is automatically generated into the cfg/sourcemod folder.

    Code:
    // This file was auto-generated by SourceMod (v1.3.3)
    // ConVars for plugin "CDecoy.smx"
    
    // Countdown until explosion. 
    // -
    // Default: "60.0"
    sm_decoy_exists "60.0"
    
    // Decoy deploy time restriction.
    // -
    // Default: "30.0"
    sm_decoy_wait "30.0"
    
    // Explosion damage
    // -
    // Default: "100.0"
    sm_decoydamage "100.0"
    
    // Shrapnel range.
    // -
    // Default: "25"
    sm_decoyshrapnel "25"
    
    // CT Skin Model
    // -
    // Default: "models/player/ct_urban.mdl"
    sm_model_of_decoyCT "models/player/ct_urban.mdl"
    
    // Terrorist Skin Model
    // -
    // Default: "models/player/t_arctic.mdl"
    sm_model_of_decoyT "models/player/t_arctic.mdl"
    

    User Commands: (chat trigger)
    decoy (!decoy) Set a decoy!
    To do:
    - Hologram movement.
    - Weapon attached to decoy.
    - Hologram base on bottom with lasers.
    - Damage is only dealt to opposing team.
    - Random decoys trigger a smoke cloud.
    - Random player models
    - Will think of more!
    Installation: Place CDecoy.smx into your plugins folder, that's it! =)

    My first plugin of many to come!
    Attached Files
    File Type: sp Get Plugin or Get Source (CDecoy.sp - 396 views - 5.9 KB)
    File Type: smx CDecoy.smx (7.9 KB, 365 views)

    Last edited by psychonic; 08-23-2010 at 08:53. Reason: Added precompiled smx since forum compiler can't do it :3
    Cr(+)sshair is offline
    shustas
    SourceMod Donor
    Join Date: May 2007
    Location: London
    Old 03-12-2010 , 08:51   Re: [CSS] Cr(+)sshair's Decoy Mod
    Reply With Quote #2

    so this is like a mine, just human body ... ?
    __________________
    shustas is offline
    Cr(+)sshair
    Member
    Join Date: Mar 2010
    Old 03-12-2010 , 09:53   Re: [CSS] Cr(+)sshair's Decoy Mod
    Reply With Quote #3

    Quote:
    Originally Posted by shustas View Post
    so this is like a mine, just human body ... ?
    Yup! I'll be updating soon for different damage effects or with the option for no damage at all!
    Cr(+)sshair is offline
    Cr(+)sshair
    Member
    Join Date: Mar 2010
    Old 07-02-2010 , 17:16   Re: [CS:S] Cr(+)sshair's Decoy Mod
    Reply With Quote #4

    Yay, approved!
    Cr(+)sshair is offline
    Ares Veteran
    Senior Member
    Join Date: Jul 2010
    Location: Hungary
    Old 08-22-2010 , 03:45   Re: [CS:S] Cr(+)sshair's Decoy Mod
    Reply With Quote #5

    Download not working. I think this dead.

    Quote:
    Your plugin failed to compile! Read the errors below:

    SourcePawn Compiler 1.3.2Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC/home/groups/sourcemod/upload_tmp/phpunts52.sp(3) : fatal error 120: cannot read from file: "sdkhooks"Compilation aborted.1 Error.
    __________________
    P.M.C Clan
    pmcfighters.co.nr

    Ares Veteran is offline
    Send a message via MSN to Ares Veteran
    psychonic

    BAFFLED
    Join Date: May 2008
    Old 08-22-2010 , 21:57   Re: [CS:S] Cr(+)sshair's Decoy Mod
    Reply With Quote #6

    Quote:
    Originally Posted by Ares Veteran View Post
    Download not working. I think this dead.
    It requires sdkhooks.inc from the SDK Hooks download. You cannot compile on the forum and must compile it manually.
    psychonic is offline
    Ares Veteran
    Senior Member
    Join Date: Jul 2010
    Location: Hungary
    Old 08-23-2010 , 06:27   Re: [CS:S] Cr(+)sshair's Decoy Mod
    Reply With Quote #7

    ohh , thank you!
    __________________
    P.M.C Clan
    pmcfighters.co.nr

    Ares Veteran is offline
    Send a message via MSN to Ares Veteran
    psychonic

    BAFFLED
    Join Date: May 2008
    Old 08-23-2010 , 08:54   Re: [CS:S] Cr(+)sshair's Decoy Mod
    Reply With Quote #8

    Quote:
    Originally Posted by Ares Veteran View Post
    ohh , thank you!
    I've added a precompiled smx file to the first post now.
    psychonic is offline
    zepper
    BANNED
    Join Date: May 2009
    Location: Latvia, Riga
    Old 06-18-2011 , 09:36   Re: [CS:S] Cr(+)sshair's Decoy Mod
    Reply With Quote #9

    it would be nice to use a gift model to attract players and the model explode when player gets close
    [edit] ok i find out that i can use any model i want from models folder but explosion does not do any damage :/
    PS: can you make this plygin so admin only can use it
    TNX

    Last edited by zepper; 06-18-2011 at 11:23.
    zepper 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 19:36.


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