Forums Index >> Modding >> Scripting: Bullet and Health Meter?
Page : <1> :
Sorry, ultimatedood was way ahead of you. 10-20 People already said, "not possible" (
to my understanding
).
If I am reading you right, my idea for health was similar, only HP would be a bit of an issue. What would happen if everytime the bullet mesh (is it a mesh, or just a 2dg?) made contact w/ the tank, a meter on the side would lose one square. This way, it didn't actually count the amount of health the tank had, only that it had been hit so many times. Now, what would be annoying is the powerups.
Pardon my rudeness, I cannot abide useless people.
I think that there could be a script that counted how many times you got hit.
I love my randylion
I think art crazy outlined why you can't do this. From what I remember the hits/health/whatever is server-side while the gui is client-side.
If the event of hit of users tank cant be caught by client-side script, then it really doesnt work...
Heavy Knight
Okay, lets see.
The Ammo one would be possible, I've thought of it, but then it'd require a server sided script too, and every client would need a script too. It's strange that there is a value in the client memory with the number of bullets left that is NOT accessible by TSL... I guess BT didn't include it :(
The health thing, it wouldnt be possible. Currently TT doesn't have ANY way to detect a hit.
OK, it would be cool! ;)
Heavy Knight
So, will u make us a script ? :o
Heavy Knight
Page : <1> :
I have an idea:
For every user, on server entering set a variable with default number of his bullets. Then, on shots, it goes smaller. In the easiest version it can be even shown via CenterPrint. On powerups it would save old number, but use powerup number. This would be client-side script, but not working properly on mods with modified special.cs. Also there should be different scripts for tank types cause of difference in bullet count.
Analogical thing can be done with health.
Plz tell me if it is possible... ;)
I myself have not enough experience by now... Thats why I do such a request.
Heavy Knight
Last edited: Monday, November 06, 2006 at 11:55:37 AM