mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Fix Corepatch AS50 magazine spawn (#1955)
* Fix Corepatch AS50 magazine spawn
The Corepatch broke some of the AS50 magazine spawns. Im not sure why it happend sometimes and sometimes not.
This message showed up sometimes: No entry 'bin\config.bin/CfgMagazines-5Rnd_127x99_as50_CP'.
The CorePatch use that:
e0d06f7086/CorePatch_CIT_14888/config.cpp
This commit should fix that error message and the AS50 name as well.
* Define 5Rnd_127x99_as50_CP class
* Update AS50 fix
* Revert AS50 ammo fix
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
[FIXED] Readded crossbow reload sound
|
||||
[FIXED] Using setDamage or setHit to kill a player via script will no longer cause a double death.
|
||||
[FIXED] The dramatic recoil camera shake effect from a nearby bullet hit is now reset correctly instead of remaining permanent.
|
||||
[FIXED] Added temporary fix for missing AS50 ammo error with beta branch core patch. #1955 @AirwavesMan
|
||||
[FIXED] Melee and tranquilizer bolt knockouts were usually instant or far shorter than the intended time of 20s-80s.
|
||||
|
||||
[NOTE] Fixes below are included in the mission file and server pbo as part of server package 1.0.6.1A (March 10th 2017)
|
||||
|
||||
5
SQF/dayz_code/Configs/CfgMagazines/Magazines/127x99.hpp
Normal file
5
SQF/dayz_code/Configs/CfgMagazines/Magazines/127x99.hpp
Normal file
@@ -0,0 +1,5 @@
|
||||
class 5Rnd_127x99_as50;
|
||||
class 5Rnd_127x99_as50_CP : 5Rnd_127x99_as50
|
||||
{
|
||||
ammo = "B_127x99_Ball_noTracer";
|
||||
};
|
||||
@@ -18,5 +18,6 @@
|
||||
#include "Shotgun.hpp"
|
||||
#include "Arrows.hpp"
|
||||
#include "LauncherAmmo.hpp"
|
||||
#include "127x99.hpp" //Remove after A2OA stable branch exceeds Version 1.63.131129
|
||||
|
||||
#undef COMBINE_MAG
|
||||
@@ -1,6 +1,6 @@
|
||||
class BAF_AS50_scoped;
|
||||
class BAF_AS50_scoped_DZ : BAF_AS50_scoped {
|
||||
displayname = "AS50_DZ";
|
||||
displayname = "AS50";
|
||||
type = WeaponSlotPrimary;
|
||||
canlock = 0;
|
||||
//cursor = "RifleCursor";
|
||||
|
||||
Reference in New Issue
Block a user