Staredit Network

Staredit Network -> UMS Assistance -> how do i use sprites?
Report, edit, etc...Posted by axblader on 2005-01-19 at 18:11:52
hm...i put the sprite on. then i do properties and set it to draw as sprite. then it changes to a weird statue. i changed the number and got dif units.
but originally i put a terran marine.
HUH?

and how do they make doodads like the green-computer stuff on the walls. i saw it in one of the bounds. made the map on the mini map green.

Report, edit, etc...Posted by DT_Battlekruser on 2005-01-19 at 18:53:21
QUOTE
hm...i put the sprite on. then i do properties and set it to draw as sprite. then it changes to a weird statue. i changed the number and got dif units.
but originally i put a terran marine.


HUH? you did what confused.gif
Report, edit, etc...Posted by RexyRex on 2005-01-19 at 19:13:44
As for the wall thing it's just one of the many sprites, look through them. Then changing that number is changing the sprite entirely. It's what identifies what sprite it is. Such as 0 = Marine 1 = Firebat (I think) etc. And the draw as sprite function is like switching between the unit and sprite modes..kinda..
Report, edit, etc...Posted by axblader on 2005-01-20 at 17:57:40
oh... i figured that out now. though sometimes the sprite doesnt show up?

aw darn...i have to go redo half of my map cause xtra wont read forge data ranting.gif
anyways...it was only the terrain so i didnt lose any triggers.
i still dotn get sprites but il probably learn..after a while...
Report, edit, etc...Posted by DT_Battlekruser on 2005-01-20 at 18:12:56
I still don't get what your problem was. If you ever post for help again, please be more specific and easier to understand.
Report, edit, etc...Posted by Heimdal on 2005-01-20 at 21:08:42
Starforge has two sprite modes within the sprite layer: unit and sprite. You can change between modes by clicking the button just above the treeview.

Basically what it comes down to is that sprites placed in unit mode act like units (you can click them, order them, etc) and sprites in sprite mode act like sprites (they can't be interacted with). Changing the "Draw as sprite" flag in the properties window switches a sprite between the two modes, but it will keep its ID. In unit mode the ID is referenced from units.dat, and in sprite mode it is referenced from sprites.dat. For example, ID 0 will be a marine in unit mode and an ashworld doodad in sprite mode.

Now, sprites that are placed in unit mode act mostly like things you place in the units layer. There are some big exceptions though:

Start locations and map revealers become visible (and clickable).
Items placed for player 12 will remain on the map even in melee mode.
Something with double-clicking units, I forget.
Something else with HP, which I also forget.
etc.

In addition, if you place a terran building in unit mode of the sprite layer and check the "disabled" flag, it will appear half-built in-game. The disabled flag also affects traps (can/can't attack) and doors (open/closed). Anything else will probably crash SC, though you're welcome to try.
Report, edit, etc...Posted by Staredit.Net Essence on 2005-01-21 at 22:46:34
I think the thing with HP is it keeps the default HP, so if you change a Marines HP to 4 in the Unit and Hero Settings, it wil have 40/4 HP.

QUOTE(axblader)
aw darn...i have to go redo half of my map cause xtra wont read forge data


X-tra and stuff don't support sprites, so if you have sprites in a map you are editing in X-tra, have multiple copies of the map, one with sprites. Then, import everything into the one with sprites using the importer found here). I find it always crashes StarCraft when I import the sprites into the map, =\ Anyways, you can also place sprites when you are done editing the map in X-tra.
Next Page (1)