Raised This Month: $32 Target: $400
 8% 

[CSS] Homing Missiles


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Plugin ID:
1273
Plugin Version:
2.5
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    15 
    Plugin Description:
    Turns thrown projectiles of your choice into homing missiles
    Old 11-11-2009 , 13:52   [CSS] Homing Missiles
    Reply With Quote #1

    Requires SourceMod 1.7

    Note: This is for CSS not CSGO, i don't support/own CSGO so any replies asking for help with CSGO will be ignored

    Description
    Turns thrown projectiles of your choice into homing missiles that lock onto the nearest enemy in line of sight. They will switch target if a different enemy is closer than the current target. If there are no enemies in line of sight the missiles will continue along their current trajectories. When thrown, if there are no enemies in line of sight the missiles will head towards the throwers crosshair. The missiles explode on contact with anything solid. you can also make the missiles dumb or cross hair guided.

    Cvars
    missile_damage -- Sets the maximum amount of damage the missiles can do. (default 100.0)
    missile_radius -- Sets the explosive radius of the missiles. (default 350.0)
    missile_speed -- Sets the speed of the missiles. (default 500.0)
    missile_type -- Sets whether the missile is dumb(0), homing(1) or cross hair guided(2) . (default 1)
    missile_enable -- Turns plugin on(1)/off(0). (default 1)
    missile_replace -- Replaces these projectiles with missiles, grenade(0), flashbang(1), smoke(2). (default 0)
    missile_team -- set which team can use missiles, any(0), terrorists(1), counter terrorists(2). (default 0)
    missile_arc -- Turns missile turning arc on(1)/off(0). when disabled the missiles won't curve through the air, they will turn immediately. (default 1)
    missile_ammo -- When missile_price is 0 players can use this many missiles per spawn, when missile_price above 0 then this is the maximum number of missiles they can buy. 0 is infinite. (default 0)
    missile_price -- Sets price for buying missiles. 0 disables buying, picked up projectiles are used for ammo. values above 0 only allows you to buy ammo not pick it up, ammo is added to the current reserves so you keep your original projectiles once your missile ammo runs out.
    missile_buyzone -- Enables(1)/disables(0) buying in buyzone restriction. (default 0)
    missile_buytime -- For how many seconds after round start players can buy missiles, 0.0 gives infinite time. (default 0.0)

    Chat Command
    Type !buymissile in chat/teamchat to buy a missile if you have the cash.

    Installation
    Place the compiled plugin in your sourcemod plugins folder and place the files inside the zip file into their relative folders.

    Notes
    -- Beware that too many active missiles along with a large number of living players may affect server performance.
    -- The missiles home in on a players eye position, i did it this way so you could tell if you were safe i.e if you can see the missile it can most likely see you.

    Changelog
    2.5
    -- Added cvars for buytime and buyzone restrictions. see above.
    -- Fixed an issue which chat commands not working.

    2.4
    -- you can only buy missiles during buytime and while inside a buyzone.
    -- sm 1.4 required.

    2.3
    -- added some checks i missed out for previously added features and fixed a small bug.

    2.2
    -- added a cvar to enable/disable the turning arc. see above.
    -- added a cvar to set the maximum amount of missiles players can use per spawn. see above.
    -- added a cvar to allow players to buy missiles using a chat command. see above.
    -- made a small change to stop error messages in console when missiles collide with certain entities.

    2.1
    -- made some changes so the correct death icon should display with kills.
    -- added a simple check to see if the projectile was created by the game, if not then its ignored so there shouldn't be conflicts with certain other plugins.

    2.0
    -- sdk hooks is now required.
    -- virtual offsets are no longer needed so there's less chance of problems after major updates, env_explosion is used for explosions instead.
    -- recoded parts of the plugin so it should give better performance.
    -- replaced env_steam with env_rockettrail (same entity used for rpg in hl2), smoke is tinted to team color.
    -- fixed an issue with the rockets bounding box.
    Attached Files
    File Type: zip missile files.zip (73.5 KB, 3566 views)
    File Type: sp Get Plugin or Get Source (homingmissiles.sp - 2599 views - 19.8 KB)
    File Type: smx homingmissiles.smx (15.0 KB, 667 views)

    Last edited by blodia; 09-19-2015 at 08:52.
    blodia 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:00.


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