Browse Search Popular Register Upload Rules User list Login:
Search:
Attack Drone

Image:
screenshot of the scene

Author: MrGlinzz

Group: Default

Filesize: 12.44 kB

Date added: 2013-10-23

Rating: 5.6

Downloads: 825

Views: 321

Comments: 9

Ratings: 2

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

Mainly done for lololoer, nice idea!

Controls:
- Cntrl + Left mouse = set target [will automatically fly to it]
- Enter = Fire

Not much can be done for aesthetics, unless I change the angle aiming code, sorry!

Uses two scene.my variables : scene.my.target and scene.my.targetID

Able to target any object with a collision set.

Todo:
- Perhaps add in some sort of auto steering, would be complicated but at the very least something which stops the drone flying into large objects [5m radius]
- Aesthetics?

Edit:
- Made changes as suggested by XRay, thanks!
Last edited at 2013/10/24 10:59:15 by MrGlinzz
Please log in to rate this scene
edit
Similar scenes
Title: Halo 3 ODST Drone
Rating: 5
Filesize: 44.66 kB
Downloads: 446
Comments: 0
Ratings: 1
Date added: 2015/07/29 18:31:50
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: The Drone
Rating: 5
Filesize: 27.96 kB
Downloads: 398
Comments: 0
Ratings: 1
Date added: 2022/05/10 07:31:14
Made with: Algodoo v2.1.3
Rating: rated 5
download
Title: My Drone
Rating: 5
Filesize: 45.7 kB
Downloads: 476
Comments: 4
Ratings: 1
Date added: 2021/05/01 11:40:02
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Car/Drone?
Rating: 5
Filesize: 189.05 kB
Downloads: 530
Comments: 0
Ratings: 1
Date added: 2021/03/05 09:11:30
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: drone with unfinished project cars
Rating: 5
Filesize: 1.7 MB
Downloads: 1278
Comments: 1
Ratings: 1
Date added: 2018/02/12 13:40:10
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Laser Guided Drone
Rating: 5.625
Filesize: 36.79 kB
Downloads: 557
Comments: 2
Ratings: 2
Date added: 2020/02/26 15:58:52
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
This doesn't seem to work. I tried the control key and mouse button as you specified, but nothing happens. :huh:
Just had a look, I needed to reset the '_timeMarker' of the two lasers back to zero, since the sim.time also gets set to 0.

Apologies! Fixed!
Yeah, that's one of those "gotcha's" that I occasionally forget to do. That's why I always test my scenes by downloading them from Algobox instead of only testing them on my computer. I often catch problems that way.

Oh, by the way, the thing that was confusing at first was the scene starts out zoomed in very close to the drone, and so you cannot see the blue circle targets, and you don't even know that they are there, until you zoom way out. So, maybe it would help to put a note in the scene to zoom out before starting (or something like that).
Last edited at 2013/10/24 05:05:46 by Xray
Here's a tip for ya..... In all my scenes that use a timer script, I initialize the local variable to either zero or to sim.time while the scene is not running. You can do that in the "update" script window of any geometry that has one. It just so happens that "update" script runs all the time, even when the scene is not running. A couple of sample scripts to initialize a timer local variable are:

sim.running ? {}:{_timer = sim.time}

OR,

sim.running ? {}:{_timer = 0.0}

In YOUR case, the local variable would be _timeMarker.
Last edited at 2013/10/24 05:27:16 by Xray
Ahh thanks! I was trying to figure that one out for ages. I had the syntax wrong [sim.running == true ? {}:{____}]

Cheers! And I'll add in a little script to zoom out, although the idea of the scene is to be used more as a component seeing as it can track any target:)
no it isnt, it isnt actually "flying" i has got gravity 0 so it isnt flying, i mean something like this: http://www.algodoo.com/algobox/details.php?id=73868 ,
namely, the drone has to fly itself and attak for itself, automaticly, thanks for the scene!
Ahh but it is flying, check the gravity option:)
Also perhaps check my MAV scene, that could be more what you're looking for.
Good job MrGlinzz, I just recommend to change sim frequency to 1000Hz for better hit at the target
Suggestions FTW!In think you should make a game where you use your MAV to provide covering fire to help someone escape a zombie infested city.Challenge Set!Do you accept?