Integrating latest 47acbe8
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
max utility mode
|
||||
UtilityPanel.OpenUtility CryEngine_2_Exporter
|
||||
for obj in selection do
|
||||
(
|
||||
ExprtArr = csexport.export.get_node_list()
|
||||
for x = 1 to ExprtArr.count do
|
||||
(
|
||||
if ExprtArr[x] == obj then deleteItem ExprtArr x
|
||||
)
|
||||
append ExprtArr obj
|
||||
csexport.export.set_node_list ExprtArr
|
||||
)
|
||||
max modify mode
|
||||
@@ -0,0 +1,12 @@
|
||||
-------------------------Limited Edge Loop---------------------------
|
||||
if CryModelling == undefined then
|
||||
(
|
||||
FileIn (BuildPathFull_crytools + "Tools\\maxscript\\CryModelling.ms")
|
||||
)
|
||||
|
||||
case subobjectLevel of
|
||||
(
|
||||
1: CryModelling.SelVertLoop()
|
||||
2: CryModelling.SelLimELoop ()
|
||||
4: CryModelling.SelPolyLoop()
|
||||
)
|
||||
@@ -0,0 +1,11 @@
|
||||
-------------------------Limited Edge Ring---------------------------
|
||||
if CryModelling == undefined then
|
||||
(
|
||||
FileIn (BuildPathFull_crytools + "Tools\\maxscript\\CryModelling.ms")
|
||||
)
|
||||
|
||||
case subobjectLevel of
|
||||
(
|
||||
1: CryModelling.SelVertRing()
|
||||
2: CryModelling.SelLimERing()
|
||||
)
|
||||
@@ -0,0 +1,7 @@
|
||||
-------------------------Limited Poly Loop------------------------------
|
||||
if CryModelling == undefined then
|
||||
(
|
||||
FileIn (BuildPathFull_crytools + "Tools\\maxscript\\CryModelling.ms")
|
||||
)
|
||||
|
||||
CryModelling.SelPolyLoop()
|
||||
@@ -0,0 +1,7 @@
|
||||
-------------------------Limited Vert Loop----------------------------
|
||||
if CryModelling == undefined then
|
||||
(
|
||||
FileIn (BuildPathFull_crytools + "Tools\\maxscript\\CryModelling.ms")
|
||||
)
|
||||
|
||||
CryModelling.SelVertLoop()
|
||||
@@ -0,0 +1,7 @@
|
||||
-------------------------Limited Vert Ring------------------------------
|
||||
if CryModelling == undefined then
|
||||
(
|
||||
FileIn (BuildPathFull_crytools + "Tools\\maxscript\\CryModelling.ms")
|
||||
)
|
||||
|
||||
CryModelling.SelVertRing()
|
||||
@@ -0,0 +1 @@
|
||||
$.modifiers[#unwrap_uvw].unwrap2.ScaleSelectedCenter 0.001 1
|
||||
@@ -0,0 +1 @@
|
||||
$.modifiers[#unwrap_uvw].unwrap2.ScaleSelectedCenter 0.001 2
|
||||
@@ -0,0 +1 @@
|
||||
$.modifiers[#unwrap_uvw].unwrap2.ScaleSelectedCenter 0.001 0
|
||||
@@ -0,0 +1,5 @@
|
||||
-- centers the pivot of all selected objects (locally per object)
|
||||
for obj in selection do
|
||||
(
|
||||
CenterPivot obj
|
||||
)
|
||||
@@ -0,0 +1,8 @@
|
||||
case getRefCoordSys() of
|
||||
(
|
||||
#local: setRefCoordSys #hybrid
|
||||
#hybrid: setRefCoordSys #screen
|
||||
#screen: setRefCoordSys #world
|
||||
#world: setRefCoordSys #parent
|
||||
#parent: setRefCoordSys #local
|
||||
)
|
||||
@@ -0,0 +1,8 @@
|
||||
try
|
||||
(
|
||||
(crytools.retrieveFn "collapseVerts()")()
|
||||
)
|
||||
catch
|
||||
(
|
||||
print "error."
|
||||
)
|
||||
@@ -0,0 +1,3 @@
|
||||
max utility mode
|
||||
UtilityPanel.OpenUtility CryEngine_2_Exporter
|
||||
csexport.export.export_anim()
|
||||
@@ -0,0 +1,3 @@
|
||||
max utility mode
|
||||
UtilityPanel.OpenUtility CryEngine_2_Exporter
|
||||
csexport.export.export_nodes()
|
||||
@@ -0,0 +1,8 @@
|
||||
if $.preserveUVs == true then
|
||||
(
|
||||
$.preserveUVs = false
|
||||
)
|
||||
else
|
||||
(
|
||||
$.preserveUVs = true
|
||||
)
|
||||
@@ -0,0 +1,4 @@
|
||||
ResetXForm $
|
||||
print ($.name + " xforms reset")
|
||||
modPanel.setCurrentObject $.baseObject
|
||||
maxOps.CollapseNode $ off
|
||||
@@ -0,0 +1,22 @@
|
||||
------Display Vertex Alpha------
|
||||
for obj in selection do
|
||||
(
|
||||
if obj.showVertexColors == false then
|
||||
(
|
||||
obj.vertexColorType = #alpha
|
||||
obj.showVertexColors = true
|
||||
)
|
||||
else
|
||||
(
|
||||
if obj.vertexColorType ==#color then
|
||||
(
|
||||
obj.vertexColorType = #alpha
|
||||
obj.showVertexColors = false
|
||||
obj.showVertexColors = true
|
||||
)
|
||||
else
|
||||
(
|
||||
obj.showVertexColors = false
|
||||
)
|
||||
)
|
||||
)
|
||||
@@ -0,0 +1,22 @@
|
||||
------Display Vertex Colors-------
|
||||
for obj in selection do
|
||||
(
|
||||
if obj.showVertexColors == false then
|
||||
(
|
||||
obj.vertexColorType = #color
|
||||
obj.showVertexColors = true
|
||||
)
|
||||
else
|
||||
(
|
||||
if obj.vertexColorType ==#alpha then
|
||||
(
|
||||
obj.vertexColorType = #color
|
||||
obj.showVertexColors = false
|
||||
obj.showVertexColors = true
|
||||
)
|
||||
else
|
||||
(
|
||||
obj.showVertexColors = false
|
||||
)
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user