killer steel im sure your words are something ronon will carry with him and hopefully ghast can get a life thank god he got a ban eh?
[QUOTE=Killer_Steel;16598615]It's possible to make a heart system, kinda difficult but possible.
Also hurr hurr at close-minded retard, he doesn't have a coding program that auto-tabs. Kindly fuck off now, we don't require your kind here since you don't provide constructive criticism, or criticism of any kind, just posts where you try to show off but fall short.
Ronon, you have pumped out some work in the past, so I'm enthusiastic that you will show some work that is satisfactory of your goal, all I'm saying is don't bite off more than you can chew.
Yes, I partially agree with Kilburn, your current goals are quite out of reach, but that doesn't mean he can't learn, practice, then come back another day, now stop being such a prick, you may have seen many a mod fall, but it doesn't mean you can foresee that this gamemode shall fail. Post something constructive, relative, or even closely resembling something nice, because if you wanna be a retard, that's what the OIFY forum is for.[/QUOTE]
I helped someone, I'll let them reveal themselves if they wish to, with creating a hearts system. It's just figuring out how much health is left (for i=1,math.floor(health/10) do, if health - math.floor(health/10)*10 = 2.5, 5, 7.5 then...)
Also, whenever I do work, the only time I don't use tabs is when, well, it's disabled. I use notepad++, and I usually do the tabs myself out of habit. It's a good habit to get into, so you don't miss an "end", or if you're working in C/C#/C++ a { or }
I suppose the difficulty of a heart system is adjusting a graphics system to coordinate with the health increments, then there's heart containers that increase max health by a set amount, so the code would have to again, adjust for that. I never said impossible, just difficult (and now tedious :| ), anyway, I don't see why someone would call another person out simply because he doesn't tab his code :/, never saw the real use for it since you always had syntax colouring.
[QUOTE=Killer_Steel;16618147]I suppose the difficulty of a heart system is adjusting a graphics system to coordinate with the health increments, then there's heart containers that increase max health by a set amount, so the code would have to again, adjust for that. I never said impossible, just difficult (and now tedious :| ), anyway, I don't see why someone would call another person out simply because he doesn't tab his code :/, never saw the real use for it since you always had syntax colouring.[/QUOTE]
Read my above statement. Good to keep track of the nesting structure, so you don't make a dumb mistake like, put an else in the wrong place.
And you're getting it completely wrong. It's just a matter of making sure that these SNPCs or whatever they are do damage in increments of 2.5 or so, and then it's about 20 lines of code to do all the drawing.
Alright, now I get it :|.
For a good hearts system, make a bold outline of the hearts, and then draw a thickish horizontal line at different widths for where you are in the heart. Each line disappears or gets thinner as the health goes down maybe? Either that or have it with a black background, in which case you would only need a big health bar for each heart.
[QUOTE=grea$emonkey;16623028]For a good hearts system, make a bold outline of the hearts, and then draw a thickish horizontal line at different widths for where you are in the heart. Each line disappears or gets thinner as the health goes down maybe? Either that or have it with a black background, in which case you would only need a big health bar for each heart.[/QUOTE]
It would probably look best just to use surface.DrawTexturedRect with a heart texture for full, 3/4, half, and 1/4 hearts.
[QUOTE=Ghast;16400979]The coder isn't that skilled, don't see all these ambitious features going anywhere.[/QUOTE]
Counting, Ghast! 3rd gamemode that has been flammed by you!
And nice gamemode btw.
Sorry, you need to Log In to post a reply to this thread.