Marine Motion Tracker
- Sailor Dave
- Registered user
- Posts: 219
- Joined: 31 Dec 2014, 20:22
Marine Motion Tracker
Hey, hi. For anyone who gives a dang, I was one of the coders for the last iteration of Colonial Marines. I guess this is probably the right place to put this. I spent a few days working on a motion detector because why not. Here's a gif showing it off.
http://gfycat.com/DelightfulLazyHarlequinbug
If you're too lazy to click a link, here is another gif.
Pretty simple. The green blip in the center is you, the white blips are dudes moving around. If you don't move, or if you move carefully and slowly, you don't get pinged. I can adjust this if I have to. Marine armor has IFF(Identification Friend Foe) tags, so anyone wearing it doesn't get pinged. There are ~authentic~ pinging noises that can be turned off.
Currently it's just the little handheld device that you see near the bottom of the gif, the green/white circle. I am not much of a spriter, so that's just a placeholder. The tracker HAS to be held in your hand or it will shut itself off. Can't look at a motion detector in your pocket, now can you? This means that it can't be used with two-handed guns. I may see if I can make it able to be hooked up to guns like the flashlights.
I also considered making it battery chargeable, both to cut down on the potential performance drain and to make it less OP or whatever. I don't know if it would be, but who knows. Ideally there would probably be one tracker per squad. Maybe the engineer can lug it around.
The performance is okay. I had a little trouble with it, the main hog being the IFF, but I'm not sure how well it will profile on the actual server.
I'm tired and it is late so I will be leaving this here for the night.
I should probably mention that this is also just one dmi file, 111 lines, and a couple of icon files. It doesn't touch anything else, so it's just drag and drop, no hassle.
http://gfycat.com/DelightfulLazyHarlequinbug
If you're too lazy to click a link, here is another gif.
Pretty simple. The green blip in the center is you, the white blips are dudes moving around. If you don't move, or if you move carefully and slowly, you don't get pinged. I can adjust this if I have to. Marine armor has IFF(Identification Friend Foe) tags, so anyone wearing it doesn't get pinged. There are ~authentic~ pinging noises that can be turned off.
Currently it's just the little handheld device that you see near the bottom of the gif, the green/white circle. I am not much of a spriter, so that's just a placeholder. The tracker HAS to be held in your hand or it will shut itself off. Can't look at a motion detector in your pocket, now can you? This means that it can't be used with two-handed guns. I may see if I can make it able to be hooked up to guns like the flashlights.
I also considered making it battery chargeable, both to cut down on the potential performance drain and to make it less OP or whatever. I don't know if it would be, but who knows. Ideally there would probably be one tracker per squad. Maybe the engineer can lug it around.
The performance is okay. I had a little trouble with it, the main hog being the IFF, but I'm not sure how well it will profile on the actual server.
I'm tired and it is late so I will be leaving this here for the night.
I should probably mention that this is also just one dmi file, 111 lines, and a couple of icon files. It doesn't touch anything else, so it's just drag and drop, no hassle.
Last edited by Sailor Dave on 04 Jan 2015, 02:39, edited 1 time in total.
- Rahlzel
- Donor
- Posts: 1160
- Joined: 14 Dec 2014, 16:17
- Location: USA
RE: Marine Motion Tracker
Wow. This is incredible. Huge bonus points for the gif you made, too.
Even as a consistent alien player, I would love to see something like this in-game.
Does it make the same beep sounds as in the movies?
Even as a consistent alien player, I would love to see something like this in-game.
Does it make the same beep sounds as in the movies?
- Sailor Dave
- Registered user
- Posts: 219
- Joined: 31 Dec 2014, 20:22
RE: Marine Motion Tracker
Yep. Not the inactive ticking sound, but I could easily add that in. The beeping is definitely there, though.
The range is currently 7 tiles, the current view radius. The "distance", the pixel offset between the blips, can also be made farther or closer. This can also easily be adjusted. I wasn't really sure how big to make it.
I should also point out that it CAN detect all nearby mobs, even though the gif only shows one at a time. I could only move one person at a time, after all. Just in case anyone wonders.
The range is currently 7 tiles, the current view radius. The "distance", the pixel offset between the blips, can also be made farther or closer. This can also easily be adjusted. I wasn't really sure how big to make it.
I should also point out that it CAN detect all nearby mobs, even though the gif only shows one at a time. I could only move one person at a time, after all. Just in case anyone wonders.
Last edited by Sailor Dave on 04 Jan 2015, 02:56, edited 1 time in total.
-
- Registered user
- Posts: 34
- Joined: 30 Dec 2014, 19:10
RE: Marine Motion Tracker
This is awesome, you're awesome and I want this to be ingame.
-
- Registered user
- Posts: 86
- Joined: 15 Oct 2014, 12:22
RE: Marine Motion Tracker
God damn, that's such a good work. Really
I'm voting +69 to incorporate this.
You sir, Just won life
I'm voting +69 to incorporate this.
You sir, Just won life
- apophis775
- Host
- Posts: 6985
- Joined: 22 Aug 2014, 18:05
- Location: Ice Colony
- Byond: Apophis775
- Contact:
RE: Marine Motion Tracker
Where is the code for it?
- UnknownMurder
- Registered user
- Posts: 2243
- Joined: 15 Dec 2014, 08:03
- Location: Ascension
RE: Marine Motion Tracker
.....Is this.. Heaven? Add this, add it now.
But... If you think about it carefully. We have tons of Rambo marines, and they'll likely to chase down Aliens no matter what the consequences are.
But... If you think about it carefully. We have tons of Rambo marines, and they'll likely to chase down Aliens no matter what the consequences are.
- Sailor Dave
- Registered user
- Posts: 219
- Joined: 31 Dec 2014, 20:22
RE: Marine Motion Tracker
I'll be putting up a pull request in a bit.apophis775 wrote: Where is the code for it?
- apophis775
- Host
- Posts: 6985
- Joined: 22 Aug 2014, 18:05
- Location: Ice Colony
- Byond: Apophis775
- Contact:
RE: Marine Motion Tracker
If you do, make sure you don't have it included with the DME.
I need to test and check the code first.
I need to test and check the code first.
- Sailor Dave
- Registered user
- Posts: 219
- Joined: 31 Dec 2014, 20:22
RE: Marine Motion Tracker
The pull request is up. Do you have a skype or something that we can use to go over it?
- SecretStamos (Joshuu)
- Registered user
- Posts: 1291
- Joined: 15 Oct 2014, 12:32
- Location: Stars & Stripes
RE: Marine Motion Tracker
I think someone made a tracker device icon a while ago. The thread might have been wiped with the rollback though, because I can't seem to find it.st
Either way, absolutely astounding work.
Either way, absolutely astounding work.
Last edited by SecretStamos (Joshuu) on 05 Jan 2015, 12:34, edited 1 time in total.
- Rovernic
- Registered user
- Posts: 77
- Joined: 24 Dec 2014, 20:06
- Location: New Jersey, USA
- Byond: rovernic
- Steam: rovernic
RE: Marine Motion Tracker
Damn mate, amazing work. Can't wait to get my hands on this, especially as a squad lead.
"Aut viam inveniam aut faciam." Either find a way, or make one.
- MrGabol100
- Registered user
- Posts: 636
- Joined: 06 Jan 2015, 17:12
RE: Marine Motion Tracker
Oh... My... god... This is amazing! I need to use this as fast as possible! How the fuck can i support you on having this for fucking yesterday!?
- UnknownMurder
- Registered user
- Posts: 2243
- Joined: 15 Dec 2014, 08:03
- Location: Ascension
RE: Marine Motion Tracker
...If no one minds me asking... Does anyone have a good news for this or any plans of this being included?
- apophis775
- Host
- Posts: 6985
- Joined: 22 Aug 2014, 18:05
- Location: Ice Colony
- Byond: Apophis775
- Contact:
RE: Marine Motion Tracker
It should be in next round, for testing.
- Commander Cookies
- Registered user
- Posts: 9
- Joined: 29 Dec 2014, 00:55
RE: Marine Motion Tracker
Question with this probably geared towards developers:
If this is implemented will marines who have donated items such as my marine vest w/ammo, show up on the tracker due to not being technically the new gen marine armor?
If this is implemented will marines who have donated items such as my marine vest w/ammo, show up on the tracker due to not being technically the new gen marine armor?
- MrGabol100
- Registered user
- Posts: 636
- Joined: 06 Jan 2015, 17:12
RE: Marine Motion Tracker
For the love of god, add the passive "tick" Please!
- apophis775
- Host
- Posts: 6985
- Joined: 22 Aug 2014, 18:05
- Location: Ice Colony
- Byond: Apophis775
- Contact:
RE: Marine Motion Tracker
It tracks motion, not items...
- MrGabol100
- Registered user
- Posts: 636
- Joined: 06 Jan 2015, 17:12
RE: Marine Motion Tracker
I think he means about the armor not being the standard next gen.apophis775 wrote: It tracks motion, not items...
1-First armors since i was in were regular vests. -> Unused.
2- Then we got the Cool striped vests. -> LOs Keep using them.
3- The last gen was the padded bigger armor with the new skin for helmet. -> Custom objects are modification of this.
4-And this gen is the same but with the chip that make marines invisible in the tracker. Only and only if you wear this you are invisible to the tracker.
And he means custom objects, that are modified armors from the 3rd Generation, without cloaker for the tracker.
If you have a custom armor you are supossed to appear in the tracker, since you don have the chip on.
- SecretStamos (Joshuu)
- Registered user
- Posts: 1291
- Joined: 15 Oct 2014, 12:32
- Location: Stars & Stripes
RE: Marine Motion Tracker
Here's an icon if you want one.
-
- Registered user
- Posts: 62
- Joined: 07 Jan 2015, 01:55
RE: Marine Motion Tracker
Oh man if only this had a sprite that looks like the ones in the movie-
Ohhhh maaaan.SecretStamos(Joshuu) wrote: Here's an icon if you want one.
-
- Registered user
- Posts: 34
- Joined: 30 Dec 2014, 19:10
RE: Marine Motion Tracker
It lacks a close button?
- MrGabol100
- Registered user
- Posts: 636
- Joined: 06 Jan 2015, 17:12
RE: Marine Motion Tracker
And again, because no one seems to noticed my request, "Tick" Noise passive please? It adds lots of pressure to the situation, because it could, at any moment turn into an active tick, that's bad for you as marine.
- UnknownMurder
- Registered user
- Posts: 2243
- Joined: 15 Dec 2014, 08:03
- Location: Ascension
RE: Marine Motion Tracker
+1 to Gabol
- Sailor Dave
- Registered user
- Posts: 219
- Joined: 31 Dec 2014, 20:22
RE: Marine Motion Tracker
This is a great icon, I'll add it in.SecretStamos(Joshuu) wrote: Here's an icon if you want one.
I'm not sure what you mean by a close button. You can turn it off the same way you turn it on, if that's what you mean.Raikyh wrote: It lacks a close button?
I'm still figuring out how I want to handle that. I can add the sound easily enough, but I don't want it to annoy anyone who doesn't want to hear it if the person who's holding it doesn't want to disable the sound. Adding a preference toggle seems a bit excessive. The regular ping sound isn't so bad because it only happens when you NEED it to happen, i.e. when it detects movement.MrGabol100 wrote: And again, because no one seems to noticed my request, "Tick" Noise passive please? It adds lots of pressure to the situation, because it could, at any moment turn into an active tick, that's bad for you as marine.
Last edited by Sailor Dave on 08 Jan 2015, 14:19, edited 1 time in total.