Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography


Featured Threads
  inspiration alert!!!
(37 replies)
  Indespensible MaxScripts, Plugins and 3rd Party Tools
(37 replies)
  The allmighty FREE Resources Thread !
(17 replies)
  spam alert!!!
(4886 replies)
  Maxforums member photo gallery index
(114 replies)
  Maxforums Member Tutorials
(89 replies)
  three cheers to maxforums...
(240 replies)
  101 Things you didnt know in Max...
(198 replies)
  A Face tutorial from MDB101 :D
(95 replies)
  Maxforums.org Members Gallery
(516 replies)
  SON OF POST YOURSELF
(637 replies)
  Dub's Maxscript Tutorial Index
(119 replies)

Maxunderground news unavailable

Array + (scripted tool)
show user profile  Mr.Burns
After quite a bit of work I am now quite happy to present you Array +, which is a little scripted tool I made because I wasn't satisfied with Max's built-in array tool.

Download (extract to usermacros):http://www.roboterhor.de/dl/max/ArrayPlus.zip

And a nice little button:

Download (extract to usericons):http://www.roboterhor.de/dl/max/ArrayPlus_Button.zip

So what's so special about this one? It lets you create arrays where you can alter pretty much every animatable track of any object, not just position and rotation. You can also edit expression and script controllers. It's probably best if you give it a try and see for yourself :)

A couple of notes:

- I am not a proper programmer, so the code could probably be optimised quite a bit. As of now it's not even commented at all, so if you want to modify the source code I'm afraid you'll be on your own.
- You can only create an array from one object. Selecting multiple objects will prompt an error message.
- If you want to modify an expression or a script, you can add one variable by adding a ? anywhere in the expression. You can also add stuff like sin and cos etc.
- Wires are currently not supported unfortunately :( A simple workaround would be to replace the wire with an expression.
- If you're going to modify things like radius etc. e.g. base parameters, make sure to select "Copy" as type of object.

That's pretty much everything I can think of. I haven't found the time to write a manual, but hopefully it's self-explanatory and easy enough to use. Have fun and feel free to improve or extend the script :)
read 878 times
2/8/2012 9:49:40 PM (last edit: 2/8/2012 9:54:10 PM)
show user profile  Nik Clark
You've done a damned good job with this. I am really impressed after fifteen minutes with it. It will be a great thing to keep in the back of the toolbox, and I'm sure it will save loads of time when it is needed.

What it really needs is a preview button though!





read 863 times
2/8/2012 10:09:45 PM (last edit: 2/8/2012 10:09:45 PM)
show user profile  Garp
@Nik: just add button btnPrev "Preview" to the rollout definition.
;)

@Mr.Burns: looks great! Thumbs up (and big toes too) :D
I'll have a good look at the code during the weekend.




read 846 times
2/8/2012 10:40:44 PM (last edit: 2/8/2012 10:40:44 PM)
show user profile  herfst1
Utter noob question: what are arrays used for?
read 829 times
2/9/2012 7:49:25 AM (last edit: 2/9/2012 7:49:25 AM)
show user profile  Mr.Burns
Nik: I would have liked to add one, but I didn't know how to do it :/ Glad you like it anyway though :)

Garp: Cool, I'll make sure to put some comments in so it'll be easier to see what's what!

herfst: Arrays are used whenever you want several copies or instances of the same object. Instead of manually copying it say 10 times, you can just let the array tool do it all in one go. The built-in tool only supports position, rotation and scale, whereas Array + supports all animatable sub tracks as well as keyframes, and it offers more options.
read 811 times
2/9/2012 9:54:27 AM (last edit: 2/9/2012 9:54:27 AM)
show user profile  herfst1
Thanks for the explanation, Burns, that sounds really useful. And thanks for the array +. Definite download.
read 807 times
2/9/2012 10:16:20 AM (last edit: 2/9/2012 10:16:20 AM)
show user profile  Mr.Burns
I've added some comments to the script. It's not a lot, but hopefully it helps a bit. The download link is the same as in the original post:http://www.roboterhor.de/dl/max/ArrayPlus.zip

read 793 times
2/9/2012 12:15:39 PM (last edit: 2/9/2012 12:15:39 PM)
show user profile  Mr.Burns
Alright, got a preview function working. Unfortunately expressions aren't working anymore, I'm getting there though.
read 759 times
2/11/2012 2:18:11 PM (last edit: 2/11/2012 2:18:11 PM)
show user profile  Nanne
This is cool :) You should add it to ScriptSpot, makes it easier for people to find it.

Kristoffer Helander
www.kristofferhelander.se
  :: Works ::   |  :: Resumé ::   |  :: Contact ::   |  :: CG Blog ::   |  :: Links ::     
read 736 times
2/12/2012 10:40:27 AM (last edit: 2/12/2012 10:40:27 AM)
show user profile  Mr.Burns
Here's another update. Expression and Script controllers can now be modified as well :) I needed that feature at work recently, so I finally managed to implement it.
http://www.roboterhor.de/dl/max/ArrayPlus.zip

You can add a variable to an expression by inserting a ? anywhere. Just make sure the expression as such is valid, there's no error checking.
read 479 times
9/29/2012 11:13:40 AM (last edit: 9/29/2012 11:13:40 AM)
#Maxforums IRC
Open chat window


Support Maxforums.org