+p10ppy 2 Posted August 19, 2007 (edited) I've been getting tired of the very tedious task of finding and then entering large amounts of Min/Max Extents variables in the data.ini's I've been working on (hate repetition :yes: ) So I started playing around with /learning Maxscript to automate it somewhat This script outputs to a text file from MAX the min/maxExtentPosition for all of a models nodes The min / max extents are calculated on the bounding box of the node so YMMV if you have very irregular nodes (some hand tuning) Obviously this is only of use to people with the max file models… The output looks like this ------------------------------ Fuselage MinExtentPosition=-0.42,-1.127,-0.86 MaxExtentPosition=0.42,2.63,0.778 Cockpit MinExtentPosition=-0.42,0.38,-0.727 MaxExtentPosition=0.42,2.484,0.173 Radiator MinExtentPosition=-0.506,-0.535,-0.063 MaxExtentPosition=0.506,0.495,0.935 ---------etc etc get it in the downloads/utilities section when it gets approved Please feel free to offer improvements See readme for install /use Edited August 19, 2007 by p10ppy Share this post Link to post Share on other sites
+foxmonter 3 Posted August 19, 2007 Very usefull tool. Thanks. How about another tool to make impact points?? Again, thanks.! Share this post Link to post Share on other sites
Guest capun Posted August 19, 2007 Very nice tool indeed !!!! It makes the generation of the Min/Max points a snap. Good work :) Share this post Link to post Share on other sites
+p10ppy 2 Posted August 19, 2007 Glad it was useful @ foxmonter CollisionPoint's? I couldnt think of a rational way of doing them I could supply the four corner points of a nodes bounding box but CollisionPoint's often are not really in those positions (i supose the same argument could be made for some min/max extents) but if that would be useful or you can think of a better parameter to use from the model let me know :) Share this post Link to post Share on other sites
+foxmonter 3 Posted August 19, 2007 I only make models in 3d... programing scripts for max it's not my field... There is a tool, for reducing the number of polys, optimize... Maybe if a poly is reduced, maybe... you can export position of the verts, or something like that... The idea is to have the primary outer verts only and export that.? It would be very usefull for ini files. But this script minmaxexport is excellent, I tested in my latest model and is work great!!!!!! reducing a lot of work. Cheers budy Share this post Link to post Share on other sites
Guest Charles Posted August 20, 2007 Thanks a lot for this - it will save a great deal of trial and error, and make for much more precise hit box coordinates. A very useful tool. Share this post Link to post Share on other sites
+Hinchinbrooke 36 Posted August 20, 2007 Yes, a very useful tool indeed. Makes things less of a mystery. Thanks! Share this post Link to post Share on other sites