Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Computer Vision Problem
Computer Vision Problem
Oct 7 2024, 10:02 am
By: billierios  

Oct 7 2024, 10:02 am billierios Post #1



Comp is player 7.
Hyper Triggers are used.
Comp is allied with Players, vice-versa. (via triggers)

Alright, I'm having problems with the comp giving vision to Force 1 (the players). I'm using the Turn ON Shared Vision at Location script and I've tried using it without "at Location"; but nothing seems to make him vision with me. Any ideas?



None.

Oct 7 2024, 3:17 pm Vrael Post #2



From the FAQ section on Vision, maybe this will help:

Quote from name:FAQ
To alter a player's vision statuses, we can use "Run AI Script" action "Turn ON/OFF Shared Vision for Player X". The action may operate opposite of how you might imagine, however- turning ON/OFF vision with a player does not change the trigger owner's status with that player, but rather turns on or off that player's shared vision with you, the trigger owner.

For instance, if one wanted to give Player 2's vision to Player 1, we would Run the Ai Script "Turn ON Shared Vision for Player 2" in a trigger owned by player 1. After this trigger owned by P1 runs, he will be able to see all of Player 2's units, and cloaked units owned by Player 2. One should note, however, that it takes a moment for this change to be taken into effect.

Another application and possibility of changing vision statuses is to turn OFF shared vision with the player that owns the trigger. IE Player 1 would run the action 'Execute AI Script 'Turn OFF Shared Vision for Player 1'. This would remove Player 1's ability to receive vision from his own units. If, however, his units are visible to him (by being within vision of a player he receives vision from) the units will always be detected for him. For example, Player 1 could not own a Dark Templar and see the area its in but have it be cloaked. Either P1 can not see the whole area, or he can see the area AND his own cloaked units.




None.

Oct 9 2024, 2:37 pm Oh_Man Post #3

Find Me On Discord (Brood War UMS Community & Staredit Network)

I remember it was unintuitive which player actually gets the shared vision trigger. Try flipping around the way you're doing it.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[01:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
[01:39 am]
Oh_Man -- where they use third party audioprogram called WWISE which basically makes adding audio extremely difficult
[01:39 am]
Oh_Man -- i appreciate SCBW's ability to just let us upload and play WAVs so much compared to nightmare that is total war warhammer 3
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
[2026-7-16. : 6:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[2026-7-16. : 6:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
Please log in to shout.


Members Online: Rawflesh0615, Oh_Man