=FAS=Shigawire Posted July 28, 2008 Share Posted July 28, 2008 Hey, I want to create a new Style for the noiseblip, the weapon window and the Health, e.g. like Counterstrike Source, or a long self-desgined bar at the bottom of the window, containing these informations. Is it possible to make such new styles and bars? Link to comment
Ace_Gambit Posted July 28, 2008 Share Posted July 28, 2008 I am not sure what you mean by noise blips? The others features are scriptable. Although creating a custom HUD overlay is a bit more complicated. You will have to hide the original HUD components and create overlay images that fit relative to the screen size. Creating a custom bar that completely replaces the HUD is less difficult. Just use any of the GUI functions and hide the original HUD components. Sections in the API of interest: http://development.mtasa.com/index.php? ... dComponent http://development.mtasa.com/index.php? ... _functions And in DP3 you can use draw functions as an alternative to static images to create simple 2D health bars: http://development.mtasa.com/index.php? ... _functions Link to comment
=FAS=Shigawire Posted July 29, 2008 Author Share Posted July 29, 2008 Hi, thank you, with noise blip I mean the nice bar which is growing when you are running in Stealth So, you mean some parts are difficult, I am not a very good scripter. Have to learn lua first, the only thing i wrote was a script for weapon ammo ^^ So i have to teach Lua myself a bit. Link to comment
Ace_Gambit Posted July 29, 2008 Share Posted July 29, 2008 I wouldn't want to use the word difficult but it does require novice scripting skills. You will have to understand the event system in order to create health bars and such. But once you get passed that point it shouldn't be too hard to script. The noise bar in stealth is a good example of how to use GUI functions. Link to comment
=FAS=Shigawire Posted July 29, 2008 Author Share Posted July 29, 2008 Ok, thanks, ill give try 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