|
Post by grovesy on Jan 6, 2006 13:41:46 GMT
Hi there. I have been using 3DsMax 6 to create my meshes and using the fantasic b3d pipeline to export to b3d format.
I am now wanting to use 3DsMax to create my levels and want to know if there is anything that i can use (MaxScript) that will export information on the objects in my level, such as position, rotation, scale etc. Would be really nice if this output was in an XML format!
Any one know if this is possible? Or how I can go about creating my own MaxScript as i have no experiance with MaxScript.
Cheers
|
|
jams
New Member
Posts: 4
|
Post by jams on Jan 17, 2006 17:16:22 GMT
Those greyed out XML options in the b3dpipeline exporter are interesting aren't they Anyway, maybe this will help grovesy! --This script exports prop data to .xml format readable by the Fubar --game engine. Only props that are currently selected in max will be --exported.
--Last update: 14 Jan 06 --Matt Davey
macroScript fPropEx tooltip:"Fubar Prop Export" icon:#("standard",2) (
--Remind user to select all props. if (queryBox "Have you selected each and every prop object?" title:"FUBAR" == true ) then ( --Open output file Outfile = getSaveFileName() fout = CreateFile Outfile
--Iterate through each object in the selection For cProp in $ do ( --Dump the reference Format "<Prop Ref=\"" to:fout Ref = getUserProp cProp "Ref" Format Ref to:fout Format "\" " to:fout
--Dump position data x axis Format "x=\"" to:fout Format "%" cProp.pos.x to:fout Format "\" " to:fout
--y axis (z axis in engine) Format "y=\"" to:fout Format "%" cProp.pos.z to:fout Format "\" " to:fout
--z axis (y axis in engine) Format "z=\"" to:fout Format "%" cProp.pos.y to:fout Format "\" " to:fout
--Dump rotation data x axis Format "xRot=\"" to:fout Format "%" cProp.rotation.x_rotation to:fout Format "\" " to:fout
--y axis (z axis in engine) Format "yRot=\"" to:fout Format "%" cProp.rotation.z_rotation to:fout Format "\" " to:fout
--z axis (y axis in engine) Format "zRot=\"" to:fout Format "%" cProp.rotation.y_rotation to:fout Format "\" " to:fout
--Dump scale data, scale is assumed to be uniform! Format "Scale=\"" to:fout Format "%" cProp.scale.x to:fout Format "\"" to:fout
--Close xml tag Format "></Prop>\n" to:fout
)
close fout ) else ( messageBox "Please select each prop object and try again" title:"FUBAR" ) )
|
|
|
Post by examplecaly on Dec 16, 2011 6:46:04 GMT
These UGG Boots bailey button Sale years have been a momentous time in the history of our nation and the world. discount UGG Boots have been a time of achievement in which we can all be proud, achievements that UGG bailey button represent the shared efforts of the administration, the Congress and the UGGs Outlet people. But the challenges ahead are equally great. And they, too, timberland boots company will require the support and the efforts of the Congress and the people, working in cooperation with the new UGGs on Sale Administration. We have ended America's longest war. We must continue to develop and expand? that new Cheap UGG Boots relationship, so that the two strongest nations of UGG Boots On Sale will live together in cooperation rather than confrontation. Around the world -- in Asia, in Africa, in Latin America, in the Middle East -- there are millions of people who live in terrible poverty, even starvation. UGG classic short must keep as our goal turning away from production for war and expanding production for peace so that UGG Boots short everywhere on this earth can at last look forward, in their children's time, if not in our own time, to having the necessities for Cheap UGGs footwear. Here, in America, we are fortunate that most of our people have not only the blessings of liberty but also the means to live full and good, authentic UGG Boots standards even abundant lives. A bit of tape attached to a bell-wire black timberland boat shoes hung at the right of the grated opening. If the tape was pulled, a bell rang, and one heard a buy UGG Boots online voice very near at hand, which made one start. "Who is there?" the voice demanded. It was UGG Boots for Sale Cheap voice, a gentle voice, so gentle that it was mournful. Here, again, there was a magical word which it was necessary to know. If one did not Cheap jimmy choo UGGs know it, the voice ceased, the wall became silent once more, as though the terrified obscurity of the sepulchre had been on the other side Cheap UGG Boots Australia of it. If one knew the password, the voice resumed, "Enter on the right." One then perceived on the right, facing the window, a glass timberland 6 inch boots door surmounted by a frame glazed and painted.
|
|