Game Development Community

dev|Pro Game Development Curriculum

Plan for Karthik Krishnan

by Karthik Krishnan · 08/27/2005 (5:06 pm) · 3 comments

Not as pretty as the other pictures I've seen recently, but hey... it's a start

www.mk2003.com/gg/blog/20050827/rts_lighting_merge.jpgOh no! My eyes!

Merged the lighting pack into the RTS today. Time take = ~45 mins. I'm not sure why I was terrified at the prospect. I've done maybe a hundred merges in my career, and this was by far the easiest. The lighting pack documentation is clear and accurate. Really, the only problem I had was with duplicate declarations. Two of them. Not a big deal at all.

If you want to do the same, here are some time saving (perhaps obvious) tips :

1) Merge the lighting pack into the RTS pack, not the other way around.
2) At least two of the files would create horrendous errors with any sort of auto merging software. Merge by hand, file by file. It really isn't that bad. With most files, you can easily get away with copying over everything from the lighting pack side.
3) Don't waste time trying to resolve all diffs.
4) Don't be afraid of errors. You probably have duplicate declarations. With duplicates, just search the file for the declaration and delete duplicate lines.

Yes, this is my first post. Yes, I bought TGE almost a year ago. I basically spent the time fooling around and working up the courage to post a first blog.

Now to 'modify' my new game so the brightness doesn't blind me.

About the author

Recent Blogs


#1
08/27/2005 (5:42 pm)
Great job and excellent advice! Here's another helpful hint, ignore unnecessary file differences with line filters: in WinMerge select the Tools->Filters menu item and in the Linefilters tab enter the following text:

$Id:
$Header:
$Revision:
$Date:

Now WinMerge will ignore TGE's cvs generated comments.


You can change the outdoor lighting intensity through the mission editor by altering the Sun's color and ambient values. The Torque Lighting Kit doesn't put a fixed limit on the lighting intensity, so you can make your missions as bright or dark as you want (very cool!).
#2
08/27/2005 (9:03 pm)
Nice plan, Karthik. Good advice, nice screenshot. I hope it answers a lot of people's questions. It's good to see people getting over their fear, and Just Doing It. :)
#3
08/27/2005 (9:46 pm)
thanks for sharing! believe me, no step is too small. it's cool that you dove in.