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:
A Man
2017-06-24 15:34:53 +02:00
committed by ebayShopper
parent efccc4a28d
commit a7f2c88c32
4 changed files with 9 additions and 2 deletions

View File

@@ -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)

View File

@@ -0,0 +1,5 @@
class 5Rnd_127x99_as50;
class 5Rnd_127x99_as50_CP : 5Rnd_127x99_as50
{
ammo = "B_127x99_Ball_noTracer";
};

View File

@@ -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

View File

@@ -1,8 +1,8 @@
class BAF_AS50_scoped;
class BAF_AS50_scoped_DZ : BAF_AS50_scoped {
displayname = "AS50_DZ";
displayname = "AS50";
type = WeaponSlotPrimary;
canlock = 0;
//cursor = "RifleCursor";
//cursoraim = "Foresight";
};
};