William Lee Sims's Forum Posts
| Thread | Post | Date Posted |
|---|---|---|
| Text processing/Regular Expressions | You just need to use getWord( %string, 0 ) and getWord( %string, 1 ). There is also a function call... read more | 02/07/2007 (2:46 pm) |
| Tstransform.cc ?bug? | Looking at TSThread::getGround(), rot2 cannot be NULL. Looking at the line you are on, there are a ... read more | 11/20/2006 (12:47 pm) |
| Tstransform.cc ?bug? | At first glance, I would guess that you passed a NULL into getQuatF. Also the const on the outside ... read more | 11/19/2006 (8:56 am) |
| Coding in c++ and not torquescript... | It is not manditory that TorqueScript be used for game logic. There isn't exactly a generic API, ei... read more | 10/29/2006 (5:56 pm) |
| String handling in .cs files | There are quite a few. You can find them in consoleFunctions.cc. They include: [code] ConsoleF... read more | 10/29/2006 (2:06 pm) |
| Is the TGB Installer Necessary? | Without uninstalling, I would assume that it would still sit in the Control Panel's "Add or Remove P... read more | 09/10/2006 (9:15 pm) |
| Turn on/off GUI lights based on selections? | Sorry for the late reply... just got back. What you have in your example is exactly correct. If yo... read more | 08/29/2006 (9:33 pm) |
| Using Torque for Board Game | I translated the board game "Bridges of Shangri-La" into a game called "Land Bridges" using the TGE.... read more | 08/27/2006 (8:58 pm) |
| Turn on/off GUI lights based on selections? | Go ahead and create 4 GuiBitmapCtrls for the "lights". Make sure that the bitmap set is the "off" b... read more | 08/22/2006 (3:44 pm) |
| Turn on/off GUI lights based on selections? | I think James is right. What you want is a simple radio button. You just need to put your graphics... read more | 08/22/2006 (1:00 pm) |
| Changing pivot point | In your graphics program, make the canvas larger. Then put the "pivot point" of your image in the c... read more | 07/20/2006 (6:31 pm) |
| Capturing Enter key for GuiTextEditCtrl | If you set the altCommand variable in the GuiTextEditCtrl, it will execute that whenever the Return ... read more | 07/17/2006 (11:12 pm) |
| How to create a new particle? | You're kidding right? It's trivial within the engine itself. If you are looking for scripting ... read more | 07/17/2006 (1:58 pm) |
| Stub Class and new class types? | While I haven't tried it, there is an example on TDN called "Code/How do I make an object with a dat... read more | 07/16/2006 (5:42 pm) |
| Ray Casting | It's not too hard. Since ray casts require an end point, I would convert your yaw and pitch angle i... read more | 07/14/2006 (1:19 pm) |
| List of TGB developers - Please Add Your Name | William Lee Sims Programmer, not for the sake of money. Apparently we're not that rare.... read more | 07/09/2006 (9:07 pm) |
| Bouncing Vectors | While there are some functions that take polar coordinate vectors, most take (x,y) vectors. You c... read more | 07/07/2006 (10:02 am) |
| Unable to init anyone know? | It looks like you have a class AIGuards3 which is implemented incorrectly. Then you called funtions... read more | 07/05/2006 (9:02 pm) |
| Bouncing Vectors | I am certain that setLinearVelocity can take a vector. I do it all over the place. If you look a... read more | 07/05/2006 (11:10 am) |
| My script | If you click on "My Account" at the top of the web page, you can re-download any product you have pr... read more | 06/29/2006 (9:18 pm) |
| Galaxy Map GuiCtrl | In these cases I always opt for Idea Two. Scaling isn't that hard. Arrange everything inside the c... read more | 06/24/2006 (6:59 pm) |
| TGB pro: Simultanious Collisions Not Detected / tunneling? | This looks similar to a problem I had where a non-physics simulation object (like a t2dTrigger) woul... read more | 06/17/2006 (2:42 pm) |
| RC1 - datablocks.cs seems to get munged sometimes.. | Excellent find Andrew! I can vouch that this is exactly what happened to me.... read more | 06/13/2006 (8:12 am) |
| RC1 - datablocks.cs seems to get munged sometimes.. | Justin, I just had this problem occur today. I am running the Windows version of RC2 and I use v... read more | 06/11/2006 (10:31 pm) |
| Transferm member objects into client part. | Well, I have to say that I am at a loss here. You might just try calling unregisterObject(). It wi... read more | 06/11/2006 (7:13 pm) |
| Transferm member objects into client part. | Do not delet the tank parts in the destructor of CTank if you are calling the deleteObject() functio... read more | 06/11/2006 (9:53 am) |
| Transferm member objects into client part. | If you absolutely must see this on the client side, you have two options. Before looking at these o... read more | 06/10/2006 (7:13 pm) |
| RC1: Obj overlapping trigger ignores tilemap collisions | It looks like the function t2dSceneObject::checkCollisionSend is seeing two collisions: the trigger ... read more | 06/01/2006 (9:50 pm) |
| Returning F64 in consoleMethods | As far as I know, you can only return const char *, S32, F32, void, and bool. If you look in consol... read more | 05/29/2006 (1:20 pm) |
| How do I insert a pause in my script? | Scripting does no multithreading of any kind. If you put a sleep-like command into a script, it wil... read more | 04/20/2006 (7:03 am) |
| How do I insert a pause in my script? | [code] function t2dSceneobject::firstPart(%this, %this) { // Do stuff before "for-loop" %thi... read more | 04/19/2006 (9:19 pm) |
| Changing Fonts in GUI | I've answered that question recently: [url]http://garagegames.com/mg/forums/result.thread.php?qt=... read more | 03/26/2006 (3:04 pm) |
| Text Colour In GUI Editor | Anything installed on your computer will work. As a bonus, the engine creates a "cache" of the font... read more | 03/22/2006 (4:54 pm) |
| Text Colour In GUI Editor | There is! There are two more attributes you can put into the profile: fontType and fontSize. [c... read more | 03/22/2006 (7:42 am) |
| Recursion problem | The first thing that I see that might be causing you problems is that you don't reset $count back to... read more | 03/21/2006 (10:08 pm) |
| Text Colour In GUI Editor | Typically, I go into profiles.cs (now found under common/gui). I find a similar Profile, in this ca... read more | 03/21/2006 (9:46 pm) |
| Solitaire Bowling and Dice | Hi All! After hearing that my mother couldn't figure out how to play this game I realized I needed ... read more | 03/17/2006 (7:39 pm) |
| In-Game Tutorials | My game already uses a state machine. I could then put a little checkbox on the screen labeled "Hel... read more | 03/16/2006 (7:39 am) |
| How do I change the EXE icon? | The easiest way for me is to change the t2d.ico file under the vc7 directory and recompile. I use V... read more | 03/15/2006 (9:44 pm) |
| Display large numbers in torquescript? | LabRat has it right: MID is substring. MID( a$, b, c ) gets a substring from a$, starting at the b-... read more | 06/23/2005 (7:49 am) |
| Display large numbers in torquescript? | I had a game I wrote in Blitz BASIC which needed numbers exceeding signed 32-bit numbers. I eventua... read more | 06/22/2005 (7:58 pm) |
| Is Torque a good fit for an MMO project? | A) You will probably want the TSE for the normal mapping. B) If you design your network code to be ... read more | 05/28/2005 (10:50 pm) |
| Non-standard (smaller) terrain sizes... again. | It might be easier to either create a .dts shape, or, if you can modify the engine, use a [url=http:... read more | 05/24/2005 (7:14 am) |
| All DTS Building Content Pack... Practical??? | One issue I would have is that DTS objects cannot be shadowed against other DTS objects (even with t... read more | 04/24/2005 (9:01 am) |
| Hit position on target | I don't know if this will help your situation, but this is what I'm doing for a board game: I hav... read more | 04/10/2005 (7:42 pm) |
| Windows Developer has Mac Artist. What to do? | Thanks!... read more | 04/08/2005 (8:10 am) |
| Pre-made level migration | Thanks for the excellent replies! I now wish I had free time today to do my migration. I guess I'l... read more | 03/10/2005 (6:38 am) |
| Compiling a game | Compiling isn't something that just happens at the end, and it doesn't just happen for different ope... read more | 03/08/2005 (6:14 pm) |
| Ready to buy Feedback Needed ASAP | You get this by download. If you pay with a credit card, you get it immediately. As for upgrades, ... read more | 03/07/2005 (11:24 am) |
| AI Pack status? | I've been wondering the same. My game is in dire need of a single player mode and my AI attempts ha... read more | 02/27/2005 (5:35 pm) |