Modifying Hero XP bar

Sooda

Diversity enchants
Reaction score
318
Trying to hide hero XP bar, for that I decided to overwrite default textures with my modified ones, when I test in game changes doesn't apply.

There can be three reasons which I can think of:

a) My custom textures contain saving errors (Edited and saved with the Gimp)
b) My custom textures have wrong file path in World Editor's Import Manager.
c) Parts which I want to replace with custom ones can't be done.

I have read 'How to: Change the Hero XP Bar' tutorial, he uses file path:
Code:
UI\Feedback\XpBar\human-bigbar-fill.blp
Actual XpBarConsole.mdx uses file paths:
Code:
Textures\human-xpbar-border2.blp
Textures\human-statbar-color.blp
Textures\human-statbar-highlight.blp
In war3.mpq both directories UI and Textures contain same *.blp pictures for XpBarConsole model. Now changing texture named 'human-bigbar-fill.blp' which isn't used in model itself takes effect (in tutorial it works), but changing other textures doesn't work.

I'm doing something very wrong, someone who is skilled with the Gimp (or other photo editing program) could help me and create black textures for hero XP bar, I attach *.blp and *.tga versions (converted with Mago's Model Editor) of needed files below my post.

If someone else has info, ideas or tips please reply, thanks!

UPDATE:

I edited 'human-bigbar-fill.tga' in the Gimp and painted texture bright green, then saved, converted back to *.blp format and imported to map, changed file path and it worked! Because I did robust and plain editing in game hero XP bar looked black (Though in the Gimp I painted bar bright green). I can now confirm editing XP bar is possible with minimal skills like I have, but can't XP bar border really be changed? I have tried and failed, can someone else try to succeed?

