View Single Post
Author Message
javalia
Senior Member
Join Date: May 2009
Location: korea, republic of
Old 07-24-2011 , 07:11   [TF2] Cool Rocket
Reply With Quote #1

<Cool Rocket>




Introdution

this plugin will make sentry`s rocket to chase enemy.
sentry`s rocket will try to chase any closest visible enemy.
like, uncloacked enemy spy or normal other enemys.
if rocket lost target, rocket will try to find closest target again.
if pyro reflects rocket, rocket will immediatly recognize it`s team has changed and will find new enemy.
remember that this plugin will make sentry and engineer more powerfull.
and one more thing, u can make arrow/stunball/more things.. to chase enemy!
look at Configuration for it.

and, someone should fix this
how that image can be r u k i a? nooooooooo

here for some screen shot captured on test.




Requirements

this plugin needs the things listed below to work:
  • SDKHooks



Installation

to install this plugin
  • put the smx file in the sourcemod/plugins folder
to compile this plugin manually
  • put all sp files in the sourcemod/scripting folder
  • put all inc files in the sourcemod/scripting/include folder
  • compile.



Configuration

there is 2 cvar for this plugin.
  • TF2CoolRocket_InduceWeaponList
this cvar`s info should be like this "tf_projectile_arrow;tf_projectile_jar_mi lk"
u can have no string to disable this plugin, or u can have any amount of projectile entity`s classname list on that cvar
here is all of current tf2`s projectile list.

tf_projectile_arrow
tf_projectile_energy_ball
tf_projectile_energy_ring
tf_projectile_flare
tf_projectile_healing_bolt
tf_projectile_jar
tf_projectile_jar_milk
tf_projectile_pipe
tf_projectile_pipe_remote
tf_projectile_rocket
tf_projectile_sentryrocket
tf_projectile_stun_ball
tf_projectile_syringe
  • TF2CoolRocket_ArrowToHead
this cvar`s value should be 0 or 1
if induce of arrow is enabled, this will determind will arrow fly to enemy`s head or body.
ah, dont forget to edit auto generated cfg file on cfg/sourcemod/

Known Bugs & Limits Of the Mod

nothing for yet



Special Thanks To

i want to say thanks to these guys
  • DJtsunami for made SDKHooks
  • predcrab for made original extension sidewinder. he gave me total idea by his old extension.
  • 차마명수(read as Chamamyungsu) for testing on server.



Change Log

all the date`s format is y/m/d
Code:
updaet at 2011 7 27(ver 1.0.2.3)
  • added cvar TF2CoolRocket_InduceWeaponList
  • added cvar TF2CoolRocket_ArrowToHead
update at 2011 7 27(ver 1.0.1.1)
  • made rocket to chase closest target first.
  • made rocket to correctly do not detect cloaking/disguise of spy
update at 2011 7 24(ver 1.0.0.0)
  • released
Attached Files
File Type: inc stocklib.inc (40.7 KB, 898 views)
File Type: sp Get Plugin or Get Source (TF2CoolRocket.sp - 1178 views - 6.3 KB)
File Type: smx TF2CoolRocket.smx (6.8 KB, 1486 views)
__________________

Last edited by javalia; 07-27-2011 at 10:18. Reason: updated.
javalia is offline