I'm starting another script:
-see edit for link-
though I'm not too good at reading max-script, so don't bite me if there's issues
if I can gain RTB's help on this, the script might just be in the release
also, the GL error issue is fixed, marth and others import now
![[Image: marth2.png]](https://lh5.ggpht.com/-vfiJyqYsQ94/VO_erzjWmaI/AAAAAAAAIow/1tpy_BvJAhY/s802/marth2.png)
and I also found a new object on the slick star which didn't import last time:
![[Image: slickstar.png]](https://lh6.ggpht.com/-hoYnC1-DEaw/VO_jn5oPcPI/AAAAAAAAIpI/JYrDtyrgz0I/s802/slickstar.png)
EDIT:
just got finished fixing up RTB's syntax: (it's actually readable now, though still dirty)
https://copy.com/wnsFsqIgMTMCQYCa (copy can't display the file)
my script is here: (being translated from RTB's script)
https://copy.com/fG3pJg4ui2AZHFCT
there will definitely be alot less variables, and term translations:
vertex -> facepoint (makes more sense and doesn't confuse "vertice" along with it, which is "vert" in my terms)
various: skin -> rig, bone, or weight (skin is too general, like alot of other 3D terms)
RTB, how the heck could you work with that, the syntax alone gave me a headache O.o
lol
EDIT2:
because when coding sucks, I have to be an A and bost about how it could've been done better... lol
of course though this is a translation from max to python... heh
RTB's code:
my code:
both do the same exact thing:
for max, because I don't know much, I'd just recommend this to keep the code clean:
^ if this doesn't work, at least you know my intentions. (1-liners are awesome)
hey RTB, wanna compete for cleanest code
lol
-see edit for link-
though I'm not too good at reading max-script, so don't bite me if there's issues

if I can gain RTB's help on this, the script might just be in the release

also, the GL error issue is fixed, marth and others import now

![[Image: marth2.png]](https://lh5.ggpht.com/-vfiJyqYsQ94/VO_erzjWmaI/AAAAAAAAIow/1tpy_BvJAhY/s802/marth2.png)
and I also found a new object on the slick star which didn't import last time:
![[Image: slickstar.png]](https://lh6.ggpht.com/-hoYnC1-DEaw/VO_jn5oPcPI/AAAAAAAAIpI/JYrDtyrgz0I/s802/slickstar.png)
EDIT:
just got finished fixing up RTB's syntax: (it's actually readable now, though still dirty)
https://copy.com/wnsFsqIgMTMCQYCa (copy can't display the file)
my script is here: (being translated from RTB's script)
https://copy.com/fG3pJg4ui2AZHFCT
there will definitely be alot less variables, and term translations:
vertex -> facepoint (makes more sense and doesn't confuse "vertice" along with it, which is "vert" in my terms)
various: skin -> rig, bone, or weight (skin is too general, like alot of other 3D terms)
RTB, how the heck could you work with that, the syntax alone gave me a headache O.o
lol
EDIT2:
because when coding sucks, I have to be an A and bost about how it could've been done better... lol
of course though this is a translation from max to python... heh
RTB's code:
Code:
-- <- because this indentation is removed for some reason
BoneName = readstring q
if x < 10 do(BoneName = "00" + x as string + " - " + BoneName)
if x > 9 and x < 100 do(BoneName = "0" + x as string + " - " + BoneName)
if x > 99 do(BoneName = x as string + " - " + BoneName)
my code:
Code:
# <- because this indentation is removed for some reason
BoneName = "%03i-%s"%(x,string()) # read until 0x00
both do the same exact thing:
Code:
>>> '%03i'%2222
'2222'
>>> '%03i'%22
'022'
for max, because I don't know much, I'd just recommend this to keep the code clean:
Code:
-- <- because this indentation is removed for some reason
BoneName = x as string + " - " + (readstring q)
hey RTB, wanna compete for cleanest code

lol