Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Making a "Bullet"
Making a "Bullet"
Jul 6 2009, 7:12 pm
By: LolCakeLazors  

Jul 6 2009, 7:12 pm LolCakeLazors Post #1



Yes, I'm a noob but I'm good at Warcraft map making.

So.. is there anyway to make a bullet?
This is what I need:
1. Can you detect where you casted a spell or ordered a unit to attack?
2. How would you do it so that if a unit collides with the "bullet" it dies?

Thanks.



None.

Jul 6 2009, 7:18 pm Kaias Post #2



Quote from LolCakeLazors
Yes, I'm a noob but I'm good at Warcraft map making.

So.. is there anyway to make a bullet?
This is what I need:
1. Can you detect where you casted a spell or ordered a unit to attack?
2. How would you do it so that if a unit collides with the "bullet" it dies?

Thanks.
1. No
2. The answer to that is complicated. You could only make a bullet virtually and represent it with a unit or an effect

If you're interested in putting some effort into higher level techniques I can try to teach you them. I suggest taking a look at the map, Elementa.



None.

Jul 6 2009, 7:25 pm Ashamed Post #3

Hear me Raor!!

The best way is to make a unit=bullet and then center a location over the certain unit and then make a trigger when player 1 brings anyunit to bullet location kill player 1 unit and bullet.



None.

Jul 6 2009, 7:33 pm LolCakeLazors Post #4



@Kaias: Couldn't Dark Swarm detection work?
@Ashamed: I don' think I can find a disabled flying unit that goes fast.



None.

Jul 6 2009, 7:46 pm Ashamed Post #5

Hear me Raor!!

Dark swarm would work as the detection setting, as of fast units its kinda hard to make bullets in sc! >< I would say use a scorge!



None.

Jul 6 2009, 7:51 pm JaFF Post #6



One option is using dark swarm to mark the target and a scourge or interceptor as a bullet. Dark swarm can be detected as a ragular unit, just remember that it is always owned by Player 12 (Neutral).



None.

Jul 6 2009, 8:17 pm LolCakeLazors Post #7



I have a problem though, I want the unit that walks around and stuff to be a Ghost..



None.

Jul 6 2009, 8:40 pm crutex Post #8



Quote from LolCakeLazors
I have a problem though, I want the unit that walks around and stuff to be a Ghost..
they have their own guns :lol:



None.

Jul 6 2009, 8:42 pm JaFF Post #9



Quote from crutex
Quote from LolCakeLazors
I have a problem though, I want the unit that walks around and stuff to be a Ghost..
they have their own guns :lol:
Even though this probably was intended as a joke only, it is a wise choice - keep it simple. There are no simple solutions to your problem if you want your unit to be a ghost.



None.

Jul 6 2009, 8:48 pm Ashamed Post #10

Hear me Raor!!

Quote
Quote from crutex
Quote from LolCakeLazors
I have a problem though, I want the unit that walks around and stuff to be a Ghost..they have their own guns Even though this probably was intended as a joke only, it is a wise choice - keep it simple. There are no simple solutions to your problem if you want your unit to be a ghost.

That might be the way to go unless you want to make a direction grid= which way the unit points and then like a hotkey thing that always sends the scorge the way the unit is pointing, i did a system like that once. This is very hard though :) but i did make a map on the direction grid which was quite simple but its only for up down left and right diagnals work but not well



None.

Jul 6 2009, 8:48 pm crutex Post #11



Quote from JaFF
Quote from crutex
Quote from LolCakeLazors
I have a problem though, I want the unit that walks around and stuff to be a Ghost..
they have their own guns :lol:
Even though this probably was intended as a joke only, it is a wise choice - keep it simple. There are no simple solutions to your problem if you want your unit to be a ghost.
It wasn't a joke, I meant it as you interpreted. He hasn't given enough specification as to why he doesn't just keep the default unit attack action.



None.

Jul 6 2009, 9:06 pm Kaias Post #12



I also suggest checking out Waypoint Casting- to see if it fits your needs.



None.

Jul 6 2009, 9:17 pm Jack Post #13

>be faceless void >mfw I have no face

You can use EUDs to detect when a unit fires. Halloween Priest uses that for it's ammo system.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Jul 6 2009, 11:48 pm rockz Post #14

ᴄʜᴇᴇsᴇ ɪᴛ!

EUDs are way too hard to get right, but probably the best way. You have to detect cooldown of the unit, and if it is greater than 0, then you started the attack animation. If you use a slow attacking unit like marine or ghost, you can then stop the animation and prevent it from actually shooting. I highly recommend you NOT try this, as it will more than likely not get done, due to the great difficulty involved in EUDs.

An alternative is "shooter" where you use the ghost to attack an observer you control. When the observer dies, anything over that point can be detected, so you aim, then shoot. It's pretty userunfriendly. The way to detect when a bullet collides (or observer in this case) is to center a location over the observer always, and when you bring another unit to that location, you can destroy it, or whatever.

Check out RUSH in the DLDB for another shooter system.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jul 7 2009, 12:50 am LolCakeLazors Post #15



How do I supposedly move the observer?



None.

Jul 7 2009, 12:58 am Jack Post #16

>be faceless void >mfw I have no face

Left click using your mouse on the observer. Then move the cursor to where you want to shoot. Then right click using your mouse and the observer will go there.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Jul 7 2009, 1:04 am Neki Post #17



or you could just move the observer over stuff and it would kill it. :P



None.

Jul 7 2009, 1:08 am rockz Post #18

ᴄʜᴇᴇsᴇ ɪᴛ!

you could theoretically make an observer over every unit in range, then have them constantly ordered to the units position. Sort of like a "lock on" idea.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jul 7 2009, 1:11 am Jack Post #19

>be faceless void >mfw I have no face

Seriously though we need to know more about what kind of bullet you are trying tn do, or why you want a bullet.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Jul 7 2009, 2:40 am LolCakeLazors Post #20



Ok.
Player clicks on an area
Bullet goes there. If a unit is in the way, kill it.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-6-06. : 5:20 pm]
Ultraviolet -- I was kinda thinking something along these lines
[2024-6-06. : 2:23 pm]
NudeRaider -- I'll play the shadow out of you!
[2024-6-06. : 2:20 pm]
Vrael -- ooooo darker baby darker
[2024-6-06. : 2:20 pm]
Vrael -- yeah make it dark
[2024-6-06. : 2:20 pm]
Vrael -- ohhh yeah cast ur shadow right on my light bits
[2024-6-06. : 7:56 am]
Oh_Man -- It's nvidia shadowplay come on people!! get ur minds out of the gutter and join me in utopia
[2024-6-05. : 7:04 pm]
Ultraviolet -- NudeRaider Am I the only sick fuck who heard shadow play and started thinking what weird sex stuff it might be? :P
[2024-6-05. : 7:01 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol my shadowplay seems to think starcraft is diablo 4 now; i wonder if this is coz i had diablo 4 open the toher day
terrible game
[2024-6-05. : 12:47 pm]
Oh_Man -- lol my shadowplay seems to think starcraft is diablo 4 now; i wonder if this is coz i had diablo 4 open the toher day
Please log in to shout.


Members Online: Oh_Man