checked 54 patch_mp/maps/mp scripts

This commit is contained in:
JezuzLizard
2020-06-13 01:37:00 -07:00
parent a46530d2fd
commit d2202281cd
55 changed files with 1781 additions and 1815 deletions

View File

@ -1,16 +1,17 @@
//checked includes match cerberus output
#include maps/mp/_scoreevents;
#include maps/mp/_challenges;
#include maps/mp/killstreaks/_emp;
#include maps/mp/gametypes/_weaponobjects;
#include maps/mp/_utility;
init()
init() //checked matches cerberus output
{
level._effect[ "satchel_charge_enemy_light" ] = loadfx( "weapon/c4/fx_c4_light_red" );
level._effect[ "satchel_charge_friendly_light" ] = loadfx( "weapon/c4/fx_c4_light_green" );
}
createsatchelwatcher()
createsatchelwatcher() //checked matches cerberus output
{
watcher = self maps/mp/gametypes/_weaponobjects::createuseweaponobjectwatcher( "satchel_charge", "satchel_charge_mp", self.team );
watcher.altdetonate = 1;
@ -20,14 +21,14 @@ createsatchelwatcher()
watcher.hackertooltimems = level.equipmenthackertooltimems;
watcher.headicon = 1;
watcher.detonate = ::satcheldetonate;
watcher.stun = ::maps/mp/gametypes/_weaponobjects::weaponstun;
watcher.stun = maps/mp/gametypes/_weaponobjects::weaponstun;
watcher.stuntime = 1;
watcher.altweapon = "satchel_charge_detonator_mp";
watcher.reconmodel = "t6_wpn_c4_world_detect";
watcher.ownergetsassist = 1;
}
satcheldetonate( attacker, weaponname )
satcheldetonate( attacker, weaponname ) //checked matches cerberus output
{
from_emp = maps/mp/killstreaks/_emp::isempkillstreakweapon( weaponname );
if ( !isDefined( from_emp ) || !from_emp )