View Single Post
Old 11-04-2005, 11:51 PM   #1330
Fred Tetra
@Fred Tetra
Kotor Tool Guy
Fred Tetra's Avatar
Join Date: Jan 2004
Location: What a creepy photo, eh? Had to use it!
Posts: 947
10 year veteran!  Hot Topic Starter  LFN Staff Member  Helpful! 
Originally Posted by Fred Tetra
I am actually trying to write a MaxScript that will load all of the models for a map and align them, all in one shot.

If it works out right, when you export a series of map models, Kotor Tool would write out the script to be run in Max to import and align them, simplifying the whole workflow. At the worst, you'd have to specify some things manually but it would still take less time than it does now.
Well I have certainly enjoyed some success tonight!

I managed to update Kotor Tool and write some MaxScript code for 3DS Max 7 that together allow me to completely assemble a map like 204TEL in 35 seconds and a complex model like 001EBO in 2 minutes and 7 seconds! You still have to remove any "roofing" items so that the floor below is visible, but this is trivial task compared to aligning all of the map models.

Now if I can get my idea for the math-based map calibrator working (presently I do them all by tedious iterative tweaking), I should be able to produce a whole new set of maps for your module editing pleasure in rather short order.

Kotor Tool Developer

"You want to help everyone who asks for aid, answer all of their questions, write that crucial bit of code for which they're searching, and be the hero who saves the day (and their job), but there comes a point when you realize that sleep is sometimes necessary."
—Stephen Toub

Visit the Kotor Tool Forum
Fred Tetra is offline   you may: quote & reply,