Here's the big question; once you know an object's (missile) 'path' (let's say from first seen to current in increments of one, e.g. start 1 Long, 1 Lat; 2,2; 3,3; 4,2; 5,1 current 6,0), how in the world do you figure out where it's going to land?
I'm sure there's some sophisticated math based on the map in Defcon being 'close' to cylindrical, right?
Why would a person want to know this? Simple; to avoid having ships/planes being destroyed with nukes and also to perform emergency evacs of carriers/airbases.
Now, at this point I've just started using unitID's as tables to keep track of data and haven't yet come up with a way to log the path of any given missile, but I believe that will just be a matter of time. My Bot has already been the victim of self nuking in combat, so even (way in the future) if a Bot is able to work in a team, it would need to be able to avoid allied nukes.
Help?
[Lua] Missle Avoidance/Prediction (Naval/Aerial Nuking)
Moderator: Defcon moderators
- Ace Rimmer
- level5
- Posts: 10803
- Joined: Thu Dec 07, 2006 9:46 pm
- Location: The Multiverse
[Lua] Missle Avoidance/Prediction (Naval/Aerial Nuking)
Smoke me a kipper, I'll be back for breakfast...
You would possibly need to gather some start, mid and end coords for nukes launched from various points on the globe. From there you could reverse engineer the curve Defcon uses.
Last edited by Montyphy on Fri May 07, 2010 4:50 pm, edited 1 time in total.
- bert_the_turtle
- level5
- Posts: 4795
- Joined: Fri Oct 13, 2006 6:11 pm
- Location: Cologne
- Contact:
Hmm, I don't think anyone has worked out the precise formula for the trajectories yet. For starters, you can extrapolate the path using a cubic polynomial fit (or, possibly more accurate, a circular line) That won't give you the point they'll land on, though. Even if the path formula was completely reversible, I'd consider it cheating if a bot used that to extrapolate the exact nuke landing spot.
- Ace Rimmer
- level5
- Posts: 10803
- Joined: Thu Dec 07, 2006 9:46 pm
- Location: The Multiverse
- bert_the_turtle
- level5
- Posts: 4795
- Joined: Fri Oct 13, 2006 6:11 pm
- Location: Cologne
- Contact:
Really? The exact landing spot? I'm sure you can extrapolate the trajectory, but can you really look at the shape of it and tell when the nuke will detonate?Ace Rimmer wrote:bert_the_turtle wrote: Even if the path formula was completely reversible, I'd consider it cheating if a bot used that to extrapolate the exact nuke landing spot.
Why? Players do it in the game all the time, just via eyesight and experience.
- Ace Rimmer
- level5
- Posts: 10803
- Joined: Thu Dec 07, 2006 9:46 pm
- Location: The Multiverse
bert_the_turtle wrote:Really? The exact landing spot? I'm sure you can extrapolate the trajectory, but can you really look at the shape of it and tell when the nuke will detonate?Ace Rimmer wrote:bert_the_turtle wrote: Even if the path formula was completely reversible, I'd consider it cheating if a bot used that to extrapolate the exact nuke landing spot.
Why? Players do it in the game all the time, just via eyesight and experience.
Perhaps not the exact spot every time, but I would guess if I kept it on real time and studied each nuke (annoying other players of course), I could get a pretty high average.
Either way, I don't expect the bot to be able to predict the exact spot.
Smoke me a kipper, I'll be back for breakfast...
Oh I see what you mean, well as far as I know there is no way for the bot to know the exact spot, just extrapolate its trajectory and guess when it will detonate along that path
GENERATION 22:The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.
- poptart911
- level1
- Posts: 33
- Joined: Thu Jan 13, 2011 6:04 pm
- Location: Iowa, US
- Contact:
The curving of a nukes trajectory is ihmo a function of its relative position to its start/target distance (or something like that), just like its speed. With knowing the exact formula you can extrapolate pretty much the exact target. I made an attempt figuring that formula a while back. For the special case of common nuke curves ( ) its should already be good enough, if you know 2 or 3 nuke positions.
Who is online
Users browsing this forum: No registered users and 19 guests