Cartography Shop 2 dif...
by John Kabus (BobTheCBuilder) · in Torque Game Engine · 08/28/2003 (9:43 pm) · 8 replies
For anyone that's interested:
After getting frustrated waiting for the CS community to develop a working map exporter I decided to just write my own. Instead of creating a CS plugin I decided to build the csm2map converter directly into map2dif. Now, map2dif can accept a csm file as a target, convert it to a map file, and then continue with the normal map2dif code. This code also converts CS lights into "light_omni" entities.
I'll be submitting this as a resource this weekend, so hopefully it should be available very shortly. For those who are wondering this does NOT use the light maps generated in CS, this is only a csm2map to add into the map2dif. Although I would rather have a direct csm2dif, I have absolutely no time to devote to the project. This current "hack" took me nearly six hours Wednesday night, which was already more time than I hoped to spend on it.
John.
After getting frustrated waiting for the CS community to develop a working map exporter I decided to just write my own. Instead of creating a CS plugin I decided to build the csm2map converter directly into map2dif. Now, map2dif can accept a csm file as a target, convert it to a map file, and then continue with the normal map2dif code. This code also converts CS lights into "light_omni" entities.
I'll be submitting this as a resource this weekend, so hopefully it should be available very shortly. For those who are wondering this does NOT use the light maps generated in CS, this is only a csm2map to add into the map2dif. Although I would rather have a direct csm2dif, I have absolutely no time to devote to the project. This current "hack" took me nearly six hours Wednesday night, which was already more time than I hoped to spend on it.
John.
#2
If you get a chance to try the resource out could you let me know what you think? Also the instructions should be fairly simple, let me know if I made them clear enough. The resource should be ok'ed soon. Thanks for the help.
John.
09/02/2003 (7:56 am)
Johnny,If you get a chance to try the resource out could you let me know what you think? Also the instructions should be fairly simple, let me know if I made them clear enough. The resource should be ok'ed soon. Thanks for the help.
John.
#3
Sure thing, if a artist torque newb programmer like myself can do it then it should be NP :)
I await the resource go ahead with eagerness as much as I await. The Return of the King movie this year.
And that alone is saying how glad Iam you did this LOL. :)
09/02/2003 (12:45 pm)
Hey BobSure thing, if a artist torque newb programmer like myself can do it then it should be NP :)
I await the resource go ahead with eagerness as much as I await. The Return of the King movie this year.
And that alone is saying how glad Iam you did this LOL. :)
#4
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4571
09/02/2003 (12:47 pm)
The resource is now available:www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4571
#5
09/11/2003 (6:13 pm)
I was wondering if anyone at GG is going to let him know about the .dif format specs, so he can make an expoter directly to .dif. I think this would be a great step foward for GG community.
#6
1 - He's swamped with bug fixes right now.
2 - The CS file format is extremely easy to read and work with (so we can do it).
3 - Anything he does write will be in Blitz Plus.
So if our community is going to maintain the exporter we will need to rewrite it in C++. If we are just going to rewrite it, then we should just write it.
Importing the CS light maps with map2dif should be a snap I've already reviewed the code that will need to be modified, however I'm still limited by time.
Considering the relative silence about the current CS map2dif, I don't think very many people (or anyone for that mater) are using it, so the full light map import is of low priority. I'll keep the community post though.
John.
09/12/2003 (7:30 am)
Well the official word from the GG guys is that there's no dif spec. I haven't had time to even glance at the code that spits out the difs. I've given up on the idea of Josh (CS guy) writing the exporter for several reasons:1 - He's swamped with bug fixes right now.
2 - The CS file format is extremely easy to read and work with (so we can do it).
3 - Anything he does write will be in Blitz Plus.
So if our community is going to maintain the exporter we will need to rewrite it in C++. If we are just going to rewrite it, then we should just write it.
Importing the CS light maps with map2dif should be a snap I've already reviewed the code that will need to be modified, however I'm still limited by time.
Considering the relative silence about the current CS map2dif, I don't think very many people (or anyone for that mater) are using it, so the full light map import is of low priority. I'll keep the community post though.
John.
#7
09/12/2003 (8:33 am)
Silence != non-interest
#8
Its the quiet you have to worry about heh. and like Bob mention DIF is tough heh. Me and my team appreciated the CS2Map2dif that Bob created. I hate doing a magic trick or hack job to get any thing done.
@Bob
Me and the merry manga artist team is piecing together the assets for the project. I will devote more of my time working with CS your code and learning C++.
I have been training my bro in the Torque so he can help me free up some space to work and study. I really love that new demo its great and shows off Torque well. Big Kudos to all involved with that! :)
09/21/2003 (5:20 pm)
@JarrodIts the quiet you have to worry about heh. and like Bob mention DIF is tough heh. Me and my team appreciated the CS2Map2dif that Bob created. I hate doing a magic trick or hack job to get any thing done.
@Bob
Me and the merry manga artist team is piecing together the assets for the project. I will devote more of my time working with CS your code and learning C++.
I have been training my bro in the Torque so he can help me free up some space to work and study. I really love that new demo its great and shows off Torque well. Big Kudos to all involved with that! :)
Torque Owner Johnny Hill
The main thing I enjoy about this is that by using CS3 you can get away from the license issue all together since CS3was written as a stand alone level editor product.
It a credit to your programming man, Like I said before I wish I was able to program but thanks to Torque I hope to start a new home school self-education and learn it over the next year or so.
Heh but first I got a demo to make LOL :)
Thanks and a bag of Kudos
John H