• 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.

Make a unit have 9999 sight radius

Status
Not open for further replies.
Level 12
Joined
May 22, 2015
Messages
1,051
There is an item ability which increases sight range. I forget what it is called, though. Just look for something like "Item Sight Range Bonus" or something like that. I think it can go up to any value from there.
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
As you said, a unit can have a maximum sight range of 1800, there are no exceptions.

For such a big sight range a visibility modifier which is updated every second or so is certainly the best choice.
 
Level 12
Joined
May 22, 2015
Messages
1,051
As you said, a unit can have a maximum sight range of 1800, there are no exceptions.

For such a big sight range a visibility modifier which is updated every second or so is certainly the best choice.

Oh dang. I thought the item ability would move it above. I guess it doesn't?
 
Level 7
Joined
Nov 19, 2015
Messages
283
Yeah, I know that, but I want units to still be unable to see behind trees.

The only method I know would be similar to cone vision. The idea is to spawn dummy units in a line with increasing sight ranges. You could adapt this idea and have the units radiate out greater than 1800 from your unit and stop when it encounters a tree. This will all depend on you map because I assume it will be very intensive moving so many dummy units around. Especially if multiple units have this vision type.
 
Level 7
Joined
Nov 19, 2015
Messages
283
Or convert Coordinates to Regions and use:

  • Visibility - Create an initially Enabled/Disabled visibility modifier for aPlayer emitting Visibility across TheRegion
And then turn it on if disabled.

Would that still provide vision over trees?
 
Level 11
Joined
Jan 23, 2015
Messages
788
Yea Arad, I was thinking of the same solution, I think region visibilities don't go over trees, since it's not a point.. So, I'll need to create a region for every unit every X seconds and create a visibility modifier there.. Isn't that going to make the game lag. Orrrr, wait I think there was some 'Region - Move' action......?
 
Level 15
Joined
Aug 14, 2007
Messages
936
you should deploy locust dummies at important locations of the map, by using each for two teams and change ownership to the neutral hostile at the map load. Since this is literally map hack other than trees, deploy them at the very legit locations, next you have to check for angles from the caster toward the dummies if there are direct tree blocks, activate those that are not blocked and change ownership to your team.
 
Status
Not open for further replies.
Top