Hi All,
I recently had a bug that I was controlling Dhsk and got shot that it caused bleeding. Except that while controlling it I did not need to apply the bandage but as soon as I exited it I had to apply it.
Apart from that I have a request to extend .uc files to allow 5th passenger to be added to helicopter:
ROHUDWidgetHelicopterInfo.uc with ROVH_Seat8 in enum:
Then it would be good to rename methods which are there:
Initialize, UpdateWidget, UpdateDamageIndicators, UpdateDamageTextureRotations, ResetSeatVisibility and append them with +H (for ex UpdateWidgetH) that they won't collide with main ROHUDWidgetVehicleInfo.uc (I assume if the functions have the same name and are being extended from ROHUDWidget then they may be in conflict at instantiating and if someone wants to add custom vehicle with custom HUDBodyTexture, then the hud will not work properly - see 2nd screenshot, vehicle hud has overlayed huey parts on it). It may also be that instead of renaming, a if/else clause must be put in to better filter if MyVehicle is ROVehicleHelicopter or for example ROVehicleTreaded.
Then ROVehicleHelicopter.uc will also need to include Seat8 plus when I added 5th passenger - its dot seems to be 3x bigger than the others (see 1st screenshot). The 5th passenger icon also appears on 2nd screenshot where I am in a standard vehicle (same big dot).
I recently had a bug that I was controlling Dhsk and got shot that it caused bleeding. Except that while controlling it I did not need to apply the bandage but as soon as I exited it I had to apply it.
Apart from that I have a request to extend .uc files to allow 5th passenger to be added to helicopter:
ROHUDWidgetHelicopterInfo.uc with ROVH_Seat8 in enum:
That would require extend some other methods inside that file (ResetSeatVisibility for example).enum EROHelicopterTextures
{
ROVH_Vehicle,
ROVH_Engine,
ROVH_MainRotor,
ROVH_TailRotor,
ROVH_LeftSkid,
ROVH_RightSkid,
ROVH_TailBoom,
ROVH_Seat0,
ROVH_Seat1,
ROVH_Seat2,
ROVH_Seat3,
ROVH_Seat4,
ROVH_Seat5,
ROVH_Seat6,
ROVH_Seat7,
ROVH_Seat8,
ROVH_PlayerView,
ROVH_HitAngleIndicator,
ROVH_AmmoTexture,
ROVH_AmmoTypeLabel_1,
ROVH_AmmoTypeLabel_2,
ROVH_AmmoCountLabel_1,
ROVH_AmmoCountLabel_2,
ROVH_SafeExitTexture,
};
Then it would be good to rename methods which are there:
Initialize, UpdateWidget, UpdateDamageIndicators, UpdateDamageTextureRotations, ResetSeatVisibility and append them with +H (for ex UpdateWidgetH) that they won't collide with main ROHUDWidgetVehicleInfo.uc (I assume if the functions have the same name and are being extended from ROHUDWidget then they may be in conflict at instantiating and if someone wants to add custom vehicle with custom HUDBodyTexture, then the hud will not work properly - see 2nd screenshot, vehicle hud has overlayed huey parts on it). It may also be that instead of renaming, a if/else clause must be put in to better filter if MyVehicle is ROVehicleHelicopter or for example ROVehicleTreaded.
Then ROVehicleHelicopter.uc will also need to include Seat8 plus when I added 5th passenger - its dot seems to be 3x bigger than the others (see 1st screenshot). The 5th passenger icon also appears on 2nd screenshot where I am in a standard vehicle (same big dot).
Attachments
Last edited: