Unit Targeting
Jan 7 2017, 7:58 am
By: Sie_Sayoka  

Jan 7 2017, 7:58 am Sie_Sayoka Post #1



I've been working on a way to get wraiths owned by the player to attack while not being visible, despite having vision. To do this I create/give to p9 whilst cloaked then 1DC later I give it back to the player so that they can attack. The vision lag makes the wraiths invisible to the player. Creating/giving on the same DC cycle does not allow for vision lag to occur.

In 'skill test' targeting works flawlessly. Every other DC the wraiths are created and ordered to patrol. This is the control test to see what the fastest targeting time is for wraiths.

In 'skill test2' I implement the cloaking system. However there are numerous problems that arise. The wraiths require at least 3DC in order to target and even then they do not target enemies consistently, around 80% accuracy. I have tried this without give triggers and the same problem arises. What I think is happening is that because there is a 1DC delay between being created and being ordered to patrol it may interfere somehow with the wraith's ability to target units. Ideally I'd like it to work as well as the first map where there's only 2DC where the wraith is allowed to patrol and all of the wraiths fire.

Attachments:
skill test.scx
Hits: 0 Size: 54.22kb
skill test2.scx
Hits: 0 Size: 52.79kb

Post has been edited 1 time(s), last time on Jan 7 2017, 10:10 am by Sie_Sayoka.



None.

Jan 10 2017, 8:46 am rockz Post #2

ᴄʜᴇᴇsᴇ ɪᴛ!

Every 100 frames, vision gets updated for all players on the map (timer resets when you use optical flare as well).

Every 30 frames, units start to get detected. It's a bit finicky with multiple units getting detected, but essentially if you turn on vision or give a unit to a player, you can ensure you don't have shared vision or detection available every 30 and 100 frames and the unit will stay invisible and won't give you any vision.

I would recommend you keep some wraiths in a corner and move them where you want them to go and make the next batch of wraiths after you move them. This means that you don't have to create the unit first then wait a frame to give them to the player.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jan 10 2017, 8:59 pm Sie_Sayoka Post #3



Thanks. I got a cycle down to 3DC by having them pre-spawned. Now if I can only figure out the targeting issues.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-6-23. : 3:29 am]
DarkenedFantasies -- Probably just didn't care. For example, at some point before release, they've updated the graphics of some of the Protoss buildings (Forge, CyberCore, Citadel, Observatory, Arbiter Tribunal), but instead of properly re-rendering them with edited 3D models, they did crappy copy-paste jobs on the rendered graphics.
[2026-6-22. : 8:35 pm]
Ultraviolet -- :wob:
[2026-6-21. : 11:38 pm]
Symmetry -- :wob:
[2026-6-21. : 4:56 am]
Ultraviolet -- I suppose we'll likely never know, but my guess would be that they already saw it operating successfully and there was no monetary incentive to finish the original work. And the dev cycle in old school Blizzard was so hectic, it's possible it just got forgotten about after the original game got released. Plus there's an element of existing MPQ files that were packaged with the original discs becoming outdated if they updated it. And it's not like they remade the original MPQs, they just made new ones for BW specifically
[2026-6-21. : 4:26 am]
Oh_Man -- so that makes me think maybe the theory they are unfinished is not true and its a deliberate design decision, coz why not finish them wen ur making brood war?
[2026-6-21. : 4:25 am]
Oh_Man -- the thing is thos buildings are from classic. that means they went ahead and made brood war without ever finishing the 'unfinished' buildings
[2026-6-20. : 6:15 pm]
Ultraviolet -- Yeah he's talked about a lot of that stuff in his casts before. It seems plausible. Especially knowing how Blizzard of yesteryear operated.
[2026-6-20. : 3:47 pm]
NudeRaider -- to clarify: couldn't recall the behavior for every single Protoss building but I was aware the disparity exists.
[2026-6-20. : 3:43 pm]
NudeRaider -- Contained nothing new for me. Didn't know all building's behavior, but very much all unit's. Also Terran balance whine - also nothing new :lol:
[2026-6-19. : 9:57 am]
Oh_Man -- makes me wonder if SEN knows anything about the topic
Please log in to shout.


Members Online: Prankenstein