Game Development Community

Thomas "elfprince13" Dickerson's Resources

Axis-Angle->Euler Conversion

Sometimes it is useful to convert between different rotation representations. Euler rotations are used by Milkshape, whereas Torque uses Axis-Angle.

Author Thomas "elfprince13" Dickerson Date 02/13/2012 (9:45 pm) Comment 2 comments

Fixed Bundle Loading for OS X 10.7

T3D won't start under 10.7 due to problems with the Bundle loading. This fixes that problem by replacing the bundle loader

Author Thomas "elfprince13" Dickerson Date 07/22/2011 (10:38 am) Comment 4 comments

Applying ConsoleTypes to dynamic script variables

In this resource I provide example code showing how to make use of the ConsoleType get/set methods for script variables which are not defined in the engine code (dynamically allocated).

Author Thomas "elfprince13" Dickerson Date 06/14/2011 (2:04 pm) Comment 5 comments

de-deprecating macCarbInput.cpp (T3D 1.0.1)

An update to the T3D 1.0.1 macCarbInput.cpp which removes the use of deprecated functionality related to the clipboard and keyboard layouts.

Author Thomas "elfprince13" Dickerson Date 06/07/2011 (6:13 pm) Comment 0 comments

Proper "current" flag for Sim::postEvent()

Without this patch, 49 days == bad news bears. Adds a boolean flag to Sim::postEvent() to signal using the current time AFTER the Mutex has been locked.

Author Thomas "elfprince13" Dickerson Date 05/20/2010 (9:20 am) Comment 2 comments

phpBB2 + SAX Chat Compilation Tutorial

A super-long walkthrough on setting up your Torque Game Engine to use a phpBB2 login database (easily adaptable to other systems)

Author Thomas "elfprince13" Dickerson Date 02/04/2010 (2:12 am) Comment 6 comments

GuiDTSSnapshotCtrl

Adds a GUI Control that allows you to preview skinned dts shapes as a static bmp. Useful for creating inventory guis.

Author Thomas "elfprince13" Dickerson Date 11/03/2009 (12:46 am) Comment 0 comments

Rudimentary dts to obj converter

This resource adds a console function which statically dumps the first mesh of a TSShapeInstance loaded from .dts to an .obj file, should be fairly easy to make it iterate and convert the rest of the meshes as well, but this filled my needs so I didn't bother.

Author Thomas "elfprince13" Dickerson Date 10/29/2009 (9:19 pm) Comment 26 comments

update to bank's libcurl integration

This resource builds off Fyodor "bank" Osokin's already excellent libcurl integration and adds just a few extra useful features. HTTP posts, cookie jars, and more friendly behavior with the Torque Memory Manager.

Author Thomas "elfprince13" Dickerson Date 10/21/2009 (2:46 am) Comment 14 comments

getWords with custom delimiters

Useful functions to work around nextToken's greedy behavior. add's 4 functions, along the lines of getWord/getField/getRecord, et. al, but with the ability to specify your own delimiter set. This is similar to nextToken, but nextToken's greedy token-grabbing behavior makes it unsuitable for applications where the ability to locate empty records is important.

Author Thomas "elfprince13" Dickerson Date 10/21/2009 (2:23 am) Comment 1 comments