mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-07 21:59:49 -05:00
Add changes from sv_patch_zm_weapons and sv_fix_zm_weapons dvars to weapon files
War Machine: explode on impact from weapon file
This commit is contained in:
parent
c8b03d7763
commit
8ae21ccf41
@ -252,8 +252,6 @@ on_player_spawned()
|
|||||||
|
|
||||||
self thread weapon_locker_give_ammo_after_rounds();
|
self thread weapon_locker_give_ammo_after_rounds();
|
||||||
|
|
||||||
self thread war_machine_explode_on_impact();
|
|
||||||
|
|
||||||
self thread jetgun_heatval_changes();
|
self thread jetgun_heatval_changes();
|
||||||
|
|
||||||
self thread additionalprimaryweapon_indicator();
|
self thread additionalprimaryweapon_indicator();
|
||||||
@ -437,8 +435,8 @@ set_dvars()
|
|||||||
setDvar( "riotshield_projectile_damage_scale", 1 );
|
setDvar( "riotshield_projectile_damage_scale", 1 );
|
||||||
setDvar( "riotshield_deployed_health", 1500 );
|
setDvar( "riotshield_deployed_health", 1500 );
|
||||||
|
|
||||||
setDvar( "sv_patch_zm_weapons", 0 );
|
setDvar( "sv_patch_zm_weapons", 1 );
|
||||||
setDvar( "sv_fix_zm_weapons", 1 );
|
setDvar( "sv_fix_zm_weapons", 0 );
|
||||||
|
|
||||||
setDvar( "sv_voice", 2 );
|
setDvar( "sv_voice", 2 );
|
||||||
setDvar( "sv_voiceQuality", 9 );
|
setDvar( "sv_voiceQuality", 9 );
|
||||||
@ -3312,32 +3310,6 @@ remove_buildable_pieces( buildable_name )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
war_machine_explode_on_impact()
|
|
||||||
{
|
|
||||||
self endon("disconnect");
|
|
||||||
|
|
||||||
while(1)
|
|
||||||
{
|
|
||||||
self waittill("grenade_launcher_fire", grenade, weapname);
|
|
||||||
|
|
||||||
if(weapname == "m32_zm")
|
|
||||||
{
|
|
||||||
grenade thread grenade_explode_on_impact();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
grenade_explode_on_impact()
|
|
||||||
{
|
|
||||||
self endon("death");
|
|
||||||
|
|
||||||
self waittill("grenade_bounce", pos);
|
|
||||||
|
|
||||||
self.origin = pos; // need this or position is slightly off
|
|
||||||
|
|
||||||
self resetmissiledetonationtime(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
jetgun_heatval_changes()
|
jetgun_heatval_changes()
|
||||||
{
|
{
|
||||||
self endon("disconnect");
|
self endon("disconnect");
|
||||||
|
4
weapons/zm/870mcs_upgraded_zm
Normal file
4
weapons/zm/870mcs_upgraded_zm
Normal file
File diff suppressed because one or more lines are too long
1
weapons/zm/870mcs_zm
Normal file
1
weapons/zm/870mcs_zm
Normal file
File diff suppressed because one or more lines are too long
1
weapons/zm/bowie_knife_zm
Normal file
1
weapons/zm/bowie_knife_zm
Normal file
File diff suppressed because one or more lines are too long
7
weapons/zm/dsr50_upgraded_zm
Normal file
7
weapons/zm/dsr50_upgraded_zm
Normal file
File diff suppressed because one or more lines are too long
1
weapons/zm/dsr50_zm
Normal file
1
weapons/zm/dsr50_zm
Normal file
File diff suppressed because one or more lines are too long
1
weapons/zm/dualoptic_saritch_upgraded_zm
Normal file
1
weapons/zm/dualoptic_saritch_upgraded_zm
Normal file
File diff suppressed because one or more lines are too long
4
weapons/zm/fiveseven_upgraded_zm
Normal file
4
weapons/zm/fiveseven_upgraded_zm
Normal file
File diff suppressed because one or more lines are too long
4
weapons/zm/fiveseven_zm
Normal file
4
weapons/zm/fiveseven_zm
Normal file
File diff suppressed because one or more lines are too long
8
weapons/zm/hamr_upgraded_zm
Normal file
8
weapons/zm/hamr_upgraded_zm
Normal file
File diff suppressed because one or more lines are too long
1
weapons/zm/hamr_zm
Normal file
1
weapons/zm/hamr_zm
Normal file
File diff suppressed because one or more lines are too long
8
weapons/zm/hk416_upgraded_zm
Normal file
8
weapons/zm/hk416_upgraded_zm
Normal file
File diff suppressed because one or more lines are too long
8
weapons/zm/hk416_zm
Normal file
8
weapons/zm/hk416_zm
Normal file
File diff suppressed because one or more lines are too long
1
weapons/zm/knife_zm
Normal file
1
weapons/zm/knife_zm
Normal file
File diff suppressed because one or more lines are too long
1
weapons/zm/knife_zm_alcatraz
Normal file
1
weapons/zm/knife_zm_alcatraz
Normal file
File diff suppressed because one or more lines are too long
12
weapons/zm/lsat_upgraded_zm
Normal file
12
weapons/zm/lsat_upgraded_zm
Normal file
File diff suppressed because one or more lines are too long
12
weapons/zm/lsat_zm
Normal file
12
weapons/zm/lsat_zm
Normal file
File diff suppressed because one or more lines are too long
1
weapons/zm/m32_zm
Normal file
1
weapons/zm/m32_zm
Normal file
File diff suppressed because one or more lines are too long
9
weapons/zm/qcw05_upgraded_zm
Normal file
9
weapons/zm/qcw05_upgraded_zm
Normal file
File diff suppressed because one or more lines are too long
1
weapons/zm/qcw05_zm
Normal file
1
weapons/zm/qcw05_zm
Normal file
File diff suppressed because one or more lines are too long
5
weapons/zm/saiga12_upgraded_zm
Normal file
5
weapons/zm/saiga12_upgraded_zm
Normal file
File diff suppressed because one or more lines are too long
2
weapons/zm/saiga12_zm
Normal file
2
weapons/zm/saiga12_zm
Normal file
File diff suppressed because one or more lines are too long
9
weapons/zm/saritch_upgraded_zm
Normal file
9
weapons/zm/saritch_upgraded_zm
Normal file
File diff suppressed because one or more lines are too long
1
weapons/zm/saritch_zm
Normal file
1
weapons/zm/saritch_zm
Normal file
File diff suppressed because one or more lines are too long
1
weapons/zm/sf_qcw05_upgraded_zm
Normal file
1
weapons/zm/sf_qcw05_upgraded_zm
Normal file
File diff suppressed because one or more lines are too long
4
weapons/zm/srm1216_upgraded_zm
Normal file
4
weapons/zm/srm1216_upgraded_zm
Normal file
File diff suppressed because one or more lines are too long
1
weapons/zm/srm1216_zm
Normal file
1
weapons/zm/srm1216_zm
Normal file
File diff suppressed because one or more lines are too long
14
weapons/zm/tar21_upgraded_zm
Normal file
14
weapons/zm/tar21_upgraded_zm
Normal file
File diff suppressed because one or more lines are too long
2
weapons/zm/tar21_zm
Normal file
2
weapons/zm/tar21_zm
Normal file
File diff suppressed because one or more lines are too long
1
weapons/zm/tazer_knuckles_zm
Normal file
1
weapons/zm/tazer_knuckles_zm
Normal file
File diff suppressed because one or more lines are too long
15
weapons/zm/type95_upgraded_zm
Normal file
15
weapons/zm/type95_upgraded_zm
Normal file
File diff suppressed because one or more lines are too long
2
weapons/zm/type95_zm
Normal file
2
weapons/zm/type95_zm
Normal file
File diff suppressed because one or more lines are too long
14
weapons/zm/xm8_upgraded_zm
Normal file
14
weapons/zm/xm8_upgraded_zm
Normal file
File diff suppressed because one or more lines are too long
1
weapons/zm/xm8_zm
Normal file
1
weapons/zm/xm8_zm
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user