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.
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
[06:38 pm]
Vrael -- I need a go-to solution and someone who understands that Carpets are more than just decorative elements in my home.
Please log in to shout.


Members Online: Vrael, Roy, NudeRaider