Game Development Community

dev|Pro Game Development Curriculum

PathedInteriors Upgrade

by Mark Harmon · 12/26/2003 (9:41 am) · 64 comments

Download Code File

UPDATED 01/01/04:
There is now a readme file included in the zip with the basic instructions.

The transparent interior code was originally written by Chris "Deus_ex_Machina" Weber

Thanks to Desmond Fletcher and Luke Jones for contributing the Quark data file and VC6 bug fixes.
Page «Previous 1 2 3 4 Last »
#1
12/26/2003 (11:02 am)
linky no worky...
oh well, maybe it will be fixed later...
just thought you should know.. :)
#2
12/26/2003 (11:43 am)
Mark, it might take some time before the gg download is available, ie a few days.
Meanwhile, what people usually do is to post an alternate link to get the resource....
Keep it up :)
#3
12/27/2003 (12:01 pm)
Is this an upgrade to the code or just a hack to make the existing code work with the new head?
#4
12/27/2003 (3:26 pm)
James,

This appears to be a patch to the current code in the HEAD.
#5
12/28/2003 (11:42 pm)
taking awhile is'nt it?
#6
12/29/2003 (8:41 am)
I really really need this code for my game. It would sure save a lot of time if I didn't have to write it my self. Who manages the links on this site?
#7
12/29/2003 (9:29 am)
Link works now.

BTW, thanx for this patch Mark. I'm sure the whole community is going to get lots of use from this one.
#8
12/29/2003 (11:08 am)
I just got back from XMas vacation. I have a few things to do and then I will work on documenting this.

Matthew: Your welcome. :)
#9
12/29/2003 (4:12 pm)
Ok, first problem in map2dif.
void findAttachWaypoints(Vector & entities);
void findAttachTriggers(Vector & entities);
always causes...
d:\torque\tools\map2dif\entitytypes.h(560) : error C2059: syntax error : '>'
d:\torque\tools\map2dif\entitytypes.h(560) : error C2059: syntax error : ')'
d:\torque\tools\map2dif\entitytypes.h(561) : error C2059: syntax error : '>'
d:\torque\tools\map2dif\entitytypes.h(561) : error C2059: syntax error : ')'
d:\torque\tools\map2dif\entitytypes.h(563) : error C2143: syntax error : missing ';' before '{'
d:\torque\tools\map2dif\entitytypes.h(565) : error C2143: syntax error : missing ';' before '{'
d:\torque\tools\map2dif\entitytypes.h(566) : error C2143: syntax error : missing ';' before '{'
d:\torque\tools\map2dif\entitytypes.h(572) : error C2143: syntax error : missing ';' before '{'
d:\torque\tools\map2dif\entitytypes.h(573) : error C2143: syntax error : missing ';' before '}'
#10
12/29/2003 (4:53 pm)
Luke: Which compiler are you using?
#11
12/29/2003 (6:29 pm)
MS VC++ 6
#12
12/29/2003 (8:30 pm)
Luke: I will look into it. I have to install VC6. I am working on LINUX compatibility right now so it might be a few days till I can get to it.

If anyone else here has VC6 and can help Luke it would be great!
#13
12/30/2003 (6:27 am)
I get errors in the engine compile and the map2dif compile.. It doesnt like something in the interiortypes and interior files...
oh well... back to the drawing board.. :)
#14
12/30/2003 (8:49 am)
Luke,

Try changing to for VS6.
#15
12/30/2003 (11:03 am)
Tom: Can you provide more detailed information? It's hard to troubleshoot your problem with the details you wrote. If you can post the error messages along with what compiler and OS you are using, I will try to help you.
#16
12/30/2003 (11:06 am)
OMG it works! You are a God Mark! Look for your name in the credits of my game :) You just saved me several days of work.
#17
12/30/2003 (12:11 pm)
interiorTrans.cc
c:\torque\engine\interior\interiortrans.cc(140) : error C2039: 'alphaSrc' : is not a member of 'Surface'
c:\torque\engine\interior\interior.h(426) : see declaration of 'Surface'
c:\torque\engine\interior\interiortrans.cc(140) : error C2039: 'alphaDst' : is not a member of 'Surface'
c:\torque\engine\interior\interior.h(426) : see declaration of 'Surface'
c:\torque\engine\interior\interiortrans.cc(141) : error C2039: 'alpha' : is not a member of 'Surface'
c:\torque\engine\interior\interior.h(426) : see declaration of 'Surface'
c:\torque\engine\interior\interiortrans.cc(141) : fatal error C1903: unable to recover from previous error(s); stopping compilation
Error executing cl.exe.

error I get when I compile the code.. it dies at interiortrans.cc

I also get the same thing as the previous persons post about map2dif problem.. same thing for me.. so I am in the same boat.. I use vc6 in win98se
#18
12/30/2003 (1:32 pm)
Tom: You're having problems because I only made changes to the VC7.1 project files. To get VC6 working you have to make sure that USE_TRANSENTITIES preprocessor define is added to the client, lib and tool projects. Also make sure that you add the interiorTrans.cc file to the projects and do a clean build. There might be more...

James: Cool!! I'm glad it works for you. Check back periodically for updates.
#19
12/30/2003 (1:36 pm)
I added the interiortrans.cc file and the h file..
I will wait for a tutorial or some kind of specific vc6 help before tearinga part the engine.. :)
I may do more harm then good.. :)
plus have to get to work.. ugghhh...
I will look back later and see what I can come up with.. :)
#20
12/30/2003 (1:43 pm)
I just tried to post a solution for Tom post my post did a magic trick and dissapered.

Tom, do what Matt wrote above. (replace each instance of)

Add this to the top of interior.h & interiorInstance.h
#ifndef USE_TRANSENTITIES
#define USE_TRANSENTITIES
#endif

Make sure the trans files are included in Torque Lib project!

*runs of to play with his new toy*
I'll see how well it works....
Page «Previous 1 2 3 4 Last »