Notifications
Clear all

[Closed] The 3ds Maxscript Samples Resource Page

Hi All.

I thought that its a good ideer to have a page, where we collect all these small scripts, sample files etc. So we will end up with a huge archive with helpfull Maxscript code.

I have started the website and I hope that that it will grow over time.

The Point is to:

[ul]
[li]Simply Collect all these small exampels of code One place, so they wont be lost. [/li][li]Get a FAST overview, and quickly find the chunk of code that youll need. [/li][li]Developers can learn from others code. [/li][/ul] Link:
http://www.3d-designer.dk/maxscript/

Please post a lot more samples, so the site can grow even larger

Mail new to: info@3d-designer.dk or attach them in this thread!

I hope you like the ideer!
What do you think of this?

14 Replies

good idead buthow is this different from scriptspot.com ?

mark

1 Reply
(@erilaz)
Joined: 11 months ago

Posts: 0

It’s different because they’re building blocks for your own projects rather than full scripts.

I think it is good idea coz thay are only part of codes and not “complete” scripts. Just showing what is possible and really simply without any complex additions. Much easier for beginners I think. Keep going!

Here is simple example how to create dialog. Maybe you could add this one to

try(destroyDialog AAA)catch() -- if there is already dialog named AAA opened then script will destroy it and creates new one.
   
   rollout AAA "Title" --rollout name and "title"
   	(
   		-- put here some code...
   	)
   createDialog AAA 200 100 -- creates dialog named AAA, size is width:200 and height:100

RC menu example helped me a lot!!! I didn’t understand max reference examples, but that one was brilliant. Well commented.

Nice idea, but I think it will work better if you use .txt files instead of .ms files. That way you can see the script in your browser and copy-paste the necessary parts directly in your open script. It would also allow faster reviewing. And if you want to save it to disk you could always Save As a .ms file.

Very nice idea.

  • R
1 Reply
(@martin_andersen)
Joined: 11 months ago

Posts: 0

Yes, I agree with that!

I’ll convert and update this weekend!

Yes this page is for programmers doing there own projects. With simple blocks of code.

Here is also intresting code… Good examples!
http://www.cgtalk.com/showthread.php?t=218518

Thanks for taking the time to do this, its going to be very useful.

Cheers

DAn

its a wonderful idea!
i only hope that it can be viewed or arranged in different types of orderor assortment… or maybe just follow how the maxscript helpfile is arranged by category… Its almost like having the same helpfile with the same topics and categories, the only difference is your site (will) contains lots of examples per function or code for each of those (cool!). And maybe later in the future, it can be compiled to look like the maxscript helpfile, and it could be done in a quarterly basis… (and maybe even have additional “How To’s”!)

just my two centavos…

What i need is Maxcript for Dummies…a distilling of each maxscript function right down to its barest possible example…in english please.

Telling me i need a hydrocarbon based petroleum refined derivative to run my car just clouds the issue for me.I know some people can read and write maxscript like dang-doogy wizards right out of the womb (and gawd bless them!!),but for some like me its a wobbly weaved web.

  I wish there was something formal setup- like the Povray scene Editor ...where there are
  predefined catagory examples that you can slot in.

Maxscript could be set up this way,as it is just a set of building blocks of code, same as povray.~ i think it could be a form of a learning tool.

  mmmhh...gadzooks! 
 Okay since looking at povray's editor has an insert menu that is customizable/editable
 it should be possible to do this...anyway i don't see any reason right off the bat why not.

Happens a nifty utility already made for building a library of snippets of maxscript.
At scriptspot.com-

“This script is essentially a little window that saves and loads bits of text that you may find useful when scripting or when working in max. It allows you to save blocks of code to an external file so you can build a library or multiple libraries of commonly used bits of code. I find it useful because I’m not very speedy with the keyboard, so big chunks of text that I use over and over again can easily be copied and pasted from the CD_CodeClipboard window into a new script or into the listener.”

The utility is called. “CodeClipboard1.0”
Written by Conrad Dueck

Great idea – I’m self taught at programming and mainly coming from a plain english, actionscript and lingo backgrouns as opposed to properly structured code so this’ll be great for making tidier scripts with proper functions and constructs…

Page 1 / 2