TGE 1.5.x - Bonus Resource Bundle
by John Kabus (BobTheCBuilder) · 11/02/2006 (12:04 pm) · 31 comments
Download Code File
This is a bundle of TLK 1.4 resources that were ported to TGE 1.5, including; GUI Object View, Exposure Control, and the Global Blend Color feature (not included in the core TGE 1.5).
How to install it?
***BACK UP YOUR TORQUE BUILD FIRST!***
-Extract the resource files into the Torque Lighting System directory (engine/lightingSystem/), making sure to overwrite the originals (if you've made changes to these files you'll need to merge in the updates).
-Add the files guiObjectView.cc and sgGuiExposureControl.cc to the Torque project lightingSystem folder.
-Perform a clean build, and enjoy!
How to use it?
Each resource's usage instructions are located at the top of its *.cc source file (these are the instructions supplied with the original resources).
-John Kabus
Synapse Gaming
Bleeding Edge Indie
This is a bundle of TLK 1.4 resources that were ported to TGE 1.5, including; GUI Object View, Exposure Control, and the Global Blend Color feature (not included in the core TGE 1.5).
How to install it?
***BACK UP YOUR TORQUE BUILD FIRST!***
-Extract the resource files into the Torque Lighting System directory (engine/lightingSystem/), making sure to overwrite the originals (if you've made changes to these files you'll need to merge in the updates).
-Add the files guiObjectView.cc and sgGuiExposureControl.cc to the Torque project lightingSystem folder.
-Perform a clean build, and enjoy!
How to use it?
Each resource's usage instructions are located at the top of its *.cc source file (these are the instructions supplied with the original resources).
-John Kabus
Synapse Gaming
Bleeding Edge Indie
#22
05/16/2007 (3:45 pm)
No sir, just the 1.5 apparently. I just downloaded it again and I see the new files this time. Thanks.
#23
All, the resource is updated for TGE 1.5.2.
05/17/2007 (9:17 am)
No problem, the file download could have been cached by your browser - I don't think the file name changed when I uploaded the new version. :/All, the resource is updated for TGE 1.5.2.
#24
06/19/2007 (9:36 am)
Thanks a lot for the 1.5.2 update!
#25
I've overwritten the sgLightManager.cc and sgLightManager.h files as directed, but my rebuild still gets the error.
Any ideas? Thanks.
EDIT: Sorry. When I added them to the project, they didn't overwrite, they just added, so I had both versions in there. I corrected that, did a rebuild, and no errors with the light manager.
One last question. Another resource says to add guiObjectView to the example/gui folder, but yours says to place it in the lightingSystem folder.
Can yours be placed in the example/gui folder also, or does it only have to be in the project once?
Tony
not a programmer
06/28/2007 (8:42 am)
John, I just did a new install of TGE1.5.2 and did a build without errors. I used this resource for 1.5.2 and I get the same error as Ethan. Quote:
getting a compile error for guiObjectView:
7>..\..\TGE\engine\lightingSystem\guiObjectView.cc(333) : error C2661: 'LightManager::sgSetupLights' : no overloaded function takes 2 arguments
which is reffering to this line in guiObjectView.cc:
333 sgLightManager.sgSetupLights(&obj, true);
I've overwritten the sgLightManager.cc and sgLightManager.h files as directed, but my rebuild still gets the error.
Any ideas? Thanks.
EDIT: Sorry. When I added them to the project, they didn't overwrite, they just added, so I had both versions in there. I corrected that, did a rebuild, and no errors with the light manager.
One last question. Another resource says to add guiObjectView to the example/gui folder, but yours says to place it in the lightingSystem folder.
Can yours be placed in the example/gui folder also, or does it only have to be in the project once?
Tony
not a programmer
#26
The guiobjectview compiled fine in the SDK. I'm seeing this error in the console window.
What does this mean?
08/16/2007 (8:48 am)
Has anyone ever got an error "Error, cannot unlink namespace parent linkage for characterCreator for GuiButtonCtrl."?The guiobjectview compiled fine in the SDK. I'm seeing this error in the console window.
What does this mean?
#27
If you have a class PlayerHealth & you create an object of that class in script as follows,
new PlayerHealth( PlayerHealth )
{
....
....
}
If you notice the class name & object name are same here. This is the reason why you get this error. Give a unique name to ur class. Just prepend it with letter c to avoid confusion like cPlayerHealth.
09/17/2007 (3:02 am)
This error is logged in console under a situation like this...If you have a class PlayerHealth & you create an object of that class in script as follows,
new PlayerHealth( PlayerHealth )
{
....
....
}
If you notice the class name & object name are same here. This is the reason why you get this error. Give a unique name to ur class. Just prepend it with letter c to avoid confusion like cPlayerHealth.
#28
10/15/2007 (2:01 pm)
I suppose that this resource doesn't work on Mac, right ??
#29
Anyone got a quick fix for this other can exporting a new set of wheels?
10/22/2007 (7:02 am)
When displaying a wheeled vehicle and mounting the tires, the tires are rotated 90 from normal.Anyone got a quick fix for this other can exporting a new set of wheels?
#30
I don't know why this resource shoudn't work onMac ?
I use the "GUI Object View" functionnality, and it works great !
Nicolas Buquet
http://www.buquet-net.com/cv/
10/23/2007 (6:22 am)
@Ehab Yosry AmerI don't know why this resource shoudn't work onMac ?
I use the "GUI Object View" functionnality, and it works great !
Nicolas Buquet
http://www.buquet-net.com/cv/
#31
so please accept my apology !!
I added a couple of files on the xCode project I thought they were related to the resource, but they were not & they were just included in the packages for reasons I dont know.
I dont exactly recall the file names (d3dx........h &.cc) actually
so I suppose from their names they are NO WAY to have anything to do with a Mac (Direct x files)
ALL IS WORKING GREAT ON A MAC. THIS IS A GREAT RESOURCE !!!!!!!
10/23/2007 (6:58 am)
I had a slight problem which actually has NOTHING to do with this resource :Dso please accept my apology !!
I added a couple of files on the xCode project I thought they were related to the resource, but they were not & they were just included in the packages for reasons I dont know.
I dont exactly recall the file names (d3dx........h &.cc) actually
so I suppose from their names they are NO WAY to have anything to do with a Mac (Direct x files)
ALL IS WORKING GREAT ON A MAC. THIS IS A GREAT RESOURCE !!!!!!!
Torque Owner John Kabus (BobTheCBuilder)