For reference XpBarConsole mdl version:
Code:
// MDLFile version	Jun  6 2002 04:58:04
// Exported on Mon Aug 18 15:59:59 2008
Version {
	FormatVersion 800,
}
Model "XpBarConsole" {
	NumGeosets 3,
	NumGeosetAnims 1,
	NumBones 2,
	BlendTime 150,
	MinimumExtent { 0, 0, 0.02436 },
	MaximumExtent { 0.17776, 0.0181, 0.09074 },
	BoundsRadius 0.0953055,
}
Sequences 1 {
	Anim "Stand" {
		Interval { 633, 1633 },
	}
}
Textures 3 {
	Bitmap {
		Image "Textures\human-xpbar-border2.blp",
	}
	Bitmap {
		Image "Textures\human-statbar-color.blp",
	}
	Bitmap {
		Image "Textures\human-statbar-highlight.blp",
	}
}
Materials 3 {
	Material {
		FullResolution,
		Layer {
			FilterMode None,
			Unshaded,
			static TextureID 0,
		}
	}
	Material {
		ConstantColor,
		FullResolution,
		Layer {
			FilterMode None,
			Unshaded,
			static TextureID 1,
		}
	}
	Material {
		FullResolution,
		Layer {
			FilterMode Additive,
			Unshaded,
			static TextureID 2,
		}
	}
}
Geoset {
	Vertices 4 {
		{ 0.17776, 0.0181, 0.02436 },
		{ 0, 0.0181, 0.02436 },
		{ 0, 0, 0.02436 },
		{ 0.17776, 0, 0.02436 },
	}
	Normals 4 {
		{ 5.58828e-008, 5.96046e-008, 1 },
		{ 5.58828e-008, 5.96046e-008, 1 },
		{ 5.58828e-008, 5.96046e-008, 1 },
		{ 5.58828e-008, 5.96047e-008, 1 },
	}
	TVertices 4 {
		{ 1.00141, 0.00050211 },
		{ 0.000499576, 0.000499487 },
		{ 0.000499547, 0.986869 },
		{ 1.00141, 0.986871 },
	}
	VertexGroup {
		0,
		0,
		0,
		0,
	}
	Faces 1 6 {
		Triangles {
			{ 0, 1, 2, 2, 3, 0 },
		}
	}
	Groups 1 1 {
		Matrices { 0 },
	}
	MinimumExtent { 0, 0, 0.02436 },
	MaximumExtent { 0.17776, 0.0181, 0.02436 },
	BoundsRadius 0.0893396,
	MaterialID 0,
	SelectionGroup 0,
}
Geoset {
	Vertices 4 {
		{ 0.26708, 0.003, 0.08921 },
		{ 0.003, 0.0154, 0.08921 },
		{ 0.003, 0.003, 0.08921 },
		{ 0.26708, 0.0154, 0.08921 },
	}
	Normals 4 {
		{ 2.47644e-006, 3.86931e-006, 1 },
		{ 2.47644e-006, 3.86931e-006, 1 },
		{ 2.47644e-006, 3.86931e-006, 1 },
		{ 2.47644e-006, 3.86931e-006, 1 },
	}
	TVertices 4 {
		{ 0.000499487, 0.999497 },
		{ 0.999501, 0.000502586 },
		{ 0.999501, 0.9995 },
		{ 0.000499547, 0.000499487 },
	}
	VertexGroup {
		0,
		0,
		0,
		0,
	}
	Faces 1 6 {
		Triangles {
			{ 0, 1, 2, 1, 0, 3 },
		}
	}
	Groups 1 1 {
		Matrices { 1 },
	}
	MinimumExtent { 0.00314842, 0.003, 0.08921 },
	MaximumExtent { 0.156867, 0.0154, 0.08921 },
	BoundsRadius 0.0771091,
	MaterialID 1,
	SelectionGroup 0,
}
Geoset {
	Vertices 4 {
		{ 0.17776, 0.0181, 0.09074 },
		{ 0, 0.0181, 0.09074 },
		{ 0, 0, 0.09074 },
		{ 0.17776, 0, 0.09074 },
	}
	Normals 4 {
		{ 5.58828e-008, 5.96046e-008, 1 },
		{ 5.58828e-008, 5.96046e-008, 1 },
		{ 5.58828e-008, 5.96046e-008, 1 },
		{ 5.58828e-008, 5.96047e-008, 1 },
	}
	TVertices 4 {
		{ 0.993826, 0.00050211 },
		{ 0.000499576, 0.000499487 },
		{ 0.000499547, 0.999498 },
		{ 0.993825, 0.999501 },
	}
	VertexGroup {
		0,
		0,
		0,
		0,
	}
	Faces 1 6 {
		Triangles {
			{ 0, 1, 2, 2, 3, 0 },
		}
	}
	Groups 1 1 {
		Matrices { 0 },
	}
	MinimumExtent { 0, 0, 0.09074 },
	MaximumExtent { 0.17776, 0.0181, 0.09074 },
	BoundsRadius 0.0893396,
	MaterialID 2,
	SelectionGroup 0,
}
GeosetAnim {
	static Color { 0.513726, 0, 0.545098 },
	GeosetId 1,
}
Bone "Border" {
	GeosetId Multiple,
	GeosetAnimId None,
}
Bone "Experience Meter" {
	GeosetId 1,
	GeosetAnimId 0,
	Scaling 2 {
		Linear,
		633: { 0.0148392, 1, 1 },
		1633: { 0.64512, 1, 1 },
	}
}
PivotPoints 2 {
	{ 0.120821, 0.00905385, 0.0243728 },
	{ 0.00335515, 0.00322746, 0.0781178 },
}
 

Attachments

  • human-bigbar-fill.blp
    11.8 KB · Views: 120
  • human-bigbar-fill.tga
    32 KB · Views: 111
  • human-xpbar-border2.blp
    11.8 KB · Views: 102
  • human-xpbar-border2.tga
    32 KB · Views: 118
  • human-statbar-color.blp
    6.5 KB · Views: 104
  • human-statbar-color.tga
    16 KB · Views: 115
  • human-statbar-highlight.blp
    11.8 KB · Views: 113
  • human-statbar-highlight.tga
    32 KB · Views: 118

Sooda

Diversity enchants
Reaction score
318
Sevion, how grateful I am, your made files work flawlessly! Thank you for taking time and making these files!

Interesting is I this time used file paths which I never had used before, Idea I got from your sentence: "Use file paths he provided.".


Below attached files made by Sevion makes Hero XP bar and its border black, use file paths:
Code:
UI\Feedback\XpBar\human-xpbar-border.blp
UI\Feedback\XpBar\human-bigbar-fill.blp
 

Attachments

  • human-bigbar-fill.blp
    3.6 KB · Views: 121
  • human-xpbar-border.blp
    5.6 KB · Views: 135

Sevion

The DIY Ninja
Reaction score
413
Lol. It took me 5 minutes to color them black :p

Good luck with whatever you're using that for :D
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top