Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include maps/mp/killstreaks/_dogs;
- //to spawn a dog you would do:
- //dog = spawndog(owner, team, position, angles, 1, model);
- spawndog( owner, team, position, angles, requireddeathcount, model )
- {
- dog_spawner = getent( "dog_spawner", "targetname" );
- dog = dog_spawner spawnactor();
- dog forceteleport( position, angles );
- dog initdog();
- dog dog_set_owner( owner, team, requireddeathcount );
- dog setModel(model);
- //dog dog_create_spawn_influencer();
- //dog thread dog_owner_kills();
- //dog thread dog_notify_level_on_death();
- //dog thread dog_patrol();
- //dog thread maps\mp\gametypes\_weapons::monitor_dog_special_grenades();
- return dog;
- }
- initdog()
- {
- self.targetname = "attack_dog";
- self.animtree = "dog.atr";
- self.type = "dog";
- self.accuracy = 0.2;
- self.health = 100;
- self.maxhealth = 100;
- self.aiweapon = "dog_bite_mp";
- self.secondaryweapon = "";
- self.sidearm = "";
- self.grenadeammo = 0;
- self.goalradius = 128;
- self.nododgemove = 1;
- self.ignoresuppression = 1;
- self.suppressionthreshold = 1;
- self.disablearrivals = 0;
- self.pathenemyfightdist = 512;
- self.soundmod = "dog";
- self thread dog_health_regen();
- //self thread selfdefensechallenge();
- }
Advertisement
Add Comment
Please, Sign In to add comment