Hegemuffin
New Member
- Reaction score
- 12
Well? The Object Editor does not allow "Item Sight Range Bonus" to take a negative value, so temporarily giving a unit this ability will not work. Short of replacing the unit with a nearsighted lookalike (which would require a duplicate of every targetable unit featured in the map), are there any other alternatives? I tried various visibility modifiers, but I'm pretty sure that unit sight overrides anything else. The idea of a scope fade filter was tempting, but ultimately unrealistic because the map doesn't use a fixed camera, nor can I ensure that each player only controls one unit (due to summons and stuff). Any ideas or professional opinions would be appreciated.
edit: Oh, and I did just think of one alternative; because the sight reduction is triggering by an ability and because it reduces sight to a fixed value, I could just give every unit on the map the reduced value as a default sight range, then use a periodic event to create visibility modifiers on every unit on the map according to what its sight range should be at day and night, respectively. While this solution is slightly better than using a flamethrower to rid one's walls of termites, I'm ideally searching for a more realistic method.
edit2: Okay, I'm just doing this with a somewhat less messy combination of the two ideas, where every unit has a sight range of 300/300, day/night respectively. When a unit is summoned, created, or whatever, it is given a Sight Range Bonus +1100 ability if it is day or +500 if it is night. Whenever it changes from day to night or night to day, all units on the map have the one ability removed and are given the other. I say slightly less messy because it only involves a trigger at dusk, dawn, when the ability is cast, or when a unit comes into play. So I suppose I answered my own question. That said, I would still like to know if there is an easier way, both for curiosity's sake and for the sake of the community (and because in one, short, swift sentence, I was able to portray myself as a theorist, not a pragmatist, and accordingly reap all the benefits of the intellectual elitism that comes with it ).
edit: Oh, and I did just think of one alternative; because the sight reduction is triggering by an ability and because it reduces sight to a fixed value, I could just give every unit on the map the reduced value as a default sight range, then use a periodic event to create visibility modifiers on every unit on the map according to what its sight range should be at day and night, respectively. While this solution is slightly better than using a flamethrower to rid one's walls of termites, I'm ideally searching for a more realistic method.
edit2: Okay, I'm just doing this with a somewhat less messy combination of the two ideas, where every unit has a sight range of 300/300, day/night respectively. When a unit is summoned, created, or whatever, it is given a Sight Range Bonus +1100 ability if it is day or +500 if it is night. Whenever it changes from day to night or night to day, all units on the map have the one ability removed and are given the other. I say slightly less messy because it only involves a trigger at dusk, dawn, when the ability is cast, or when a unit comes into play. So I suppose I answered my own question. That said, I would still like to know if there is an easier way, both for curiosity's sake and for the sake of the community (and because in one, short, swift sentence, I was able to portray myself as a theorist, not a pragmatist, and accordingly reap all the benefits of the intellectual elitism that comes with it ).