• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Show Hide Meshes in Wordpad?

Status
Not open for further replies.
Show/Hide Meshes in Wordpad?

Greetings friends of the model comunity,
I was wondering if i could change a model That a cerain mesh is hidden or shown during a certain animation?
E.g: I have a model consisting of 2 Meshes (2 animtions; Stand & Attack)
When the model is not doing an animtion ('none' in the WcIII Viewer) Both meshes are shown.
But during the "Stand" & "Attack" animtions only the 2nd model can be seen... WTF

So is there some part in the mdl file where it states during which animtions which meshes are shown?
Thx 4 any help

-----------------------------------------------------
I even looked at the remove mesh tutorial http://www.hiveworkshop.com/forums/showthread.php?t=8930 but in my model the meshes are different...
How its supposed to look:
Code:
GeosetAnim {
	Alpha 3 { <-- number is total anim times listed below
		DontInterp,
		26667: 1, <-- animation times, 1=visible, 0=invisible
		86567: 0,
		87333: 0,
	}
	GeosetId 0, <-- relates to Geoset ID
}

How mine Looks:
Code:
	Anim {
		MinimumExtent { -0.000004, -12.313400, -106.775002 },
		MaximumExtent { 6.716430, 10.074600, -1.749600 },
		BoundsRadius 107.483002,
	}
-> I dont have the thing that tells the model where to be visible.... wtf ?
 
Last edited:
Level 25
Joined
May 31, 2007
Messages
1,443
hmm dono how to help you >.> but hmm
i attached 2 models
box.mdl without visibility note and box2.mdl with visibility note (in stand animation)
now when you look at the difference you will see
that box2.mdl has
Code:
GeosetAnim {
	Alpha 2 {
		DontInterp,
		0: 0,
		1100: 1,
	}
	GeosetId 0,
}
and box.mdl doesn't have geosetanim
it must be there somewhere >.>

>.>the visibility note is simple to add in max but in mdl :con: i don't know<.<'

huh you edited your post hmm
don't look at my post >.> you have that tutorial :D

and post the model so we can see what we can do :DDDDD
 

Attachments

  • box.rar
    2 KB · Views: 32
Ok, Heres the Model.... Its basicly a mine. During the attack animation the spike shhots out of the ground.... But as soon as i combine them the 'mine' goes invisible...
 

Attachments

  • Screanshot.png
    Screanshot.png
    256.4 KB · Views: 82
  • Trap.mdl
    3.4 KB · Views: 71
  • Spike.mdl
    4.4 KB · Views: 62
  • Spike Trap.mdl
    7.8 KB · Views: 67
How mine Looks:
Code:
	Anim {
		MinimumExtent { -0.000004, -12.313400, -106.775002 },
		MaximumExtent { 6.716430, 10.074600, -1.749600 },
		BoundsRadius 107.483002,
	}
-> I dont have the thing that tells the model where to be visible.... wtf ?

The above is not part of what you are looking for.

In wordpad hit Ctrl-F to search. Search for "GeosetAnim", without quotation marks. If it does not find any matches, your model does not have any geoset anims and they must be added. Add the example below the last geoset's information and modify it to your needs.

Code:
GeosetAnim {
	GeosetId 0,
	Alpha 4 {
		DontInterp,
		0: 0,
		51: 1,
		499: 1,
		801: 0,
	}
}
GeosetAnim {
	GeosetId 1,
	Alpha 1 {
		DontInterp,
		0: 1,
	}
}

PS: also, don't refer to each mesh as a model, unless they are two seperate files. Call them geosets, then more people will understand what you mean.
 
Status
Not open for further replies.
Top