Game Development Community

Torque Lighting Kit in TGE 1.5

by Maddermadcat · in Torque Game Engine · 01/17/2007 (4:02 pm) · 20 replies

I'm aware that to some of you I might seem kind of stupid, not understanding how to use the TLK, but please help me. I'm trying to find any sort of tutorial or documentation on using the torque lighting kit in the demo. I still haven't been able to find anything useful...

#1
01/17/2007 (4:33 pm)
How do i put a .max 3D model an torque game engin. PLEASE HELP!!!!!!!!!!!!!!!
#2
01/17/2007 (6:33 pm)
O_o

Was that a failed attempt at a joke or are you trying to hijack my topic?

EDIT: I checked your profile... Please stop posting this wherever the hell you feel like and make a topic in the 3D modelling section. Or you could try googling "Torque Simple Shape Tutorial." You should find just what you're looking for.
#3
01/17/2007 (6:41 pm)
SORY I JUST WANT HELP AND I CANT FIND IT BECOUS IM NEW.
#4
01/17/2007 (7:33 pm)
It's not because you're new, it's because you refuse to try and find out on your own.

Like I said, just google "Torque Simple Shape Tutorial" and you should find a link to a document which will explain everything. And don't ask me where to get the plugin. Being new isn't an excuse for acting like you're completely blind.

And please don't be so hot-headed... I did help you in my previous post, but you ignored it.
#5
01/18/2007 (5:21 am)
IM not you are the first person that has given me GOOD infomation. THANK YOU
#6
01/18/2007 (5:57 am)
@Morris - Please don't think I'm trying to be rude, because this next comment is as helpful as I can be right now. . .you are on the fast track to getting blacklisted. Your constant spamming and hijacking of threads angers others, and is just bad manners. You need to show some patience, and take the time to search for your answers before posting (relentlessly) off topic.

Go to the top right of this webpage, right next to where it says "Logout. . .". That is a search bar. Put in a search for Max Exporter.

Use the search bar and spend more than just a day researching. Being new is no excuse. Unless you've been using the internet for less than a week, take the time to help yourself. And the rest of us will help you along the way.


//----------------------------------------------------------------------------------------------
@Maddermadcat - What kind of tutorial or info do you need? How to create a new light object? Mounting lights? Placing light objects? Assigning light datablocks?
//----------------------------------------------------------------------------------------------
#7
01/18/2007 (7:04 am)
Troll alert. He's been fishing for a couple days for a bite.
The typo's and all caps are just trolling methods.
#8
01/18/2007 (7:35 am)
@Maddermadcat
I assume you've been through the TDN articles for TLK. I thought that the SDK had merged the old lighting kit's PDF's into the installer, but it does not seem like it. There were some changes documented over on the TLK forums. You should come over and jaw with us there, assuming there are not still problems with 1.5 owners accessing lighting kit information. Check and see.
#9
01/18/2007 (9:11 am)
@Michael: All of those would be nice. =)

Mounting isn't really necessary, though. I'm just using the demo right now (so I don't have access to TDN), and I want to place some TLK lights inside my interior. I'm still confused as to how I'm supposed to do it.
#10
01/18/2007 (9:22 am)
Ok, definitely go through the TDN articles

That's a good place to start reading about concepts and general usage. When I was learning how to create lights, I would often copy a light and start manipulating its fields in the WorldEditor. The TLK documents found in the forums that David linked are great too.

Overall, opening up the actual light scripts and reading through them is a great tutorial itself. The directory of some samples can be found in example\common\lighting\lights.

If you go to example\starter.fps\server\scripts\sgExamples.cs, you'll see how some of those sample light datablocks are set up and used.
#11
01/18/2007 (1:13 pm)
I dont think he has a license for 1.5 as he said :

I'm just using the demo right now (so I don't have access to TDN),

which is totally kewl. I dont know if there is anywhere other then the member forums that can provide that information though
#12
01/18/2007 (1:27 pm)
You can bring up the light editor with F12 after pressing getting into the world editor. But all of the documentation is in member areas, I think.
#13
01/18/2007 (2:00 pm)
So... Nobody has any tutorials or anything of the sort? I just want to place some lights around my interior. So, if anyone could please explain to me how I would implement the lights into my scene, I would be very grateful. =)

From there I'll just try fiddling with the values to see if I can figure out what everything does.
#14
01/18/2007 (4:47 pm)
Michael perry i have found 3dmax but still dont now how to put my files on it. if you give me instruction that a newb can understand about how to put a .max file on torque game engine. then I PROMISE I WILL NEVER SPAM EVER AGAIN. JUST PLEASE TELL ME HOW TO TAKE A .MAX FILE AND PUT IT ON 3d MAX AND FROM THERE TO TORQUE GAME ENGINE.
#15
01/18/2007 (4:49 pm)
If you help me i can help you with youre lights. that is one thing i do know.
#16
01/18/2007 (7:31 pm)
Don't pull that crap... Get out of my topic, Morris. You're not going to get any help this way.
#17
01/18/2007 (7:42 pm)
Maddermadcat,
It's real easy to make a light for your the inside of your buildings.

go into game
click F-11
click F-4
Click Mission Objects
click Environment
scroll down and click sgLight Object
Name it
change datablock to CottageLight

Move it inside your building just like any other object.

Hope that helps you a bit.

Edit to add: Searching the scripts and editors experamenting is a great way to learn how things work, and what all you can add. If you look thru the mission editor, You'll find lots and lots of goodies already there.
#18
01/19/2007 (9:50 pm)
Thanks! That helped me out a lot... I'll see how everything goes. =D
#19
01/24/2007 (3:16 am)
Hi i have almost the same problem
only i cant find my datablocks

when i try to create a Volumelight by going

go into game
click F-11
click F-4
Click Mission Objects
click Environment Volumelight
when in there i see the naming field and a scrolldown selection ..where i believe must be a list with datablocks ..but that is empty
where can i add them ?
thnx
#20
01/24/2007 (5:43 am)
This was my first stumbling block when learning the lighting system, because I was working from a build that didn't load the lighting datablocks. No worries, it's a quick script change.

Based on a fresh TGE 1.5 build:

1) Open example\common\server\lightingSystem.cs
2) Look for these lines:
$sgLightEditor::lightDBPath = "common/lighting/lights/";
$sgLightEditor::filterDBPath = "common/lighting/filters/";
3) The demo shows an example of a volumeLight. Its datablock is sgRedLightDataBlock, which is located in example\common\lighting\lights\sgRedLightDataBlock.cs


If you want to follow this pattern, just place your newly created light files and datablocks in this folder path.

*Note*- An odd thing that happens sometimes is that a light datablock doesn't show up in the editor GUIs.

To be honest, I create my lights in TS (torque script), and rely on the editor for movement and color editing.

Hope that helps.