I have not a clue I am sorry for asking so many questions but I might need to know to enhance the game play of my map.
A sprite is a either in Starforge as a Special Unit, that does stuff to tweak a map, or it is aka a Doodad
A sprite has the appearance of a unit, building, doodad... etc. But it has no pshysical properties like the 70% chance to miss when fireing at units under doodads. Sprites are simply images.
I'm confused... Are these determinating the dimention of units?
Like, Marines = 1 sprite, Zealots = 2 and goons = 3? Or it's purely for graphical purposes?
Let me make it simpler.
A sprite is the graphic that a unit uses.
Since a sprite is not the actual unit it will not have any properties like the real thing in the game.
Each unit has it's own sprite and each sprite has it's own code.
EX:(These are not actual values)
Marine:
Sprite = 01
Unit # = 01
The marine you see in a game combines the 01 sprite and the properties of unit 01.
The sprite is simply the picture without the Unit # = 01.
This gives me an idea: If you could somehow mix the sprites with the unit # we could have flying marines and stuff.
Some units do use multiple sprites. It has nothing to with dimension. There are unit-sprites and pure-sprites. The pure ones are the ones that are only graphical.
Siege Tank
Goliath
These both have two sprites for the unit;
One for its top:
(Evidence by the Tank changing into its different forms, Blizzard only added it as two units because of the effects on the unit, but we won't go there)
One for its bottom:
(Goliath firing and moving, notice how it goes one direction and shoots another, thats the sprites moving in different directions bringing up different images of the main Goliath)
Most others have one; however some get used now and then, like the extra bits on the building for its lift off and setting down are sprites.
QUOTE
This gives me an idea: If you could somehow mix the sprites with the unit # we could have flying marines and stuff.
--------------------
Thats what modding the .DAT does....
isnt a sprite a picture..or maybe a frame...all 2D objects in StarCraft (which is basically everything) has sprites...
Yes that is correct, though sprite can be used for interaction in forms, such as Doodads giving cover and the obvious use of units...Terrain doesn't really count, for obvious reasons, much like doodads in Terrain format...
QUOTE
isnt a sprite a picture..or maybe a frame...all 2D objects in StarCraft (which is basically everything) has sprites...
Geeneric definition of Sprite:
QUOTE
n.
1. A small or elusive supernatural being; an elf or pixie.
2. An elflike person.
3. A specter or ghost.
4. Archaic. A soul.
5. Meteorology. A large, dim, red flash that appears above active thunderstorms in conjunction with lightning.
6. Programming. A separate image refrenced by a game engine to be used as an in-game image.
Will it work if say you make a Disabled?? Marine sprite provide cover. Does it actually do it without crashing or doing nothing. That would be so cool if it does, make mapping a lot eaiser in RPGs where people learn the abilities to dodge attacks.
Ok i understand what is a sprite
but i don'T see how it can be usefull... How come image with proprety would be less usefull than only image??
That didn't make sense.
Also, the Missile Turret uses 2 sprites.
How can it be useful?
Well, placing pure sprites allows you to create cool graphical effects.
Placing unit-tied sprites allows you to make disabled units with different effects than trigger-disabled.