1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-11 15:48:05 -05:00

Add Pack-a-Punch flag to custom locations

This commit is contained in:
Jbleezy
2022-01-20 01:11:10 -08:00
parent d9e00923e9
commit 12e655cb20

View File

@ -131,16 +131,18 @@ register_perk_struct( name, model, origin, angles )
perk_struct.angles = angles; perk_struct.angles = angles;
perk_struct.origin = origin; perk_struct.origin = origin;
perk_struct.targetname = "zm_perk_machine"; perk_struct.targetname = "zm_perk_machine";
// if ( name == "specialty_weapupgrade" )
// { if ( name == "specialty_weapupgrade" )
// perk_struct.target = "weapupgrade_flag_targ"; {
// flag = spawnStruct(); flag_struct = spawnStruct();
// flag.targetname = "weapupgrade_flag_targ"; flag_struct.targetname = "weapupgrade_flag_targ";
// flag.model = "zombie_sign_please_wait"; flag_struct.model = "zombie_sign_please_wait";
// flag.angles = ( 0, angles[ 1 ] - 180, angles[ 2 ] - 180 ); flag_struct.angles = angles + ( 0, 180, 180 );
// flag.origin = ( origin[ 0 ] + 13.5, origin[ 1 ] - 29, origin[ 2 ] + 49.5 ); flag_struct.origin = origin + ( anglesToForward( angles ) * 29 ) + ( anglesToRight( angles ) * -13.5 ) + ( anglesToUp( angles ) * 49.5 );
// add_struct( flag ); perk_struct.target = flag_struct.targetname;
// } add_struct( flag_struct );
}
add_struct( perk_struct ); add_struct( perk_struct );
} }