Item Spinner

NullCurrent

( ゚ε ゚)
Reaction score
110
So... I have found an item spinner that I want to use. But, I dont get how to use it...

HERE!

This is what it tell me to do,

Code:
Attachment "Item" {
	ObjectId 1,
	Path "Orc_rampager.mdx",
	Parent 0, // "Bone_Center"
}

"but you can change the model to anything by changing the mdl attachment filepath" thats what it says... and how do I do that?
 

Pyrogasm

There are some who would use any excuse to ban me.
Reaction score
134
Where it says "Orc_rampager.mdx", simply change that to the path of whatever model you want to use. (Replace spaces with underscores.)

So if you wanted to use a footman, you'd do Path "Units\Human\Footman\Footman.mdx". If you've imported some model as "Models\New Hero.mdx" then you'd do this: Path "Models\New_Hero.mdx".
 

Pyrogasm

There are some who would use any excuse to ban me.
Reaction score
134
If it's not already, convert the model file to .mdl, then open it with a text editor (notepad, textedit, etc.). Do a simple search for the phrase Attachment "Item", replace the line I said, save, convert back to .mdx if it was before, and import.
 

Pyrogasm

There are some who would use any excuse to ban me.
Reaction score
134
Can you upload the model here in .mdl format, please?
 

Pyrogasm

There are some who would use any excuse to ban me.
Reaction score
134
I did exactly what I said to do and it worked for me. Here's what I did:
  • Import the axe model with the path "war3mapimported\Axe.mdx"
  • Open the Spinnner New.mdl file, find the appropriate section, and change it to this:
    Code:
    Attachment "Item" {
    	ObjectId 1,
    	Parent 0,
    	Path "war3mapimported\Axe.mdx",
    }
    You had an extra line in there for some reason; I deleted that.
  • Import the Spinner New.mdl file into the World Editor.
  • Save the map.
  • Use the model.
The model may not show up properly in the preview box in the Editor, but it sure works fine in game.

Full model code:
Code:
//+-----------------------------------------------------------------------------
//| spinner(empty).mdl
//| Generated by War3 Model Editor v1.05
//| Tuesday, December 11 2007 20:27:31
//| http://Magos.TheJeffFiles.com/War3ModelEditor/
//+-----------------------------------------------------------------------------
Version {
	FormatVersion 800,
}
Model "spinner" {
	NumGeosets 1,
	NumBones 1,
	NumAttachments 1,
	NumParticleEmitters2 1,
	BlendTime 150,
	MinimumExtent { -17.8555, -17.9719, 10.4778 },
	MaximumExtent { 17.9839, 17.9017, 10.4778 },
	BoundsRadius 18.0813,
}
Sequences 1 {
	Anim "Stand" {
		Interval { 0, 2000 },
	}
}
Textures 1 {
	Bitmap {
		Image "Textures\Yellow_Star.blp",
	}
}
Materials 1 {
	Material {
		Layer {
			FilterMode Additive,
			static TextureID 0,
			Unshaded,
		}
	}
}
Geoset {
	Vertices 4 {
		{ -11.8097, -12.3542, 10.4778 },
		{ -11.8097, 12.1598, 10.4778 },
		{ 13.065, 12.1598, 10.4778 },
		{ 13.065, -12.3542, 10.4778 },
	}
	Normals 4 {
		{ 0, 0, 1 },
		{ 0, 0, 1 },
		{ 0, 0, 1 },
		{ 0, 0, 1 },
	}
	TVertices 4 {
		{ 0, 0 },
		{ 1, 0 },
		{ 1, 1 },
		{ 0, 1 },
	}
	VertexGroup  {
		0,
		0,
		0,
		0,
	}
	Faces 1 6 {
		Triangles {
			{ 3, 2, 1, 1, 0, 3 },
		}
	}
	Groups 1 1 {
		Matrices { 0 },
	}
	MinimumExtent { -17.8555, -17.9719, 10.4778 },
	MaximumExtent { 17.9839, 17.9017, 10.4778 },
	BoundsRadius 18.0813,
	MaterialID 0,
	SelectionGroup 0,
}
Bone "Bone_Center" {
	ObjectId 0,
	Rotation 13 {
		Linear,
		0: { 0, 0, 0, 1 },
		167: { 0, 0, 0.145152, 0.989409 },
		333: { 0, 0, 0.444251, 0.895902 },
		500: { 0, 0, 0.708051, 0.706161 },
		667: { 0, 0, -0.870555, -0.492071 },
		833: { 0, 0, -0.967619, -0.252415 },
		1000: { 0, 0, -0.999994, 0.00334449 },
		1167: { 0, 0, -0.96506, 0.262029 },
		1333: { 0, 0, -0.86406, 0.503388 },
		1500: { 0, 0, -0.703736, 0.710462 },
		1667: { 0, 0, -0.443335, 0.896356 },
		1833: { 0, 0, -0.159172, 0.987251 },
		2000: { 0, 0, 0.000958292, 1 },
	}
	GeosetId 0,
	GeosetAnimId None,
}
Attachment "Item" {
	ObjectId 1,
	Parent 0,
	Path "war3mapimported\Axe.mdx",
}
PivotPoints 3 {
	{ 0.00121307, 0.0226746, 52.3728 },
	{ -0.0883782, 0.128796, 54.1599 },
	{ 0.0869339, 0.0950003, 52.7253 },
}
ParticleEmitter2 "BlizParticle01" {
	ObjectId 2,
	Parent 0,
	Additive,
	static Speed -40,
	static Variation 0.02,
	static Latitude 90,
	static Gravity 0,
	static EmissionRate 8,
	static Width 4.00521,
	static Length 3.60505,
	SegmentColor {
		Color { 1, 1, 1 },
		Color { 1, 1, 1 },
		Color { 1, 1, 1 },
	},
	Alpha { 255, 255, 0 },
	ParticleScaling { 10, 10, 10 },
	LifeSpanUVAnim { 0, 0, 1 },
	DecayUVAnim { 0, 0, 1 },
	TailUVAnim { 0, 0, 1 },
	TailDecayUVAnim { 0, 0, 1 },
	Rows 1,
	Columns 1,
	TextureID 0,
	Time 0.5,
	LifeSpan 2,
	TailLength 1,
	Head,
}
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top