Game Development Community

Owen Ortmayer's Forum Posts

Thread Post Date Posted
Custom Mouse Cursor Image See games/common/gui/cursors.cs to see how to create a new cursor image. Then use Canvas.setCurso... read more 10/13/2006 (4:57 pm)
Getting mouse clicks on multiple GUIs? That's probably the simplest solution without messing with the source code. The GuiCanvas handles t... read more 06/28/2006 (9:27 am)
Merging Game Builder into TGE I merged T2D into a build of TGE 1.3 for our project. All that was really required was to add the t... read more 06/27/2006 (7:17 am)
GUI Text questions Use the newline character: [b]\n[/b]... read more 06/23/2006 (12:15 pm)
GUI Text questions Try the guiMLText control.... read more 06/23/2006 (11:31 am)
Append numbers to a string I dont think %this.counter is a valid variable since %this is not defined anywhere. Try just using ... read more 06/13/2006 (10:23 am)
Functions returning gibberish Pretty sure you need to use a return buffer ex: [code] myText = "test"; char* ret = Con::getRe... read more 06/09/2006 (11:13 am)
Strings in the Torque Engine If you just need to hold string data, C strings are fairly easy to use.... read more 06/07/2006 (8:09 am)
Foliagereplicator idea Check out this resource: [url]http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid... read more 05/31/2006 (11:19 am)
Returning F64 in ConsoleMethods This should be in the private forums.... read more 05/29/2006 (10:17 am)
GUI: What to use, word-wraped multi line text in scroll pane? GuiMLTextCtrl... read more 05/26/2006 (12:42 pm)
Mouse Over Area detection Take a look at the world editor or search for object selection in the resources... read more 05/02/2006 (12:13 pm)
Disabling GUI controls? I think the method you're looking for is guiObj.setActive( bool );... read more 04/28/2006 (12:28 pm)
Starter.fps game ends after 10 minutes Look in server/scripts/games.cs [edit] beaten to the punch... read more 04/27/2006 (11:25 am)
Dynamically Changing Sun colors? The variable is ambi[b]e[/b]nt not ambi[b]a[/b]nt. See if that works.... read more 04/18/2006 (11:05 am)
Accessing terrain data You could do this using a ray cast. Here's a code snippet that finds the terrain in order to spawn ... read more 04/11/2006 (12:41 pm)
Processes...? I have this thread bookmarked for a windows only solution: [url]http://www.garagegames.com/mg/forums... read more 04/06/2006 (7:40 am)
GetObject by name IsObject()... read more 04/05/2006 (11:41 am)
Processes...? Your original question was very non-specific. But now we know what you are looking for. As for ... read more 04/05/2006 (8:39 am)
Word Editor Creator Not exactly sure what you're asking, but you can easily create new objects in script. For Example... read more 04/05/2006 (8:16 am)
Hook into GuiCrossHairHud ScriptThis() is Method of SceneObject that returns the script representation of that object so you c... read more 04/04/2006 (11:55 am)
Visual 'buff This might help you get started : [url]http://www.garagegames.com/index.php?sec=mg&mod=resource&page... read more 04/04/2006 (7:36 am)
CommandToClient not working at all Are you sure you're passing it a valid client?... read more 03/31/2006 (9:28 am)
Creating a object class with a datablock? Looks the type of stuff you get when there's and undefined type. Would help to see the code.... read more 03/30/2006 (1:21 pm)
Particles behond datablocks Any discussion of source code needs to be in the Private Forums: [url]http://www.garagegames.com/mg/... read more 03/30/2006 (7:53 am)
Animated Text Strategies This should let you do what you want. Its a sceneobject that displays text so it can do everything ... read more 03/28/2006 (8:21 am)
Loading a character preview in GUI Editor [quote] ConsoleMethod() Macro in GuiObjectView.cc. [/quote] About Line 42 in my version: [co... read more 03/24/2006 (12:36 pm)
Loading a character preview in GUI Editor It's a Console Method so its meant for the scripting system and not the C++ code so there's no C++ h... read more 03/24/2006 (12:19 pm)
String: Starts with? GetSubStr( %string, start, end ) will extract a piece of a string for you. For your case you woul... read more 03/24/2006 (8:18 am)
GuiButtonProfile Did you search the common/ directory. I think all the basic profiles are defined there in common/ui... read more 03/03/2006 (1:40 pm)
Tribes will be coming [url]http://www.tribalwar.com/interviews/index.php?articleid=70[/url]... read more 03/02/2006 (2:05 pm)
About GuiTextEditCtrl IIRC the AltCommand field will do the trick. Put a function call (ie onEnterPressed(); ) as the Alt... read more 03/01/2006 (1:47 pm)
Beta 1.1. black boxes around gui controls. I think it's just that the profiles are changed to draw a border. If you dont want borders go into ... read more 02/23/2006 (12:31 pm)
Chapter 5 error (first book->emaga5) Looks to me like your missing a ; here: client = %this //the avatar will have a pointer to its ow... read more 02/22/2006 (10:41 am)
Is it possible for a datablock to inherit methods ? I think your problem may be that TGE (i use 1.3) only allows for 1 level of script inheritance. I t... read more 02/21/2006 (2:03 pm)
Using Math Functions in Torque Most of the standard math functions are included and prefixed with an m ex: [code] mAbs( %num ); ... read more 02/11/2006 (9:21 am)
Key combo example. Looks pretty good. I would put detectCombo() and the end of setCombo() since the only time a combo ... read more 01/13/2006 (8:42 am)
CVS Download no good I think you need a semi-colon [b];[/b] instead of a colon [b]:[/b] after :pserver. What is "no go... read more 01/09/2006 (11:22 am)
Scoring issue in Getting Started Tutorial Having just looked at the tutorial it looks as though the suspect line is supposed to be: [code] ... read more 12/29/2005 (12:03 pm)
Scoring issue in Getting Started Tutorial In TorqueLogoItem::onCollision() there is a local variable %logos that is never initialized but is t... read more 12/29/2005 (11:55 am)
Using Different Footstep Sounds Hey Yin, I had to add a little source hack to get this working. In game/player.cc in the the Player... read more 12/14/2005 (9:06 am)
Using Different Footstep Sounds I think I had to make a source tweak to get this working. Start a thread in the SDK forum and I'll ... read more 12/14/2005 (8:43 am)
Transparent GUI Question Adding transparency to GuiScrollProfile works for me.... read more 12/12/2005 (2:03 pm)
List of all GUI Controls? Let's get that page started. If i get some free time tonight I might contribute a bit.... read more 12/08/2005 (11:53 am)
Invisible GUI elements? You can do this through the [b]fillColor[/b] field of the GuiProfile. You can add an extra alpha co... read more 12/08/2005 (10:32 am)
How do you (properly) add a text label in t2d? A generic way to "add" it the canvas is use Canvas.getContent() which returns the root gui control o... read more 12/07/2005 (10:59 am)
Paid $50+/hr side job for intermed programmer in Silicon Valley Hey. I sent you an email.... read more 11/29/2005 (11:14 am)
Ascii code Yes. What language are you looking to use?... read more 11/10/2005 (10:22 am)
New gui elements Make a new profile that is the same as the GuiTextEditControl but has the larger font size and then ... read more 10/18/2005 (1:44 pm)
Script function from source Yep. I think you could also use dSprintf() for this, but getFloatArg() was designed specifically ... read more 10/14/2005 (9:56 am)
Page «Previous 1 2 3 4 Last »