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.
[10:44 pm]
Ultraviolet -- 1337 ejaculator
[10:29 pm]
ejac1337 -- derp
[07:08 pm]
Slyence -- Well shucks ..
[2021-11-26. : 4:02 am]
O)FaRTy1billion[MM] -- Slyence
Slyence shouted: I could've swore I used to have a colored username.
probably, they did get reset at some point
[2021-11-26. : 4:02 am]
Apos -- :wob:
[2021-11-26. : 12:01 am]
UndeadStar -- 🦃 Just saw a new news 🦃
[2021-11-25. : 6:04 pm]
Slyence -- Meme x2
[2021-11-25. : 12:39 pm]
Moose -- meme
[2021-11-25. : 12:25 pm]
Slyence -- I could've swore I used to have a colored username.
[2021-11-24. : 10:56 pm]
RdeRenato -- xd
Please log in to shout.


Members Online: Roy, lauraswarren