Open HellDragon-HK opened 6 years ago
I'm think the team beacon is the triangle that is shown above vehicles. That part just disables it before destroying the effects.
There is no TeamChanged
function for a weapon. Instead, you should do these changes on the associated ONSWeaponPawn
class; which in this case does not exist (no UT3HellbenderSideGunPawn
, so you should make one. Check how the rear gun pawn works and see the difference between the lines:
https://github.com/GreatEmerald/UT3Vehicles/blob/20113140f4334a117210b8210e1b9e6755742ceb/Classes/UT3Hellbender.uc#L217-L218
So DriverWeapons will need to become UT3HellbenderSideGunPawn?
Yea, you'll need to replace WeaponClass
with WeaponPawnClass
.
Don't think that's going to work.
Unknown member WeaponPawnClass in DriverWeapons
unless.....does it need to be done like the Rear Gun (())?
Nope that didn't work either, still the same error.
DriverWeapons=((WeaponPawnClass=Class'UT3HellbenderSideGunPawn',WeaponBone="SecondaryTurretYaw"))
Changing it back to WeaponClass compiles but results in no turret in-game.
DO NOT MERGE
I've been trying to get a corona for the driver turret but no luck...
C:\Unreal Anthology\UT2004\UT3Vehicles\Classes\UT3HellbenderSideGun.uc(144) : Error, 'bNoTeamBeacon': Bad command or expression
So remove the bNoTeamBeacon = True (which I'm not sure if it's even possible to function without as that's basically if no health bar is true right?) and then I get...
C:\Unreal Anthology\UT2004\UT3Vehicles\Classes\UT3HellbenderSideGun.uc(117) : Error, Unknown Function 'TeamChanged' in 'Class Onslaught.ONSPRVSideGun'