Dreft Posted May 2, 2010 Share Posted May 2, 2010 Is it possible to show HUD elements after using setCameraMatrix() ? Because after setCameraMatrix() all HUD is hidden. https://wiki.multitheftauto.com/wiki/Sho ... dComponent doesn't work to do that. Link to comment
Callum Posted May 2, 2010 Share Posted May 2, 2010 Note: Calling this function takes the camera's focus away from the player and sets the camera in a fixed position and rotation. I guess that means as it's not focused on the player, and the HUD is a property of the player element, it won't show. Link to comment
Callum Posted May 2, 2010 Share Posted May 2, 2010 Then the answer (in my opinion) is; No. Link to comment
dzek (varez) Posted May 2, 2010 Share Posted May 2, 2010 you have to re-draw it using dx functions Link to comment
Dreft Posted May 2, 2010 Author Share Posted May 2, 2010 I've using setCameraMatrix() in food shop to see sales-man in first person view. Then I showing GUI window where player chooses what he want's to buy. Food increase health, so I wanted HUD that player see how much HP he have. Maybe I insert label in GUI window with "Current health: [HP HERE]".. you have to re-draw it using dx functions How I can redraw HUD using dx functions ? Link to comment
robhol Posted May 2, 2010 Share Posted May 2, 2010 Trust me, redrawing HUD with GUI is partly ok, partly difficult, partly f**king impossible (radar), but a simple health bar is no biggie. Link to comment
karlis Posted May 3, 2010 Share Posted May 3, 2010 rob, square radar will be possible in 1.0.4 i think(unless rotation will spoil dxDrawImageSection, too) Link to comment
dzek (varez) Posted May 3, 2010 Share Posted May 3, 2010 i think radar in interior isnt needed.. its empty anyway Link to comment
karlis Posted May 3, 2010 Share Posted May 3, 2010 yep, and producing blips w/o radar is easy one thing i would like is possibility to change "blips only" Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now