Maxscript editor tip/tutorial

Hi everyone,

I made a small video tutorial about a thing I found very usefull in the maxscript editor, I haven’t read anyone writing about it, but maybe I haven’t looked enough, but here it is: http://public.subd.nl/screencasts/

Let me know if it’s of any use.

-Johan

Is it ok to post here and on CGTalk or is that not considered good etiquette?
-Johan

I wouldn’t consider that bad etiquette at all. Go for it!

Hi Johan,

I did not even know of the existence of abbreviations so thanks :D: I’m going to play around with them a bit :):


FUCKTUBE.OM

very handy! thanks a bunch! now i know what i’ll be doing during lunch break.

Awesome! Thanks for the tip!

Thanks for the video, always a much better illustration than text. I may try this out, seems very useful, thanks!

Very cool, thanks for taking the time to show us this! :slight_smile:

Hidden in plain sight…

Thanks for the tip!

Wow great tip!! Very handy!

Thanks guys, only just discovered it very recently, and yes it was hidden in plain sight :slight_smile:
I also posted it on cgtalk with some great response too, so maybe it’s also a good idea to post some of your abbreviations, so we can all benefit from each other and also in the light of the mxs code library repository and standardizing the use of comments and comment blocks etc, it would be a good thing to put up in the wiki,with a few standard abbreviations that work good with the repository and doc scripts?

Here are mine.


/* COMMENTS */
 menu=--@categorie:CAT;name:NAME;description:DESC
 header=
--******************************************************************************************************
-- Created: 		00-00-2009
-- Last Updated:	00-00-2009
-- Version:			0.10
--
-- Author :  Johan Boekhoven / johan.boekhoven@gmail.com / subd.nl
-- Version:  3ds max 2009 (10) (should work in older versions too!)
--
-- Discription: DESCRIPTION
-- Usage: RUN IT
--
-- Wishlist:
--
--******************************************************************************************************
-- MODIFY THIS AT YOUR OWN RISK

 doc=/*
<DOC> Description here.
Arguments:
	<bool> arg_a:		A description of the argument.
Return:
	<bool>		Function returns (anything?).
*/
 
 /* CODE STRUCTURES */
 if=if ARG then
(
	STATE1
) -- end if
else
(
	STATE2
) -- end else
 fn=fn NAME arg_a arg_b =
(
	doc
	fnBody
)
 str=struct NAME
(
	VAR1,
	VAR2,
	fn
)
 fora=for  in  do
(
	
)

 foraw=for  in  where ARG1 == ARG2 do
(
	
)

 fori=for i = 0 to 100 do
(
	
)

 foriw=for i = 0 to 100 where ARG1 == ARG2 do
(
	
)

 foribw=for i = 0 to 100 by  where ARG1 == ARG2 do
(
	
)

 rol=rollout ""
(
	btn
	spn
)


/* GENERIC */
 start=menu header
(
	
)
 
 /* CONTROLS */
 btn=button btn_ "" width: height: offset:[0,0] across:
 pbn=pickButton pbn_ "" width: height: offset:[0,0] across:
 spn=spinner spn_ "" width: range:[,,] type: offset:[0,0] across:
 chb=checkButton chb_ "" width: height: offset:[0,0] across:
 grp=group ""
(
	btn
	spn
	chb
	pbn
)

They need more work, but hey… a few more we’re posted on cgtalk too.

Cheers,
-Johan

wow I can’t believe I never saw that. Thanks for sharing

Wow, what a great tip! Thank you!

This is almost like auto-complete in Visual Studio.

Awesome, thx for sharing!

How do you create a movie file in Autodesk 3ds max after making an animation?
ive already made a simple animation in 3ds max 8 and afterwards i created a preview, but it looks low quality without shadows and lighting and eflection…its just that id like to know how to save an animation with all the effects and environment in it… thanks for any help.