-
hype 2,964 posts
-
Cameron 2,374 posts
-
ivanisavich 4,196 posts
Hey man,
Yep! Any kind of plain-text editor will be fine.
As for the next challenge...hmm...not sure if we'll do a scripting one since I don't think enough people would a) be into it and b) use max.....but we could hold some sort of maxscripting workshop or something....or maybe just have an unofficial maxscripting challenge in the 3d studio sub forum....any takers?
-
hype 2,964 posts
i'd be up for it! i'm trying to learn right now while i'm at work...
-
ivanisavich 4,196 posts
SLACKER!
-
Franklyn 553 posts
ooh ooh pick me !
-
iest_rob 1,671 posts
great idea guys, pretty cool
-
ivanisavich 4,196 posts
Here's an idea...we can start off with a workshop, where we discuss the basic features of maxscript etc....then maybe move onto some harder stuff....and then finally migrate over to some official challenges....how does that sound?
-
hype 2,964 posts
-
ivanisavich 4,196 posts
-
Cameron 2,374 posts
-
hype 2,964 posts
-
hype 2,964 posts
crap. so i typed in this whole script, then run it, and nothing happens.
this book was written for v6. is there that big a difference in MAXscript between 6, 7, and maybe even 8 that this script won't work? it seems like a pretty basic script.
i'd post it, but i'm at work, and i don't have wi-fi for my laptop. tonight i will for sure, whether or not its working. it's written by Bobo (so it's gotta be good!)
its a script to create a Viewport Recorder, like, for making tutorials and stuff.
-
hype 2,964 posts
does the fact that the script starts with this mean anything?
macroScript RecordViewport category:"KillerTips"
is that line doing something? isn't macroscript something different? but shouldn't i still be able to run it using "run script"?
-
ivanisavich 4,196 posts
Hey man,
Yep...a macroscript is a script that is meant to be displayed only in the UI and therefore doesn't pop up with anything when run (ie...if nothing popped up that's a good thing).
To "install" your macroscript into the UI, just goto customize--user interface and in the quads tab find "killertips" in the dropdowns and add it to your UI (ie...viewport right click menu)
Once you then execute the script from the UI, it'll run
-
hype 2,964 posts
DUDE!!!
unreal!!! friggin amazing!!!
its the smallest little script, and it records the selected viewport! it makes an AVI file after you enter the name you want it saved as, and you pick a frame rate. you hit "start recording" and bam! then you stop it when you're done! friggin' astounding!!
my only complaint is that it doesn't record the mouse pointer in the viewport. it records the same way a preview is made.
friggin astounding, and totally free. code is awesome! i'm sold!
-
hype 2,964 posts
so ok, how do i make it a script that i would have to run, instead of installing it in the UI?
for mine that i want to create, i think i'd rather you just go select it and run it when you need it. well, maybe. would i just remove that macroscript line?
-
ivanisavich 4,196 posts
Well....just don't add the "macroscript" parameter lines

....if you keep those out and run the script....it'll run right away instead of after you throw it in the UI
-
hype 2,964 posts
-
Cameron 2,374 posts
-
ivanisavich 4,196 posts
-
hype 2,964 posts
i don't think i'll be assigning a controller to any spinners, since i don't really know that much yet.
last night i worked hard on understanding more, but sheesh! this is hard!
i was entering all the stuff to make a rollout, then i learned about the visual rollout maker. the stuff i was enetering wasn't working, but then neither was the stuff created when i used the visual maker thingy. so now i think i just don't know how to "preview" my script properly, which i know you (T) went over in the bird wing part 2 thing. i should watch that again.
when i was trying to "preview" it by copying and pasting in the listener window, i kept getting errors involving where i put the )
i think thats where alot of my misunderstanding is coming from right now, not knowing the order to put things in.
i'm gonna rewatch that part of your bird wing thing.
-
ivanisavich 4,196 posts
-
hype 2,964 posts
-
ivanisavich 4,196 posts
-
hype 2,964 posts
-
hype 2,964 posts
-
ivanisavich 4,196 posts
-
hype 2,964 posts
-
ivanisavich 4,196 posts
-
Franklyn 553 posts
-
ivanisavich 4,196 posts
-
hype 2,964 posts
-
hype 2,964 posts
-
Franklyn 553 posts
-
ivanisavich 4,196 posts
-
hype 2,964 posts
-
ivanisavich 4,196 posts
-
hype 2,964 posts
-
hype 2,964 posts
-
ivanisavich 4,196 posts
-
hype 2,964 posts
-
hype 2,964 posts
-
hype 2,964 posts
-
Franklyn 553 posts
-
hype 2,964 posts
-
hype 2,964 posts
so i'm trying to make mine have a checkbutton instead of a regular button, so you can turn on the button, select the faces, enter the values, click the "do it" button, and it will THEN turn off the button.
ah... screw it. maybe i'll go back to how it was. it was working.
-
Franklyn 553 posts
did you get the beveling to work :S ?
-
hype 2,964 posts
sort of. for some reason its making the bevel wider, not thinner, like i want.
and sometimes i'll delete parts of the script, then run it, and it still references things that i've removed. very confusing. and i think i messed up where i placed my ( ) parenthesis.
i had it working a bit ago, its not right now.
this crap is hard. i can't even imagine what T's thinking when he makes something that calculates secondary motion! i can't even get a bevel value in there right!
-
hype 2,964 posts
okay, got it working again. i had too many ( ) in there.
now i gotta get it to turn off sub-object mode, or chamfer top edges.
(can you tell i'm bored at work, giving play-by-play of my scripting adventures...)