3ds Max Script

09/16/2013 23:38 Avalion#1
end life
09/17/2013 03:12 кυяαмα#2
dazu muss man nichts mehr groß sagen, hammer release...

damit ist das animieren auch so gut wie kein problem, selbst für leute die anfangen wollen
09/17/2013 12:15 /-/µR€#3
Can u make a big Video Tutorial for it?
09/17/2013 13:04 John'#4
Ballert Bruder, ballert!

Danke.
03/26/2015 17:56 Evese#5
When i try running the script in 3ds max, i'm getting a comile error:

[Only registered and activated users can see links. Click Here To Register...]

Need to load a mesh + bones first and add the name in the script?

thx
04/12/2015 04:09 ankouModeler#6
Use Atools, 3ds scripts are useless now
ATools do all for you.
04/12/2015 06:39 xTwiLightx#7
Quote:
Originally Posted by Evese View Post
When i try running the script in 3ds max, i'm getting a comile error:

[Only registered and activated users can see links. Click Here To Register...]

Need to load a mesh + bones first and add the name in the script?

thx
Unten fehlt offenbar eine schließende Klammer.
04/12/2015 09:42 Evese#8
Mal sehen, ich probiere es später mal aus
02/14/2016 12:16 sbobetcom#9
HELP please
07/06/2017 00:33 Kinami#10
anyone got it?
07/06/2017 00:49 Hekmatyar#11
found it from the img still containing som of it. u should just use atools

Code:
(
	GetVertexWeightCount = skinOps.GetVertexWeightCount
	GetVertexWeight = skinOps.GetVertexWeight
	GetVertexWeightBoneID = skinOps.GetVertexWeightBoneID
	GetBoneName = skinOps.GetBoneName

	--FUNCTION
	fn saveSkin obj =
	(
		objskin = obj.skin
		modPanel.setCurrentObject objskin
		
		createms = "" as stringstream
		
		numVerts = getNumVerts obj.mesh
		
		format "*SKIN_VERTEX_DATA	%  {\n" numVerts to:createms

		for v = 1 to numVerts do
		(
			--GET THE WEIGHTS
			weights = #()
			_bones = #()

			for b = 1 to GetVertexWeightCount objskin v do
			(
				append weights (weight = GetVertexWeight objskin v b)
				append _bones (_bone = (GetBoneName objskin (GetVertexWeightBoneID objskin v b) 1))
			)
			
			--PRINT THE WEIGHTS
			numBones = _bones.count
			
			format "\t*VERTEX	% %	{\n" (v-1) numBones to:createms
			
			for n = 1 to numBones do
			(
				format "\t\t*BONE	\t\"%\"	\t%\n" _bones[n] weights[n] to:createms
			)

			format "\t}\n" to:createms
		)
		
		format "}\n" numVerts to:createms
		
		--SAVE
		skinFile = createFile ("C:\\" + obj.name + ".txt")
		format "%" (createms as string) to:skinFile
		close skinFile
	)
	
	for obj in selection do
	(
		if isProperty obj #skin do saveSkin obj
	)
07/06/2017 14:16 Nick#12
#closed