Add Runier2 weapon, closes #18

This commit is contained in:
Sardelka 2022-07-02 13:21:55 +08:00
parent 6c2c7e881f
commit 47f86c098d
2 changed files with 10 additions and 0 deletions

View File

@ -174,6 +174,11 @@ namespace RageCoop.Client {
weaponHash=1176362416; weaponHash=1176362416;
break; break;
// Ruiner2, not working for some reason
case 50118905:
weaponHash=1176362416;
break;
// SAVAGE // SAVAGE
case 1638077257: case 1638077257:
weaponHash=(uint)VehicleWeaponHash.PlayerLazer; weaponHash=(uint)VehicleWeaponHash.PlayerLazer;

View File

@ -66,6 +66,11 @@ namespace RageCoop.Client
int i; int i;
switch (v.Model.Hash) switch (v.Model.Hash)
{ {
// RUINER2
case 941494461:
i=BulletsShot%2==0 ? 65 : 66;
return new MuzzleInfo(v.Bones[i].Position, v.Bones[i].ForwardVector);
// TAMPA3 // TAMPA3
case -1210451983: case -1210451983:
return new MuzzleInfo(v.Bones[87].Position, v.Bones[87].ForwardVector); return new MuzzleInfo(v.Bones[87].Position, v.Bones[87].ForwardVector);