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.
[04:15 am]
DarkenedFantasies -- you eat lots of beans
[03:46 am]
IskatuMesk -- how do i get gas
[11:43 pm]
Moose -- you don't
[10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
Please log in to shout.


Members Online: Zycorax