HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Painting the terrain with "boundary"

03-23-2008, 04:25 PM#1
darkwulfv
Ok, my map currently has just over 9000 doodads (no joke). About 7500 of those doodads are trees. 25% of the map will never ever be graced by an eye or unit, so there's no need for those trees. The problem is, some of the heroes in my map can blink (or something similar), so they could potentially blink into no-man's land, which looks unprofessional.

I then realized you could paint map boundary, and I wanted to try that. First, though, I'm wondering if painted map boundary works like the map boundary created by the map itself (along the edges).

Questions:
-If a unit blinks into it, will the game crash? (Or will the unit end up along the edge of the boundary)
-Does it make the game crash if a unit (like a dummy unit) is created there?
-Does it crash if a unit is moved there (via SetUnitX/Y or SetUnitPosition, etc.)?
-Would it even be possible for a unit to blink near there? (Since the trees should block most sight anyways, and I'm fairly sure you need to have vision or at least previously seen an area before you can blink there; I might be wrong though.

The chances of someone deciding to blink off into nowhere is slim to none, but I want to be sure. Thanks for your help!

PS: For some reason I feel like I've asked this before, but a search didn't bring up any results I needed.
03-23-2008, 04:43 PM#2
Rao Dao Zao
Boundary is just like an unflyable, unwalkable terrain tile -- destructible 'bridges & ramps' will override its pathing fine and allow units to wander inside, so I'll assume that forcing things into it as you would with conventionally unpathable areas won't cause any problems.
03-23-2008, 04:48 PM#3
Salbrismind
Damn that's a good idea, in my maps final version I will likely have that many trees, a lot being on the edge of the map.

I would think it not be a problem as long as you make it impossible to get within about 1000 of the edge. Make sure that the trees are closely packed as not to allow that.
03-23-2008, 05:19 PM#4
darkwulfv
They are; very rarely can a unit get in there, and if they do they don't get very far.
Thanks RDZ, that's helpful. I can easily eliminate 1000+ trees now.
03-23-2008, 08:14 PM#5
Furion
Just something somebody told me that may help you:

If you are using many trees just to take up space in a forest setting where you don't want people to go, you may want to increase their pathing size so you don't have to place as many of them to block the space.
03-23-2008, 08:44 PM#6
darkwulfv
Oooh, I like that. I'll do that right away to make sure nobody slips through the cracks.
03-23-2008, 09:48 PM#7
Nuclear Arbitor
if they can chop watch out for that.
03-23-2008, 10:45 PM#8
darkwulfv
They can, but trees grow right back about 2 seconds later. (There's no lumber harvesting)

EDIT: I'm happy to announce this method cut me back 2000 doodads.
03-24-2008, 12:47 AM#9
Gorman
A note about the boundary, if a unit is flying (maybe hover aswell) and has blink it can blink in there, and fly around.

And the game will not crash if a unit gets in there...
03-24-2008, 12:51 AM#10
darkwulfv
Well there aren't any flying units, especially none with blink.
03-24-2008, 07:33 AM#11
Gorman
supprisingly there is one in Enfos, so id thought id mention it =)
03-24-2008, 02:33 PM#12
darkwulfv
That's.... interesting. A flying unit with blink/ What point is there in that? Wasn't blink originally intended for entering/escaping combat or getting to unreachable areas.... And can't flying units do that with ease already?
03-24-2008, 11:33 PM#13
Nuclear Arbitor
a flying unit that doesn't like to stay one one place very long and needs to be microed? lol, it would seem to defeat the point.
03-24-2008, 11:59 PM#14
Gorman
Originaly intended? well i dont think they are using blizzards intentions.
well flying units block path for each other right? (idk i forget)
but its just in a dummy ability, and one of the sideffects of using it the way they did was allowing a hero to fly...
03-25-2008, 04:02 AM#15
Nuclear Arbitor
i don't think they do. but that wouldn't really matter unless it was melee flying. probably just some idiot. enfos is one of those "mass the center, opps u fucked up u lose" maps isn't it. not very good...