Add TAMPA3 weapon, closes #19

This commit is contained in:
Sardelka 2022-07-02 13:12:59 +08:00
parent 74a2265200
commit 6c2c7e881f
2 changed files with 9 additions and 0 deletions

View File

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

View File

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