Game Development Community

Objects that function

by Michael Canty · in Torque Game Engine · 11/07/2007 (1:57 pm) · 4 replies

I am working on adding objects like computers to a game. the computer needs to be able to work like a computer by showing dynamicly created information. Either text or graphics. My first tas is to create a computer panel that has buttons and a screen where information woould be displayed for the player. Does anyone know of a way to do this in torque 1.2.5.

#1
11/07/2007 (1:59 pm)
The easiest way would be to use a GUI and update it as necessary. But it sounds like you want it in-world. That is a significantly harder problem. I'm not sure if anyone's done that. Often, people use IFL's, but they're not dynamic in the sense you are thinking about.
#2
11/09/2007 (4:48 am)
I suppose you could extend this resource to get what you need...

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=6750

You can scale the shape way down and make rows of banners to represent the computer screen.

And you could extend this resource to make the buttons which you could click with the mouse...

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7335

Regards,

Robert
#3
11/11/2007 (5:09 am)
Thanks for the ideas. Since I am just starting to figure this part of the game out I am open to all ideas. If anyone wants to see a screen shot of my control panel that I am working on now please let me know.
#4
11/12/2007 (1:53 pm)
I came up with a solution that is working fine for the simple command displays. This solution involves creating IFLs for the different materials on a console. Then by creating seperate animations starting at different frames to control in the game.

I have crated a set of console panels on the walls of my main obkect (A space ship). Each one of these consoles can control certain doors or machinery. The consoles all look the same they have a enter button (that executes), a select button (that selects a system to control), and various othe buttons. The idea was to be able to select a system form a displays list. Information would be displayed once you selected the desired system. Then by clicking the enter button the object (door, ramp etc) would be controlled.

This is now working great. David's info on the IFLs helped a lot. I still have other systems that will need more that an animation. I hope to come up with some solution that does not need all IFLs.