Gary Preston's Forum Posts
| Thread | Post | Date Posted |
|---|---|---|
| Saving $pref's | Try [code] export( "$Pref::*", expandFilename("./preferences/prefs.cs"), fal... read more | 02/12/2009 (5:01 am) |
| Simple Question about If else statements. | In addition to what Sherman said about the difference between = and ==. there's also $= for string c... read more | 01/11/2009 (9:31 am) |
| What would you like to see addressed in Torque 3D? | Rather than a ton of build in features, I'd rather see a good solid core product with a modular way ... read more | 01/10/2009 (5:11 am) |
| Loading a level for a UI menu | [quote]1. I'm using this method because I just get the impression that using levels and button behav... read more | 01/06/2009 (8:52 am) |
| SimSet question.... | Yes. If the object is deleted, it will notify the SimSet which will remove the object.... read more | 12/21/2008 (5:16 am) |
| General Networking Discussion--Game Genres | [quote]Stephen Zepp: Peer to peer anything out in the wild is a risky solution, one that many commer... read more | 12/19/2008 (5:17 pm) |
| Modulo oddity | I would have thought the -10 result is incorrect and the value should be 10. Doesn't explain why the... read more | 12/19/2008 (12:37 pm) |
| How to package a game for distribution | The parts you'll need to "pack-up" are those in the example/ sub-folder. Anything above that either ... read more | 12/18/2008 (2:10 pm) |
| Leaving MissionArea | The onLeaveMissionArea callback occurs on the Player's current datablock rather than the GameConnect... read more | 12/18/2008 (11:16 am) |
| Merging scene graphs? | You can use loadLevel to load the first .t2d level into a sceneGraph, then you can use addToLevel to... read more | 12/16/2008 (4:28 pm) |
| Items disapearing when thrown or on death | Short Answer: You won't be able to use the same flag since the flag the player is carrying is not a ... read more | 12/13/2008 (4:33 pm) |
| Hello, question on making a deathmatch server | Starting up a dedicated server is usually accomplished by running the game exe with a few extra argu... read more | 12/06/2008 (4:44 am) |
| Real time rendering in start menu | Yes it's possible. You just need to load up a small mission then overlay your GUI as normal. [url=ht... read more | 12/05/2008 (2:44 pm) |
| ApplyRepair problem in ShapeBase.cc? (TGE 1.5.2) | [code]if (mRepairReserve > 0.0) { F32 rate = getMin(mDataBlock->repairRate, mRepairReserve);... read more | 12/04/2008 (4:01 am) |
| Rotation around pivot point | If your sprites are small enough, and depending on where you want the pivot point to be, another alt... read more | 12/02/2008 (4:42 am) |
| Debugging TGB project with Threads in Torsion | Wouldn't an alternative be to have you main script code invoke a console method to loadDictionary. T... read more | 11/29/2008 (8:29 am) |
| Embedding a font and overlaying graphics | Which version of TGB are you using? I've been using 1.7.4 recently on vista and aside from the pa... read more | 11/28/2008 (4:24 pm) |
| Embedding a font and overlaying graphics | I had a similar messed up path when trying to save a simset to a disk. I fixed it by ensuring the Co... read more | 11/28/2008 (6:11 am) |
| Embedding a font and overlaying graphics | One option is to place a 2nd sceneWindow2D above the first one. Use the 2nd one for rendering UI/eff... read more | 11/28/2008 (3:37 am) |
| A true TGB community ? | You can [url=http://www.garagegames.com/mg/forums/subscriptions.php]adjust your forum subscriptions[... read more | 11/27/2008 (5:00 am) |
| TGB Sprite Help | If it's a static sprite, then you can use setImageMap( ) calls on the sprite to change to a new imag... read more | 11/24/2008 (3:30 pm) |
| Is this possible to set t2dSceneObject in top of the GUI layer? | Not if you're using just a single scene window and want some sprites below and some above. If the sc... read more | 11/22/2008 (3:22 am) |
| Key generation system / selling your games | If you don't mind paying for a product, have a look at SoftwarePassport. As with all protection, it ... read more | 11/20/2008 (7:25 am) |
| Energy Recharge button | One option is to have the button request the server start/stop the recharge via a command to server.... read more | 11/07/2008 (4:21 am) |
| EULA for Torque X | I'd assume you include the clickable link in the version you deploy on Windows, whilst simply displa... read more | 11/04/2008 (4:53 am) |
| Confused how much you are forced to use TorqueScript | [quote]is it not easy to do basic things in C++? Surely the TorqueScript layer actually translates t... read more | 10/28/2008 (5:37 am) |
| Patch files | Download the GNU patch util and check out the manual. If you're on Windows, then there's a [url=h... read more | 10/24/2008 (1:23 pm) |
| Using Torque Engine/World Building Questions | [quote]2) It allows you to use shader technology in your games for enhanced graphics and visual effe... read more | 10/23/2008 (5:15 am) |
| Finding the Terrain texture at a location in game | Kevin, have a look at [url=http://www.garagegames.com/mg/forums/result.thread.php?qt=67828]this thre... read more | 10/21/2008 (5:14 am) |
| Animated Gui's from image maps | If you want to use tgb objects such as animated sprites for some of your GUI elements, take a look a... read more | 10/14/2008 (5:00 am) |
| Installer for windows | Tried both nsis and Inno, in the end we settled on Inno Setup.... read more | 10/03/2008 (5:39 am) |
| Problem creating my own datablock... | Have you rebuilt the engine? If you've updated targets.torque.mk you need to rebuild via makefil... read more | 08/29/2008 (2:08 pm) |
| Why some .dso files can not be generated automatically? | Usually when a dso is not recreated, it's due to an error occuring whilst compiling the script. Drop... read more | 08/07/2008 (3:52 pm) |
| GuiBitmapCtrl blocks mouse events | Place the GuiBitmapCtrl and any other controls you want to ignore mouse events inside a GuiNoMouseCt... read more | 07/29/2008 (4:00 am) |
| Error using array-syntax | [quote]Gary: I don't think it has anything to do with the fact that the variable is unused before be... read more | 07/28/2008 (10:55 am) |
| Error using array-syntax | [quote] function asd::myMethod2(%this, %argv0) { echo(%argv[0]); } [/quote] I believe thi... read more | 07/28/2008 (9:28 am) |
| Error using array-syntax | There's a bug with TGB, where it isn't able to use a function parameter in a call to another functio... read more | 07/28/2008 (3:56 am) |
| Class and NameSpaces | It's likely that the engine side code for TCPObject isn't linking in a class and superclass namespac... read more | 07/23/2008 (4:15 am) |
| Garagegames. Vector is broken. | You could always use a VectorPtr object instead and just create/destroy objects as and when you add ... read more | 07/21/2008 (5:26 am) |
| Buying a second hand license | Even if a product allowed license transfers, chances are good that if it's on EBay, you'll be receiv... read more | 07/21/2008 (5:18 am) |
| How To? Dedicated Server with variables??? |
[quote]Should the variables that are entered into the |
07/18/2008 (10:04 am) |
| How To? Dedicated Server with variables??? | [quote]How is that once the client hit's start mission that the servers in Las Vegas will be able to... read more | 07/18/2008 (5:01 am) |
| Camera rotation | It's also worth looking at the CameraFX manager, in particular the "ShakeCamera" fx, which can be us... read more | 07/17/2008 (2:11 am) |
| How to replicate a precompile without going through Torsion? | Here's an excerpt from how I set a recent auto build script up. I have a bash script that does a... read more | 07/15/2008 (4:19 pm) |
| How To? Dedicated Server with variables??? | [quote]I'm guessing that you ultimately can pass whatever you want into the bat file as long as it's... read more | 07/15/2008 (12:37 pm) |
| Differences between dedicated and nondedicated server | [quote]whereas a plain client connecting to a dedicated server on the same machine experiences what ... read more | 07/14/2008 (7:47 am) |
| Trying to activate a button.command from a keypress | Rather than using Eval, have a look at using [code] hotBar1Button1.performClick(); [/code] ... read more | 07/14/2008 (5:10 am) |
| How To? Dedicated Server with variables??? | One option is to use the -config parameter when you run the server. Create a config/ folder and stic... read more | 07/10/2008 (7:34 am) |
| Passing arrays to functions | Space delimited string is one option, you can also use your own delimiter with nextToken. Another... read more | 07/08/2008 (4:01 am) |
| Different font colours for different chat channels. | You specify the colour index using \c as part of the text string. [code] ChatHud.addLine("\c1Thi... read more | 07/04/2008 (3:30 am) |