Quote:
Originally Posted by StormishJustice
Does this plugin works on bots?
because i want to spawn a giant deflector heavy with a deflector hat xP
|
Umm you can do that in the population file itself for MvM without even touching Sourcemod at all.
Here's the code for the giant deflector heavy that shows up in bigrock (from robot_giant.pop). The deflector hat is the u-clank-a, as you can see below:
PHP Code:
T_TFBot_Giant_Heavyweapons_Deflector
{
Name "Giant Deflector Heavy"
Class Heavyweapons
Skill Expert
Health 5000
ClassIcon heavy_deflector
Item "Deflector"
Item "The U-clank-a"
Attributes MiniBoss
WeaponRestrictions PrimaryOnly
MaxVisionRange 1200
ItemAttributes
{
ItemName "Deflector"
"attack projectiles" 1
"damage bonus" 1.5
}
CharacterAttributes
{
"airblast vulnerability multiplier" 0.3
"damage force reduction" 0.3
"move speed bonus" 0.5
"override footstep sound set" 2
}
}