Stones (Weapon)

MissKerrigan

Active Member
Reaction score
23
Hello guys,

I gave my 'earth tower' a weapon which is called 'Stones'

- I am using the photon cannonballs and set the color of this to brown, the tower is now pretending to fire 'Stones', this works well till now!

- I set the model/actor name of the cannonballs to 'Big Stones'

- I duplicated the big stones model/actor and called it 'Small Stones' and scaled this to 50% of the big stones

- I duplicated the big stones model/actor again and called it 'mini stones' and scaled this to 25% of the big stones

- now when the big stones (weapon) impact the creeps, there should be created 4 small stones when the big stone explodes (I tried this by triggers but it's not working!)

- if there are no other creeps nearby, the 4 small stones must just fall on the ground somewhere nearby and disappear

- where can I program that when the big stone hits a creep, it splashes into 4 'small stones'?

- I want use the same impact (explosion) for the small stones, I want to use 'mini stones' for this one

- when a big stone impacts a creep, it always must break into 4 small stones

- only ONE small stone may target ONE other creep, this means if a big stone hits a creep and there is only one creep nearby this creep, only one stone should move in it's direction and hits this creep, the other 3 small stones should just fall onto the ground and disappear after

- if there are 10 creeps nearby, then the 4 small stones must pick a random target

- when a small stone hits a creep, it must break into 4 'mini stones', the mini stones are not going to hit other creeps, they just serve as animation of the 'small_stone_explosion' and must disappear nearby the explosion

(the thing I try to create, is it the same like the 'mutalisk weapon'?)


I really do like this element of my tower defense but I just don't know how to create it
It would be VERY nice if somebody can help me with this

I hope I explained all things well

MissKerrigan
 
Yes I would be basing it off the Mutalisk weapon. When your "Big Stone" weapon fires, make the Impact Effect a new effect of the type Set. In this set effect, you need to have your damage effect for the "Big Stone" and a search effect that finds at maximum four targets and executes a Launch Effect to launch the "Small Stone" weapon.

The only part that I am unsure about is trying to create stones that just fall onto the ground when there are not enough nearby targets. You might be able to do it by using a launch missile effect with the target just being a small offset from the unit, but you would still need a way of figuring out how many of these missiles to create. I might think about it some more and see if I can come up with a solution for this.
 
thx dave but how do I create the 4 launch missile effects when the big stone impacts a creep? (same for the mini stones)
 
I'll create a test map and upload it as soon as I get a chance.
 
Ok so I've been working on this for a while now, and am still yet to get this working 100%. I have however managed to successfully create a weapon which fires a Big Stone at a target, splits into up to 4 Small Stones which target nearby enemies and then once it hits these targets, splits into 4 Tiny Stones which land near their target unit. What this doesn't do is create Small Stones which just fall on the ground for every Small stone that is not aimed at a target.

I have also been able to create a weapon which fires a Big Stone at a target, then if there is no targets nearby, splits into 4 Small Stones which fall onto the ground. If there is a nearby target, then it a fires 1 Small Stone at 1 nearby target and then splits into 4 Tiny Stones which fall on the ground near this target.

What I am struggling to do is to get the second weapon mentioned above to fire up to 4 small stones at 4 targets (I can currently only get it to work for 1). I think I have a method which might get this to work with 4 small stones, but it means I am going to have to create about 40 effects to get it to work correctly. What I want to know is whether you want this require creating 4o effects? Does it need to work exactly as you said in your first post? Or can we change it slightly (such as always having 4 Small Stones fall onto the ground after the Big Stone hits its target regardless of how many Small Stones go after a target)?
 
it's no problem if it's gonna changes slightly, but do you mean that all 4 small stones will go to 1 unit if it's nearby an exploding big stone? (also if there are 2 units nearby, the small stones pick 1 of this 2 and go to 1 creep all 4?
 
I way I think I'll do it is have Big stone explode into up to four Small Stones which will target nearby units (four different targets) and explode into 4 Small Stones which fall onto the ground nearby as well. So in all, the Big Stone which break up into between 4 and 8 small stones, depending on how many targets are nearby. The small stones that hit targets will then also break up into 4 tiny stones.

I still need some more time to iron out the bugs, but I should hopefully be able to post the test map this weekend/early next week.
 
do you mean that there actually coming 8 small stones from a big stone, but you just see it like there are 4?
 
You will see what I mean when you view the test map. I have give the stones weapon to the photon cannon. Just target the weapon at the zerglings.

I have slowed down the movement speed of the stones so you can easily see them move between targets. You will probably want to speed them up and give them an arc motion (I recommend something like the Terran Molotov Cocktail weapon) but I'll let you sort that out.

Also I haven't added any sound or visual effects because I wasn't sure what you wanted.

Let me know if you need any help changing stuff or how exactly it works.
 

Attachments

  • StonesWeapon.zip
    9.7 KB · Views: 163
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good
  • The Helper The Helper:
    I would like to see it again like Ghan had it the first time with pagination though - without the pagination that view will not work but with pagination it just might...
  • The Helper The Helper:
    This drink recipe I have had more than a few times back in the day! Mind Eraser https://www.thehelper.net/threads/cocktail-mind-eraser.194720/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top