Need "Clickable Objects" behaviors for TGE 1.5 Please
by Nicolai Dutka · in Torque Game Engine · 08/31/2007 (1:14 am) · 10 replies
Well, my thread topic should speak for itself. I have my camera functions mapped to W,A,S,D on keyboard and in my playGui.gui, I have noCursor = "0"; so I am all set and ready to start clicking on bots in my world. What do I do?
(I am doing a Strategy RPG)
(I am doing a Strategy RPG)
#2
08/31/2007 (2:42 am)
No. I am using a Starter.FPS I believe. I have TGE 1.5.2
#3
08/31/2007 (2:59 am)
What's the strategy kit?
#4
Basically, to click on objects without the RTS kit requires custom code. You can search through the resources section to find it, but it does require some coding ability. The RTS kit allows clicking on bots, but will still probably need modification to be suitable for your needs.
08/31/2007 (4:40 am)
RTS kit, sorry, I misspoke.Basically, to click on objects without the RTS kit requires custom code. You can search through the resources section to find it, but it does require some coding ability. The RTS kit allows clicking on bots, but will still probably need modification to be suitable for your needs.
#5
08/31/2007 (5:30 am)
Seach for : "Code: Object Selection"
#6
Recoding the game's engine is definitely something I could do, I just need a little instruction. All the "object selection" code I found refers to files I simply cannot find. (I ran a search on my entire PC and could not find any *.cc files).
08/31/2007 (12:08 pm)
I've been searching for hours and the closest I could find said it works up to TGE 1.3 but I couldn't find anything that says it'll work in 1.5.Recoding the game's engine is definitely something I could do, I just need a little instruction. All the "object selection" code I found refers to files I simply cannot find. (I ran a search on my entire PC and could not find any *.cc files).
#7
08/31/2007 (12:19 pm)
Omg, n00b! Sorry, I always make a "templateProject" folder and put it on my desktop and work out of that when making a game. The "templateProject" folder is a slightly modified version of the "Starter.FPS" folder that I always use as a starting point for making a new game. Of course, the Starter.FPS folder does not have an "engine" folder in it, so that's why I wasn't finding any *.cc files. I found what I need, now I am hoping the code I found will work because the thread says it was only tested in Torque 1.1.1 and I have 1.5.2. I'll let you all know how it goes!
#8
09/03/2007 (7:28 am)
I am also looking for clickable objects in the screen view
#9
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7335
09/03/2007 (8:00 am)
Here is the guide, but in order for all of these changes to take effect, you have to recompile your Torque engine.www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7335
#10
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=11152
Regards,
Christopher.
09/04/2007 (3:08 am)
This is another resource for this topic, which I found very useful.www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=11152
Regards,
Christopher.
Torque 3D Owner Gareth Fouche