Bullets like These

PureOwnage

Minecraft Server OP, Inactive.
I would love to make bullets like in this video.

[YOUTUBE]
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/p5-D0_1_rRU&hl=en_US&fs=1&color1=0x006699&color2=0x54abd6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/p5-D0_1_rRU&hl=en_US&fs=1&color1=0x006699&color2=0x54abd6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>
[/YOUTUBE]

However, I don't know where to get started.. If you would help me, this would be helpful in two of my projects.. The problem is that in the video, you click a point and the marine shoots there. But if it misses, it explodes, if it doesn't it collides with the unit. I can't get that too work. Any help?
 

Cookiemaster

New Member
To do this, you would obviously need to implement some sort of hit detection.

As long as there are a low amount of enemies, you could do this by checking if any enemy unit is in x range of any bullet every 1/x seconds, and add something to see how much lifetime the bullet has left.

If you start to make things with a lot of objects, you will have to implement a sort of hit detection, heavily optimized, to prevent lagg.

Like I have in my map: http://www.thehelper.net/forums/showthread.php?t=149665
Instead of checking the distance between every unit and your unit, I only check the units the distance of the units close to me.
I achieve this by "making" a grid, and giving a list of units to every single square. Unlike the hit detection and movement, the list is not updated every 1/32th second, but every 1/8th second to reduce lagg. (GREATLY)
Instead of checking all units for collision, I check the units from my grid location +1~-1 on both x and y axis, which cuts away checking another possibly 90 units for checking.
 

Renendaru

(Evol)ution is nothing without love.
He used the baneling effect to damage. o.o
 

BlowingKush

I hit the blunt but the blunt hit me.
Jesus Christ. This is the best custom game ive played so far. Awesome.


Once again, to bad Blizzard fucked us over and won't allow mouse support to move a unit (only a camera).

WSAD is only fun for so long
 

Renendaru

(Evol)ution is nothing without love.
Once again, to bad Blizzard fucked us over and won't allow mouse support to move a unit (only a camera).

WSAD is only fun for so long
This is the beta, calm down please. And, have you ever seen a game in its closed beta, having full functionality? If you have, that game does not evolve, therefore does not need to be brought up.
 

BlowingKush

I hit the blunt but the blunt hit me.
It's hard not to get angry when the obvious is unimplemented.

i want the X,Y coordinates of the damn mouse cursor.

Please.
 

PureOwnage

Minecraft Server OP, Inactive.
It's hard not to get angry when the obvious is unimplemented.

i want the X,Y coordinates of the damn mouse cursor.

Please.
I agree, Warcraft 3 could do that with trackables but SC2 can't? Yeah because we're going to click everytime we need to know the X and Y of the mouse.
 

Renendaru

(Evol)ution is nothing without love.
If you had paid attention in the editor preview, in the Starcraft: Ghost game, he said they'd add support for aiming with the mouse. It's obvious what that means, mouse tracking will be here.
 

BlowingKush

I hit the blunt but the blunt hit me.
I do not like to pay attention.

I would rather rage over something that has already been addressed.
 

chanta45

New Member
Personally I think we were lucky to get the editor with beta ^_^ They did say they were adding mouselook support, I believe the editor will evolve just as much as the regular game throughout the rest of beta.

I'd say a hearty amount of people are getting beta just for custom games/editor, hopefully they know their audience and will cater to it.
 

sLsIDK

New Member
Personally I think we were lucky to get the editor with beta ^_^ They did say they were adding mouselook support, I believe the editor will evolve just as much as the regular game throughout the rest of beta.

I'd say a hearty amount of people are getting beta just for custom games/editor, hopefully they know their audience and will cater to it.
Yep, I'm getting SC2 just for the editor, I even got the beta from a friend because I heard the editor would be coming out in the beta.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • tom_mai78101 tom_mai78101:
    Would like to get some annual forum statistics report.
  • The Helper The Helper:
    there are stats in the xenforo forum admin section and we have matomo stats we started collecting beginning of the year so we will not have annual on that until next year
  • The Helper The Helper:
    I thought you had keys to the bathroom Tom? Ghan does Tom have access to the stats thread in the bathroom
  • The Helper The Helper:
    since I started jacking with the bots on the site we doubled our page views on the site in a week lol
  • The Helper The Helper:
    I have been having lots of fun
  • The Helper The Helper:
    we have had like 6000 views of the American Airlines economy class thread in the last week
  • The Helper The Helper:
    I ought to stick a travel affiliate link or something on that page to try and monetize that they are just going there and leaving it might even be bots I am not sure
  • The Helper The Helper:
    I just got into it with the Atari VCS Facebook Moderator I started trolling him and almost got banned
  • The Helper The Helper:
    They deleted one of my posts one time so I was trolling him on a help post I put up because I am evil I guess and bored and the guy handled it well I loved his attitude Atari has a good social media presence even if they do not have many games.
  • The Helper The Helper:
    The French Atari they call them even though they are like totally based in America they just have French Money coming in. Gotta love it
  • Ghan Ghan:
    Microsoft buying Activision Blizzard holy crap!
  • The Helper The Helper:
    I know right holy cow
  • Accname Accname:
    Thats not going to save it.
  • The Helper The Helper:
    It might
  • The Helper The Helper:
    They are going to use alot of that IP in the Metaverse
  • The Helper The Helper:
    I found a new section of the stats that is freaking interesting!
  • The Helper The Helper:
    oh yeah this is what I was looking for good job matomo! These are some sweet stats I am learning the interface on it too!
  • The Helper The Helper:
    If anyone ever asks later how I found out about it was watching the site bots but not watching what they were doing but asking myself why they were here?
  • The Helper The Helper:
    there must be a reason and ok that is it
  • The Helper The Helper:
    the past and the future all come together into one
  • The Helper The Helper:
    the search engines are what built thehelper.net the search engines will make it big again maybe
  • The Helper The Helper:
    the real question is are 5 million links better than 60 real good links?
  • The Helper The Helper:
    the answer is 60 lol
  • The Helper The Helper:
    unless you put 100k links on it lol then you get something

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome
    Top