Quote:
Sentries in TFC were cool. Sentries in CS are cool.
Sentry guns are stationary engineering wonders that fire bullets at and kill your enemies.
|
Provides the MonsterAI of a sentrygun.
This is my first post here.
And my english isn't well.
Code:
/* Cvars name defaultvalue description
"sentry_bulletdmg_min" "10.0" BulletDamageMin (take effects in mapchange)
"sentry_bulletdmg_max" "12.0" BulletDamageMax (take effects in mapchange)
"sentry_searchradius" "1800.0" Max distance if a sentrygun could find its target
"sentry_health_lv1" "400.0" DefaultHealth of level one sentrygun
"sentry_health_lv2" "400.0" DefaultHealth of level two sentrygun
"sentry_health_lv3" "400.0" DefaultHealth of level three sentrygun
"sentry_detonation_dmg" "200.0" MaxDamage of detonation
"sentry_detonation_radius" "300.0" Max distance if detonation could affects
"sentry_dmgtoken_multiplier" "0.5" Multiplier of damage dealt to sentrygun
"sentry_rocketdmg" "150.0" MaxDamage of rocket
"sentry_rocket_lauchdelay" "5.0" Delay before rocket lauches and between two launches (take effects in mapchange)
"sentry_rocket_lauchamount" "3" Amount of rockets per launch (take effects in mapchange)
"sentry_rocket_tracktarget" "1" Whether or not the rocket could track a target (take effects in mapchange)
*/
Note: I mis deleted the .inc file, reuploaded.
cstrike:
v1.4a: fix (invalid_entity in player_Killed)
v1.4: added a cvar(sentry_diedet) to set if a player died, his sentry will detonate immediately, and a menu(sentry_menu)
changelog:
v1.5a: fix (invalid_entity in fwd_Touch)
v1.5: added a feature that rocket could auto-track target (controlled by a cvar)
v1.4: fix that sentries fire all rockets when upgrade to lv3 in shooting
v1.3: fix that some natives dont work.
fix the crashes due to monstermod.
v1.2a: fix that rockets' sound loops forever.
v1.2: now it wont get cvar every bullet shot
added features that lv3 sentrygun will launch rockets to its enemy
resources that rockets use, is available in hl
added 3 more cvars to define the rockets (dmg, etc)
added 1 forward for blocking the rocket lauch
v1.1: added 2 more forwards and change the name of the first forward
added 1 more native
change sentry_dmgtoken_multiplier defaultvalue to 0.5
v1.0: first release