HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Can one add 2D SPRITES in wc3?

10-14-2006, 06:04 AM#1
shadowange1
I was doing some programming ( not wc3 related) when i suddenly thought can a 2d sprite be made in wc3.
I tried looking through option in the editor and searching many sites and nothing yet.
So i post this hear in hope someone else knows if this can be done or not

BTW a 2d sprite basically a picture on the screen that doesn't move unless you tell it to. much like an interface when playing a game.

Any help or theories appreciated and thanks.
10-14-2006, 08:27 AM#2
blu_da_noob
No. (Sprites were used for SC and D2 afaik, but you can't use them in WC3)
10-14-2006, 09:12 AM#3
abriko
you can try use Sprite by using a plan, full billboarded, and sequence of textures. I dont know the result ^^ ...
10-14-2006, 08:49 PM#4
shadowange1
Well to clarify what i meant.
The sprites i am talking about are like the ones when the hero is dead or alive on the top left of the screen.
Can i make those and place them anywhere around the screen.
Not just that texture but any one i want or make.
10-14-2006, 09:11 PM#5
Daelin
Yes, there is an image type of object available even in GUI. You may attempt to use that but it will work based on the map and its coordinates, and not on the screen.

~Daelin
10-14-2006, 09:18 PM#6
Taur
images will only work if the camera is perpendicular to the ground, if you do a billboarded model and use animated textures (like the water elemental) you have to move it to the proper offset. Or you could use a constantly flashing fade filter thought the file size would be enormous.
10-15-2006, 02:34 AM#7
Rinpun
Billboarded model would probably be best, since it directly faces the camera and all. Given a proper Z offset, of course :)

If you used the available image, it would slant with the map itself, as far as I know. As mentioned, only a perfectly perpendicular camera would show the image directly flat and without slant.
10-15-2006, 09:16 AM#8
The)TideHunter(
Plus, if you move the camera, the image is going to stay on the ground, your going to have to constantly move it too.
10-15-2006, 09:47 AM#9
abriko
Quote:
Originally Posted by shadowange1
Well to clarify what i meant.
The sprites i am talking about are like the ones when the hero is dead or alive on the top left of the screen.
Can i make those and place them anywhere around the screen.
Not just that texture but any one i want or make.

Hey everybody .. ? What are you talking about ? ... a sprite for a unit ? i'm not sure it's what he wants... read it one more time...
About this, shadowange1, and if it's a permanent sprite, i think you have to change mdx model of the UI console.. so you can add all you want where you want.
10-15-2006, 12:24 PM#10
shadowange1
Yeah what i want is like something like with out changing the interface adding something to the interface.
like for ex. adding a bar on the bottem middle of the screen that is equal to the bar that is under ur hero when u play the game.
I am not talking about using a unit and moving it and stuff like that.

A 2D Sprite ex would be the hero picture on the top left of the screen when you have a hero. something like that but that i can customize
10-15-2006, 08:31 PM#11
abriko
..you have to change .mdx of console...
10-15-2006, 09:45 PM#12
shadowange1
is there any other way besides changing the mdx?
10-16-2006, 09:16 AM#13
abriko
u mean.. like a dummie tips ?......
... no, you'll have to learn to do it.
10-16-2006, 03:18 PM#14
PitzerMike
There's a way if you don't plan to use multiboards in your map.