• 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.

how to i set the rarity to an animation?

Status
Not open for further replies.
Level 2
Joined
Mar 3, 2010
Messages
8
How can i set how often does an animation play.For example if a unit has 2 stand animations.I want stand 1 to play a lot more often then stand 2.
 
Level 25
Joined
May 31, 2007
Messages
1,443
Open your model in Notepad
Code:
Anim "Stand - 1" {
		Interval { 167, 1667 },
		MinimumExtent { -19.599199, -33.179600, -0.282330 },
		MaximumExtent { 52.400799, 36.717602, 99.072197 },
		BoundsRadius 62.448299,
	}
	Anim "Stand - 2" {
		Interval { 1833, 4333 },
[B][COLOR="Lime"]		Rarity 4.000000,[/COLOR][/B]
		MinimumExtent { -27.062901, -46.561699, -0.690621 },
		MaximumExtent { 59.481800, 42.131699, 99.482300 },
		BoundsRadius 63.909500,
	}

Add that Rarity line bellow the Interval and change the value (4.000000) to what ever you want (1, 2, 3....)
 
Status
Not open for further replies.
Top