othoap
10-06-2005, 09:33 PM
Can this be done?
Through out Max there are interfaces that I would like to save the settings use in other max scenes. I.E. “materials” you can save as a preset to open in a new scene.
I have made a folder of preset effects I use often but I have to open the scene, go to the panel like “environments” then write down each of the values and settings. There has to be a better way.
It seems that the Listener is tracking most of the settings but have not had any luck in producing a script in recalling the data.
Any advice?
-- name: Sparks Trails v0.7
-- Author: othoap
macroscript Sparks Trails v0.7
Category: "Trails"
buttontext: "TrailsV0.7"
(
(getEffect 2).applymethod = 0
(getEffect 2).traillifeduration = 8000
(getEffect 2).particlequantity = 97
(getEffect 2).hyperspacedirection = 1
(getEffect 2).particlelifeduration = 1600
(getEffect 2).initialradius = 10.099
(getEffect 2).finalradius = 4.9995
(getEffect 2).initialcolor = color 64 128 255
(getEffect 2).finalcolor = color 0 0 0
(getEffect 2).initialalpha = 255
(getEffect 2).finalalpha = 0
(getEffect 2).initialbrightness = 50
(getEffect 2).finalbrightness = 50
(getEffect 2).initialbalance = 0.25
(getEffect 2).finalbalance = 0.25
(getEffect 2).initialfinalbalance = 0.608
)
Through out Max there are interfaces that I would like to save the settings use in other max scenes. I.E. “materials” you can save as a preset to open in a new scene.
I have made a folder of preset effects I use often but I have to open the scene, go to the panel like “environments” then write down each of the values and settings. There has to be a better way.
It seems that the Listener is tracking most of the settings but have not had any luck in producing a script in recalling the data.
Any advice?
-- name: Sparks Trails v0.7
-- Author: othoap
macroscript Sparks Trails v0.7
Category: "Trails"
buttontext: "TrailsV0.7"
(
(getEffect 2).applymethod = 0
(getEffect 2).traillifeduration = 8000
(getEffect 2).particlequantity = 97
(getEffect 2).hyperspacedirection = 1
(getEffect 2).particlelifeduration = 1600
(getEffect 2).initialradius = 10.099
(getEffect 2).finalradius = 4.9995
(getEffect 2).initialcolor = color 64 128 255
(getEffect 2).finalcolor = color 0 0 0
(getEffect 2).initialalpha = 255
(getEffect 2).finalalpha = 0
(getEffect 2).initialbrightness = 50
(getEffect 2).finalbrightness = 50
(getEffect 2).initialbalance = 0.25
(getEffect 2).finalbalance = 0.25
(getEffect 2).initialfinalbalance = 0.608
)
