GUI Help Please anyone
by Donnie Hutson Jr · in Game Design and Creative Issues · 01/13/2009 (4:40 pm) · 19 replies
I was wondering if anyone could help point me in the right direction?
All I want to do is numerically display how many health kits I pickup and use,
like the health numeric displays for health use, on screen. I can pickup and repair my
health just fine but would like to see how many repair kits I have on my player
to use if needed????? I know its probably a very newbie question, but I hope
someone can help me out and if you can let me say before hand thank you so
very much in advance....................
All I want to do is numerically display how many health kits I pickup and use,
like the health numeric displays for health use, on screen. I can pickup and repair my
health just fine but would like to see how many repair kits I have on my player
to use if needed????? I know its probably a very newbie question, but I hope
someone can help me out and if you can let me say before hand thank you so
very much in advance....................
About the author
Electrical Engineer by trade, Computer geek by night. Still learning and loving every minute.
#2
01/14/2009 (7:41 pm)
Look up the ammo hud resource and do the same thing, or nearly the same thing, for a health kit hud.
#3
01/15/2009 (2:21 pm)
Thanks guys for helping, but I'm still stuck....sorry for being ssuch a newbie....but any examples????
#4
01/15/2009 (2:22 pm)
I tried the ammo hud but got lost on where to do it with the healthkit???
#5
01/15/2009 (2:30 pm)
Donnie, Michael is right. The Ammo HUD Tutorial would be a great place to start. You just need to modify it to work with the health packs. I would suggest going through the tutorial to get a feel for how it works with ammo and then try to modify it for health packs. If you still can't get it I will see if I can whip something up for you. But it might take me a couple of days as I'm upgrading my guiADVBarHud to TGEA.
#6
01/15/2009 (2:44 pm)
Thank you so very much for your understanding and help in this matter. I will try to do the ammo hud tut again, forewhich I did do for my ammo counter, and if you do get the time to write a little code for me and the community that would be great.....thank you .......Donnie
#7
01/15/2009 (2:55 pm)
No problem, I might actually take a break from figuring out texture coordinates tonight and do this. It is actually pretty simple to do but involves touching a few files to make it work.
#8
01/15/2009 (3:05 pm)
Thank you Ryan and I hope to hear from ya soon, and if there is anything I can do for you, although I don't know what, please ask me anyways........Donnie
#9
Another simpler example would be to take the Score Counter code from the GettingStarted.pdf and change it to health packs instead of the Torque Logo collision.
01/15/2009 (3:05 pm)
I had forgotten that the ammoHud resource had a couple of weapon script hooks in it. I can see where that could cause confusion.Another simpler example would be to take the Score Counter code from the GettingStarted.pdf and change it to health packs instead of the Torque Logo collision.
#10
01/15/2009 (3:22 pm)
I'll try that instead thank you........Donnie
#11
RYAN, your my only hope.......HELLLLPPPPPPP.....
PS..My girlfriend is laughing at me and I don't find this funny....
01/15/2009 (5:09 pm)
I'm going nuts......I see dead people now, what the %$$%%#....RYAN, your my only hope.......HELLLLPPPPPPP.....
PS..My girlfriend is laughing at me and I don't find this funny....
#12
01/15/2009 (6:02 pm)
I just submitted a resource on this, but I dont know how long it will take for it to show up. Actually it looks like it showed under the blogs, that is weird?! I submitted it from the resource page so I guess it's more craziness with the site.
#13
Ps. Is there any books you would recommend to a newbie like me to learn how to write code like you do????????
01/15/2009 (6:28 pm)
Ryan, your the man.....the only problem I get now is when I use a healthkit it doesn't subtract from my amount, however it does go to the correct amount when I pick up another one...............this I'm sure Ryan could fix in nothing flat........I hope you dont take this wrong, but I love ya man...........Donnie Ps. Is there any books you would recommend to a newbie like me to learn how to write code like you do????????
#14
I would recommend the books written by Edward F. Maurina. They can be found on the products page here. And I would also recommend the 2 books written by Ken Finney. Those should do it for Torque and basic scripting. I keep a large number of books around on various parts of development. I would say definately get one on 3D math though.
01/15/2009 (7:45 pm)
Now my wife is looking at me funny....I would recommend the books written by Edward F. Maurina. They can be found on the products page here. And I would also recommend the 2 books written by Ken Finney. Those should do it for Torque and basic scripting. I keep a large number of books around on various parts of development. I would say definately get one on 3D math though.
#15
I second that. The Game Programmers Guide to Torque is a great reference for GUI and scripting in general.
01/15/2009 (7:49 pm)
Quote:I would recommend the books written by Edward F. Maurina.
I second that. The Game Programmers Guide to Torque is a great reference for GUI and scripting in general.
#16
01/16/2009 (10:19 am)
Thanks Guys for all your help..........Donnie
#17
Edward F. Maurina III
The Game Programmer's Guide to Torque: Under the Hood of the Torque Game Engine
Multiplayer Gaming and Engine Coding for the Torque Game Engine
Kenneth C Finney
3D Game Programming All in One
Advanced 3D Game Programming All in One
Fletcher Dunn
3D Math Primer for Graphics and Game Development
David Franson
2D Artwork and 3D Modeling for Game Artists
The Dark Side of Game Texturing
Luke Ahearn
3D Game Textures: Create Professional Game Art Using Photoshop
Brad Strong
Creating Game Art for 3D Engines
01/16/2009 (11:41 am)
Donnie, here are some of the books I recommend you take a look at. I have all but the one from Brad Strong but I have been thinking about picking it up. Luke Ahearn has a lot of books out there and I like the one listed below so you might want to look at some of his other work. If anyone has any others please list them.Edward F. Maurina III
The Game Programmer's Guide to Torque: Under the Hood of the Torque Game Engine
Multiplayer Gaming and Engine Coding for the Torque Game Engine
Kenneth C Finney
3D Game Programming All in One
Advanced 3D Game Programming All in One
Fletcher Dunn
3D Math Primer for Graphics and Game Development
David Franson
2D Artwork and 3D Modeling for Game Artists
The Dark Side of Game Texturing
Luke Ahearn
3D Game Textures: Create Professional Game Art Using Photoshop
Brad Strong
Creating Game Art for 3D Engines
#18
01/16/2009 (3:09 pm)
thanks ryan, I am buying ed's book soon, thanks again for all your help it work great.......Donnie
#19
01/29/2009 (8:33 am)
good advice!
Torque Owner Ryan Mick
Red Witch Entertainment