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.
[12:00 am]
Oh_Man -- he hasnt won a single game so far this is hilarious
[11:41 pm]
Oh_Man -- new arty username Rage Against The Machine
[10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
[08:12 pm]
Ultraviolet -- do you even lift bro?
[2026-9-23. : 5:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[2026-9-23. : 12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[2026-9-23. : 12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
[2026-9-23. : 10:09 am]
NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
[2026-9-23. : 2:30 am]
Symmetry -- I dreamed about that as a kid. The idea of a computer capable of analyzing a starcraft map and calculating the fastest possible way to hit the victory condition
Please log in to shout.


Members Online: UndeadStar