• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Shooting Ability

Status
Not open for further replies.
Level 6
Joined
Aug 19, 2007
Messages
109
In game such as Elimination Tournament and Counterstrike assault/normal there is a "shoot" ability. I have searched the Hive and can't seem to find how you do it i know there has to be triggers involved but I also want the ability to be in GUI (coz im lazy and can't read JASS) could someone please help me find an example in a map? or maybe fix how i tried doing it in my map.

In my map:
-bullet sometimes stops moving for no reason.
-bullet unit is selectable (i want to make it like a doodad, you cant select it)

Please check triggers and tell me the problem. :wthumbsup:
 

Attachments

  • LADEDAH.w3x
    29 KB · Views: 65
Level 5
Joined
Aug 16, 2007
Messages
149
I haven't looked at your triggers yet but if you add the locust ability to the bullet unit it will become unselectable. Give me a while to look over your triggers and I'll try to help further.
 
Level 5
Joined
Aug 16, 2007
Messages
149
ok I've just looked and I have no idea why that happens! It's not your triggering thats the problem. You could manually move the bullet through a periodic timer, but that in GUI would lag, so I'm sorry but I think your only real solution is JASS.
 
Level 17
Joined
Nov 26, 2007
Messages
1,964
I have a good solution, here is a projectile system developed by some guy called "Mini-Me" of my former clan cbs (I think i was kicked for in-activity, i wasnt really active :p).

Heres the link its in the site. He made it easily customizable for GUI users, where you can easily set the distance, speed, lasting time, check pathability and other things with one GUI line trigger (Custom script, very easy to configure)

Only problem you might find is that the Script uses a "Remove" unit function. And originally does not deal any damage. And i dont believe there is a GUI function with "A unit is removed" as an event. So you'll have to play around with it on that part (A suggestion, if i may, add immolation to a unit, that will cause it to kill the bullet projectile.)

http://www.clancbs.com/board/showthread.php?p=29884#post29884
 
Level 6
Joined
Aug 19, 2007
Messages
109
WOAH thank-You very much Steel_Stallion! thats just what i need!
U too bubba Ex although the website told me to put locust on the unit as well :D.

BTW, how do u delete posts? or do u "need" to delete this post? since its been answered?
 
Level 24
Joined
Nov 9, 2006
Messages
2,561
coz im lazy and can't read JASS
I wouldnt suggest starting with stuff like this if you arent good with JASS.
Stuff like this is mostly for highly skilled JASS'ers!
Btw if you want some real shit use either one of these systems: Vector System By Anitarf
Mad[lion]'s Mados (The one used in Mad Balls Arena, but alot simpler and better and advanced made)
Btw im not sure if the system by Mad on CBS is the latest version, but if you want it i suggest u send a PM to anonimes aka klauth or whats his name here on Hive (his Bnet name on europe is: Pedrokhan[SanD])
 
Status
Not open for further replies.
Top