Well it's based on stuff I've been learning and stuff I've seen others do.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
macroScript randomMaterialGen
Category: "Lukes' Tools"
internalCategory:"Lukes' Tools"
buttontext: "Rand Mats"
Tooltip:"Creates Random materials"
/*
Script: LukesScripts.ms
Author: Luke Pettit
e-mail: petluke@gmail.com
Date: 19/08/2010 v 1.0
*/
(
-- a for loop through all 24 editor slots, from 1 to 24
for i = 1 to 24 do
(
meditMaterials[i].Diffuse = random black white
)
)
macroScript MaterialEditorCleaner
Category: "Lukes' Tools"
internalCategory:"Lukes' Tools"
buttontext: "Mat Cleaner"
Tooltip:"Cleaning the material editor"
(
-- We use a for-cycle to loop through all 24 editor slots, from 1 to 24
--for i = 1 to 24 do
(
macros.run "Medit Tools" "clear_medit_slots"
--setMEditMaterial i (standard()) --use this instead if you want
)
)
macroScript Pos0 --positions the selected object to 0,0,0
buttontext: "0,0,0_Pos"
Category: "Lukes' Tools"
internalCategory:"Lukes' Tools"
Tooltip:"Positions the selected object to 0,0,0"
(
try ($.pos = [0,0,0])catch() --used the try catch just in case you forget to select anything first
)
macroScript x_Pos --positions the selected object to X,0,0
buttontext: "x_Pos"
Category: "Lukes' Tools"
internalCategory:"Lukes' Tools"
Tooltip:"Positions the selected object to x,0,0"
(
try($.pos.x = 0)catch() --used the try catch just in case you forget to select anything first
)
macroScript y_Pos --positions the selected object to 0,Y,0
buttontext: "y_Pos"
Category: "Lukes' Tools"
internalCategory:"Lukes' Tools"
Tooltip:"Positions the selected object to 0,y,0"
(
try($.pos.y = 0)catch() --used the try catch just in case you forget to select anything first
)
macroScript z_Pos --positions the selected object to 0,0,Z
buttontext: "z_Pos"
Category: "Lukes' Tools"
internalCategory:"Lukes' Tools"
Tooltip:"Positions the selected object to 0,0,z"
(
try($.pos.z = 0)catch() --used the try catch just in case you forget to select anything first
)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Feel free to use and enjoy
You'll find it under customise interface Lukes Tools just drag each one to
a toolbar or quad menu
Luke
No comments:
Post a Comment