PDA

View Full Version : The 3ds Maxscript Samples Resource Page


Martin Andersen
03-10-2005, 02:51 PM
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:



Simply Collect all these small exampels of code One place, so they wont be lost.
Get a FAST overview, and quickly find the chunk of code that youll need.
Developers can learn from others code.
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?

marktsang
03-10-2005, 03:29 PM
good idead buthow is this different from scriptspot.com ?

mark

Tak Tak
03-10-2005, 07:40 PM
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.

erilaz
03-10-2005, 11:44 PM
good idead buthow is this different from scriptspot.com ?

mark

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

Rens
03-11-2005, 12:01 AM
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

Martin Andersen
03-11-2005, 07:19 AM
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

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.

Tak Tak
03-11-2005, 07:22 AM
Here is also intresting code... Good examples!
http://www.cgtalk.com/showthread.php?t=218518

djlane
03-11-2005, 09:53 AM
Thanks for taking the time to do this, its going to be very useful.

Cheers

DAn

galagast
03-11-2005, 10:46 AM
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... :thumbsup:

CLONEOPS
03-12-2005, 04:45 AM
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.

CLONEOPS
03-13-2005, 09:18 PM
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

joconnell
03-14-2005, 12:32 PM
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...

AlpineMan
03-14-2005, 10:29 PM
I second the guy who said Scriptspot is already fulfilling that need. It is comprehensive, and huge.

Also the maxscript help file is incredible. Just read it.

That's right.

Read the beginner sections there.

Rens
03-14-2005, 11:17 PM
I second the guy who said Scriptspot is already fulfilling that need. It is comprehensive, and huge.

Also the maxscript help file is incredible. Just read it.

That's right.

Read the beginner sections there.
You might want to re-read this thread.

Scriptspot has full, working scripts. When you're writing a script and would want some examples of how a certain thing can be done then having chunks of code sorted by usage instead of full scipts would be much faster.

The beginner section of the mxs ref has absolutely nothing to do with this.

Bobo
03-15-2005, 12:29 AM
The beginner section of the mxs ref has absolutely nothing to do with this.

But the MAXScript Frequently Asked Questions chapter does.
I am fishing for these examples here and on the Discreet Support Forum (granted, I am writing most of them, but still... ;o). So asking for help here often leads to a new FAQ entry in the shipping MAXScript Reference build (which is due to be updated in the coming weeks - available not only to subscription members, but to everyone!)

CGTalk Moderation
03-15-2005, 12:30 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.