Bump, 50 views and no comments?
Resources > Trigger Libraries & Scripts
Little bonus: Event that WORKS with unit's footprint...
- 8 posts
-
tatatatate Author
- Battle.net
- tatatatate
- #838 NA
- Join date
- Apr 02, 2012
- Location
- Canada
- Reputation
- 2
- Posts
- 52
- Projects
- 1
- Last login
- May 17, 2013
-
Ahli634 Regular Shmoe
- Battle.net
- Ahli
- #634 EU
- Join date
- Apr 04, 2011
- Location
- Germany
- Reputation
- 58
- Posts
- 814
- Last login
- May 18, 2013
Quote from tatatatate: Go
Bump, 50 views and no comments?
Well, I'm confused what you are doing and that's not enough to make me download and look at the map.
Images that show which problem it can solve might be helpful to make people use this.
-
Zolden Author
- Battle.net
- Zolden
- #929 EU
- Join date
- Apr 13, 2011
- Location
- Russian Federation
- Reputation
- 69
- Posts
- 1,068
- Projects
- 4
- Last login
- May 19, 2013
@tatatatate: Go
Are you making Dune 2?
-
tatatatate Author
- Battle.net
- tatatatate
- #838 NA
- Join date
- Apr 02, 2012
- Location
- Canada
- Reputation
- 2
- Posts
- 52
- Projects
- 1
- Last login
- May 17, 2013
-
Zolden Author
- Battle.net
- Zolden
- #929 EU
- Join date
- Apr 13, 2011
- Location
- Russian Federation
- Reputation
- 69
- Posts
- 1,068
- Projects
- 4
- Last login
- May 19, 2013
@tatatatate: Go
Is it the project u're working on and plan to release one day or you deserted it and jsut sharing workarounds?
Do you need that NOD laser tower model? Or sonic tank projectile?
Last edited Jan 08, 2013 by Zolden -
tatatatate Author
- Battle.net
- tatatatate
- #838 NA
- Join date
- Apr 02, 2012
- Location
- Canada
- Reputation
- 2
- Posts
- 52
- Projects
- 1
- Last login
- May 17, 2013
-
Zolden Author
- Battle.net
- Zolden
- #929 EU
- Join date
- Apr 13, 2011
- Location
- Russian Federation
- Reputation
- 69
- Posts
- 1,068
- Projects
- 4
- Last login
- May 19, 2013
Sure I have ideas, it was and probably is within my plans to create an rts, strongly based on Dune II. Sonic projectile is a model which will look like dune2 sonic tank attack if you use it as its missile model. I made it for sonic turret in my TD map.
NOD tower looks like this, and in my td it attacks with a red ray, so you could do the same, just for nostalgia purposes.

Also I have a model of deviator/launcher, but it's actually a turret.

- 8 posts

tatatatate AuthorI finally decided to make a bonus library about my first problem in the editor: make an event or an action that works with the unit's footprint. I made this little map to show you the workaround needed to make this works. Let's get started!
How your map works?
In my scenario, worms spawn near your buildings and you must defend them by creating a concrete slab. This slab have something particular: It blocks incoming worms with pathing, but you can put your units and buildings over it. If you have tested my map, you can see that my slab have a footprint of 1X1, so a barrack will need 9 slabs to be protected and the startport will need 5.
What does exactly the slab?
When a worm explodes, my trigger creates a region around this unit. In first, this trigger checks if there is concrete slabs inside it and if it return yes, it creates a negative square region that is the size of 1 slab.
How actually works all the building's action?
As there is no actions about unit's footprint, I need to create a new action definition that set points around my building. For example, my starport have a footprint of 5 cases in a star shape. So when this action fires, it checks if there is a slab at coordinates x+1, x-1, y+1, y-1 and at point 0,0. If 1 one these point is in the region, it will kill the starport.
Why don't you use an effect to set this?
Effects can work with the radius of a unit, so with this method I will not get the exact footprint, but only a circle of radius 1.5, as example. Maybe with my barracks this could works, but with my starport it will surely fail.
This little library can get you out of trouble when you need specific actions about building's footprint. If you got new ideas, this is the place to share it!
P.S: I suggest you to go to my other libraries to leave comments and suggestions and I have finally done a wish list on the official forum of Starcraft 2. My only demand is that people who see, like and use my libraries could go on the battle.net forum and like my comments about the improvement for the editor. It's not an obligation, but It would me make very happy! Here is the link for the forum : http://us.battle.net/sc2/en/forum/topic/6307501153?page=6#110