Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Dynamically Creating Rock Sprites Ingame
Dynamically Creating Rock Sprites Ingame
This topic is locked. You can no longer write replies here.
Dec 4 2009, 9:15 am
By: Pinky  

Dec 4 2009, 9:15 am Pinky Post #1



Yo yo wasup got another question for you all I have been tryin to figure out how Rock Sprites are created ingame, like that level of Rush in the caves with the ultralisk when you blow up the demolitions.

Right now I have some preplaced Interceptor sprites that are disabled, but I don't think you can create sprites and then disable them using triggers can you? How did RUSH do it?

Many thanks in advance.



None.

Dec 4 2009, 11:19 am NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Check for yourself.
Damn this method is so old and underused I can't remember it... :><:
I'll try to dig out a tutorial in the meantime.

EDIT:
there
Basically you disable a valkyrie (some other units work too) and make sure the player has no vision to it or at least doesn't look at it, then wait 1ms and remove the valkyrie. The rock sprite will then appear a few squares above where the valk was and can then be looked at.

Post has been edited 2 time(s), last time on Dec 4 2009, 11:41 am by NudeRaider.




Dec 4 2009, 3:21 pm Pinky Post #3



Can the rock sprites be removed later with triggers? Or are they there for the rest of the game?

If so, what triggers would I use?



None.

Dec 4 2009, 3:46 pm NudeRaider Post #4

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

They can't be removed afaik.




Dec 5 2009, 12:28 am Falkoner Post #5



There WAS another method that let you look at it, IIRC...

Yeah, found the map, looks like in the map it constantly runs the Junk Yard Dog AI, and to create the rocksprite, they create a new turret, wait for 84 milliseconds(or less), during which I assume the AI affects the turret once, then remove it immediately after. I'll post the map below.

Attachments:
Create_Rocksprite.scx
Hits: 8 Size: 26.3kb



None.

Dec 5 2009, 1:55 am NudeRaider Post #6

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Yes, this is method 2 described in the tutorial I linked to. And if the junkyard dog ai doesn't cause problems in your map it's actually preferable.




Dec 5 2009, 6:21 pm stickynote Post #7



But withe the valkyrie, you can quickly create a randomized dungeon at the beginning of the game and place buildings underneath it everywhere.



None.

Dec 7 2009, 7:05 pm Pinky Post #8



Thanks can lock now plz.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:10 pm]
Ultraviolet -- sweet summer child
[2026-6-26. : 10:31 am]
NudeRaider -- blessed innocent soul knows nothing of the strife we had before EUDs were discovered :teehee:
[2026-6-23. : 3:29 am]
DarkenedFantasies -- Probably just didn't care. For example, at some point before release, they've updated the graphics of some of the Protoss buildings (Forge, CyberCore, Citadel, Observatory, Arbiter Tribunal), but instead of properly re-rendering them with edited 3D models, they did crappy copy-paste jobs on the rendered graphics.
[2026-6-22. : 8:35 pm]
Ultraviolet -- :wob:
[2026-6-21. : 11:38 pm]
Symmetry -- :wob:
[2026-6-21. : 4:56 am]
Ultraviolet -- I suppose we'll likely never know, but my guess would be that they already saw it operating successfully and there was no monetary incentive to finish the original work. And the dev cycle in old school Blizzard was so hectic, it's possible it just got forgotten about after the original game got released. Plus there's an element of existing MPQ files that were packaged with the original discs becoming outdated if they updated it. And it's not like they remade the original MPQs, they just made new ones for BW specifically
[2026-6-21. : 4:26 am]
Oh_Man -- so that makes me think maybe the theory they are unfinished is not true and its a deliberate design decision, coz why not finish them wen ur making brood war?
[2026-6-21. : 4:25 am]
Oh_Man -- the thing is thos buildings are from classic. that means they went ahead and made brood war without ever finishing the 'unfinished' buildings
[2026-6-20. : 6:15 pm]
Ultraviolet -- Yeah he's talked about a lot of that stuff in his casts before. It seems plausible. Especially knowing how Blizzard of yesteryear operated.
[2026-6-20. : 3:47 pm]
NudeRaider -- to clarify: couldn't recall the behavior for every single Protoss building but I was aware the disparity exists.
Please log in to shout.


Members Online: NudeRaider, Roy