Crowdedlight / Crows-Electronic-Warfare

Arma 3 Mod that enables electronic warfare features such as Radio/Drone jamming and spectrum signal tracking
https://crowdedlight.github.io/Crows-Electronic-Warfare/
Other
17 stars 6 forks source link

Add C-MOTION Sensor #54

Open Landric opened 7 months ago

Landric commented 7 months ago

Added a motion-sensor (#48), named C-MOTION. Can be placed (and picked-up/moved with ACE).

When placed, user gets a dialogue allowing them to configure how they should be alerted: spectrum signal, map marker, or audio alert (these alerts can be allowed/disallowed as a CBA setting).

When any unit or object moves within the sensor radius, an alert is triggered.

Still a number of TODOs and design considerations to consult with crow about (including incorporating a new model for the sensor)

Crowdedlight commented 4 months ago

Waiting for me to get the 3D model into the mod. Will try to look at it tomorrow. The model and texture are done, just need to get it through bulldozer and get all the stuff correctly setup.

Crowdedlight commented 4 months ago

64 is merged to develop. It adds the 3D model and textures for the C-Motion. You can see it here: https://github.com/Crowdedlight/Crows-Electronic-Warfare/commit/c6b5b4b2d9d336095c85a3039f3946f8c89ba4dc

It's just configured as an MISC item in the arsenal right now. You can change it as you need. Wasn't sure what system you would use to "deploy" the item.

So just rebase this on latest develop and you should have the model to play with.

billede

Landric commented 4 months ago

Looks extremely snazzy! 😀

Crowdedlight commented 4 months ago

I added a whole new wiki for this mod. If possible please rebase on latest develop and fix any merge conflicts. And add entry to the wiki for it. its all markdown and under the "wiki" folder.

You can see the current wiki here: https://crowdedlight.github.io/Crows-Electronic-Warfare/

You can add new pages in folders or new folders if necessary. Then add them as pages to the book by editing the SUMMERY.md file.

If you want to test it locally, you just need to install "mdbooks" with cargo install mdbook and then in the root of the repo just go mdbook serve and you can see your current state in localhost browser. (Requires you got Rust/Cargo installed)

Crowdedlight commented 3 months ago

Just a heads up. You will likely need to change places where you add or remove beacon signals etc. when #65 is merged. As that changes the entire internal architecture to be server-authority, instead of distributed. Should be easy fix for you of just changing to serverEvent calls, instead of globalJIP, but lets see when you can rebase after its merged.

b-mayr-1984 commented 1 month ago

We are discussing this feature right now on Gruppe Adler TS. It might be a nice addition for the CMD in future versions of Shoot and Scoot.

Who will get the alert messages displayed? Just the person that placed the sensor?

Landric commented 1 month ago

Who will get the alert messages displayed? Just the person that placed the sensor?

Hi - glad to hear it might come in handy! At the moment, it depends which type of alerts are used by the player (and permitted by the server settings):

Landric commented 1 month ago

C-motion Demo

b-mayr-1984 commented 1 month ago
  • Audio is played only to the person that placed the sensor
  • Map markers are shown to the placer, and their side
  • Spectrum signals are detectable by anyone with a Spectrum device

Nice 🙂 That should work just fine for our use case.

@Landric is the maximum Sensor Radius configurable or hard coded to 10m? (as shown in your video)

Crowdedlight commented 1 month ago
* Spectrum signals are detectable by anyone with a Spectrum device (@Crowdedlight Can beacons be configured to only show to one side?)

No, they can be picked up by anyone with a spectrum device with the right antenna. Granted that if you don't know what it is, you might not know that signal is a motion tracker, and not something else ;-)

It's only the Radio beacons that have a CBA option to hide the friendly side beacons.

Landric commented 1 month ago

@Landric is the maximum Sensor Radius configurable or hard coded to 10m? (as shown in your video)

Configurable - currently up to a max of 50m, although I'm open to design suggestions based on your use-case!

Crowdedlight commented 1 month ago

We are discussing this feature right now on Gruppe Adler TS. It might be a nice addition for the CMD in future versions of Shoot and Scoot.

I think for people playing the first time and especially with multiple communities involved, I also think people prefer not to take the CMD as they don't really know what they are doing or are not sure they can do a good job etc. At least from my perspective it is a bit more daunting slot than any of the others ;-)

Crowdedlight commented 1 month ago

@Landric Is there a way to place down sensors as zeus/by script, and select what user it should trigger for? Not sure if that is needed for shoot and scoot usecase, but might missions that wish to add in these without manually placing them, and select which player/side gets notified?

(Just brainstorming here)

Landric commented 1 month ago

@Landric Is there a way to place down sensors as zeus/by script, and select what user it should trigger for?

Not currently, but yeah, being able to place one via a module is a nice idea. I'll add it to the TODO list!

Landric commented 1 month ago

TODO: have EMPs destroy motion sensors in the radius (and C-Track/jammers/other EW kit, while I'm at it)

Landric commented 1 month ago

TODO: it would be great to add a "destroyed" texture as well, to highlight when the sensor is inoperable (e.g. after being shot). Beyond my capability though, so low importance

Crowdedlight commented 4 weeks ago

String table has been added to main. So you might have to rebase on main, and add any user-facing text to the stringtabel.