Making Triggers that would generate custom map layout.
And need a trigger that would detect enclosed locations, not reachable by ground units.
Second need a solution for big map. As it generates those Unit objects randomly its needs some kind of spot light on minimap. But it generates huge amount of those custom terrain objects. And using Minimap Radius for those envorement units are pointless as their minimap location will disappear as it have such a small limit.. about 1000? or less.
Thought of puting a ground texture at that location but seems like noone knows how..
Check if placed/generated units not isolated a land space. Check if there are made islands which ground units cant reach.
I made already that it generates Rock that are invulnerable in Lines like cliffs. And Trees harvestable.
I remember someone mentioning something about checking the pathing cost between two points to tell if a unit can reach a certain location. It will at least tell you if such unreachable areas exist. Here's a link to the wiki entry: Pathing Cost Between Points
I believe if the pathing cost is abnormally high (655355 or some similar number) then it is impossible for a unit to reach point 2 from point 1.
Ok looks like problem solved.
Now after placing rock it check or it not surround with too much in it radius by other rocks and removes to normal quantity. So on same spot will be rocks party.
+ added Roads building trigger..
ATTACHMENTS
sc01.PNG
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Making Triggers that would generate custom map layout. And need a trigger that would detect enclosed locations, not reachable by ground units.
Second need a solution for big map. As it generates those Unit objects randomly its needs some kind of spot light on minimap. But it generates huge amount of those custom terrain objects. And using Minimap Radius for those envorement units are pointless as their minimap location will disappear as it have such a small limit.. about 1000? or less. Thought of puting a ground texture at that location but seems like noone knows how..
Ideas?
Just so I understand what you're trying to do... you want to make triggers that generate random but playable terrain?
Check if placed/generated units not isolated a land space. Check if there are made islands which ground units cant reach. I made already that it generates Rock that are invulnerable in Lines like cliffs. And Trees harvestable.
Screenshots of triggers made cliffs.
Minimaps of generated Cliffs.
I remember someone mentioning something about checking the pathing cost between two points to tell if a unit can reach a certain location. It will at least tell you if such unreachable areas exist. Here's a link to the wiki entry: Pathing Cost Between Points
I believe if the pathing cost is abnormally high (655355 or some similar number) then it is impossible for a unit to reach point 2 from point 1.
Ok looks like problem solved. Now after placing rock it check or it not surround with too much in it radius by other rocks and removes to normal quantity. So on same spot will be rocks party. + added Roads building trigger..