Author Topic: Autoaim is broken?  (Read 5053 times)

0 Members and 1 Guest are viewing this topic.

hi,
I was playing around the autoaim feature because i have somwhat increased ou mod general speed and to compensate (it was getting quite impossible to hit fighter as they are quite small in size) the high velocity gameplay i thought that autoaiming and auto converging was a good way to go.
Unfortunately it doesn't seems to have any effect, even when targetting a disabled ship...
I ve tryed with an autoaim with a  fov of 5 but it didn't works, to ensure i've try with a fov of 30 then 40 and 120

Well even if i allign my cursor on the target (with just one or two pixel away) this doesn't have any effect.
I ve try it without auto convergence and at a distance of 400
DId i misunderstood the effect it should have?
here is the table entry anyway :

Code: [Select]
....
$Glide: YES
$Autoaim FOV: 120
+Converging Autoaim
+Minimum Distance: 100
$Convergence:
+Automatic
+Minimum Distance: 100
$Warpin type: .....

If someone that use autoaim may help me, i'll be glad.
$Formula: ( every-time
   ( has-time-elapsed "0" )
   ( Do-Nothing
   )
   ( send-message
      "#Dalek"
      "High"
      "Pro-crasti-nate"
   )
   )
)
+Name: Procratination
+Repeat Count: 99999999999
+Interval: 1

 

Offline Woolie Wool

  • 211
  • Fire main batteries
Jesus, that's a ridiculously high FOV value, and 100 meters is a ridiculously low maximum distance. This is Wings' formula, and it works:

Code: [Select]
$Autoaim FOV: 5
+Converging Autoaim
+Minimum Distance: 1000

I think you should get rid of $Convergence if you use converging autoaim, the two functions may conflict with each other.
« Last Edit: November 19, 2009, 06:02:03 pm by Woolie Wool »
16:46   Quanto   ****, a mosquito somehow managed to bite the side of my palm
16:46   Quanto   it itches like hell
16:46   Woolie   !8ball does Quanto have malaria
16:46   BotenAnna   Woolie: The outlook is good.
16:47   Quanto   D:

"did they use anesthetic when they removed your sense of humor or did you have to weep and struggle like a tiny baby"
--General Battuta

 
Well those high value was enormous, just to to ensure it does something, initially i just want something like 5/10 degrees.

Anyway thanks i will try those value and see if it work.
« Last Edit: November 19, 2009, 05:35:59 pm by Reprobator »
$Formula: ( every-time
   ( has-time-elapsed "0" )
   ( Do-Nothing
   )
   ( send-message
      "#Dalek"
      "High"
      "Pro-crasti-nate"
   )
   )
)
+Name: Procratination
+Repeat Count: 99999999999
+Interval: 1

 
IT work!
In fact the minimum distance is the contrary to what i expected i mean i thought it was the minimum distance to enable auto convergence
for example when i set 100 i thought that when you were closer to 100 autoconvergence would not work anymore
If i understood well in fact it's the distance from what the autoaim and autoconvergence will be apply ed : IE when you set 1000 it mean autoaim will work when you are under a distance of 1000 beetwen  you and your target right?
$Formula: ( every-time
   ( has-time-elapsed "0" )
   ( Do-Nothing
   )
   ( send-message
      "#Dalek"
      "High"
      "Pro-crasti-nate"
   )
   )
)
+Name: Procratination
+Repeat Count: 99999999999
+Interval: 1

 

Offline Woolie Wool

  • 211
  • Fire main batteries
Yeah, it's actually a maximum distance. I don't know why I said minimum.
16:46   Quanto   ****, a mosquito somehow managed to bite the side of my palm
16:46   Quanto   it itches like hell
16:46   Woolie   !8ball does Quanto have malaria
16:46   BotenAnna   Woolie: The outlook is good.
16:47   Quanto   D:

"did they use anesthetic when they removed your sense of humor or did you have to weep and struggle like a tiny baby"
--General Battuta

 
Well because you are right, that's the way it's called in the table and in the wiki, now i have to test it on disabled target to see the effect of it and then balance it.
I wonder if it's applyed for the ai as well and how it will react if i had some few fof to it
I'll make some test anyway : Thank you very much.
$Formula: ( every-time
   ( has-time-elapsed "0" )
   ( Do-Nothing
   )
   ( send-message
      "#Dalek"
      "High"
      "Pro-crasti-nate"
   )
   )
)
+Name: Procratination
+Repeat Count: 99999999999
+Interval: 1

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Wait what?  I thought it did behave as a minimum distance to take effect, that's the way it's supposed to work anyway.  I thought that's what FotG has been using it for.

Example:

Code: [Select]
$Name: BTL-A4 Y-Wing
+nocreate
$Autoaim FOV:                 5
+Converging Autoaim
+Minimum Distance:            100
$Convergence:
+Automatic
+Minimum Distance:            100
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 
Well from what i've try it doesn't or at least doesn't anymore , i ve try with the very high fov to see it clearly in work when i set minimum distance to 100 it works only when you are under a distance of 100 with your target.
In fact i think it would be very nice to have the option to declare when the autoaim and autoconvergence take effect
Exmple :
Code: [Select]
$Autoaim FOV: 10
+Converging Autoaim
+Maximum Distance:                               1000
+Minimum Distance: 100

This entry would works like :
Autoaim will get trigered when you are between 1000 and 100 m of your target , if you want to shoot at a far target =No autoaim

$Formula: ( every-time
   ( has-time-elapsed "0" )
   ( Do-Nothing
   )
   ( send-message
      "#Dalek"
      "High"
      "Pro-crasti-nate"
   )
   )
)
+Name: Procratination
+Repeat Count: 99999999999
+Interval: 1

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
FotG test vid

Go to about 0:50 in and note the autoaim working from beyond 100m.  All the fighters in FotG are currently set up like the Y-wing with a 100m minimum convergence, and that was using a fairly recent nightly build.

I believe the maximum distance is just the maximum range of your weapon, there's not really much of a point to saying that you could shoot 1500 m at something you can target but it can't adjust the shot for some odd reason.  Minimum distance makes a bit more sense because it lets you be more precise.

There are probably some other good examples in that video of it in use at longer ranges.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 
That's really strange cause when i use the last nightly if i set a minimum range of 1000, the autoaim will work (unless i use glide, wich autoaim doesn't seem to like) when i m under a distance of 1000 with my target.

If i set 100, the autoaim won't work untill i'm under 100.

Anyway it works, so nevermind :D
$Formula: ( every-time
   ( has-time-elapsed "0" )
   ( Do-Nothing
   )
   ( send-message
      "#Dalek"
      "High"
      "Pro-crasti-nate"
   )
   )
)
+Name: Procratination
+Repeat Count: 99999999999
+Interval: 1

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
I can't say much about using Glide, haven't used it on FotG.  We also don't have any FOVs greater than 8.  Maybe try the Y-wing's settings without glide and see what happens.  Just set up a mission with a stationary target and see how it behaves.  I'm guessing you mean you still haven't got it to behave like I have but you can see that someone else has it working so it's probably not an issue with the code?
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 
Mine are set to 5 anyway.
But for testing i've tried as you said.
and, well to be sure i explain well what happen :


First the Weapon max range i've played with was 1000 meters
Secondly the table entry :
Code: [Select]
$Autoaim FOV:                 8
+Converging Autoaim
+Minimum Distance:            100
$Convergence:
+Automatic
+Minimum Distance:            100

And yes, that clearly works.
I gues i've been fooled by some kind of placebo  :nervous:

$Formula: ( every-time
   ( has-time-elapsed "0" )
   ( Do-Nothing
   )
   ( send-message
      "#Dalek"
      "High"
      "Pro-crasti-nate"
   )
   )
)
+Name: Procratination
+Repeat Count: 99999999999
+Interval: 1

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
i think autoaim should have a track rate, so that the guns dont instanly lock onto a target, they have to track.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
That's a future goal.  Really it's a primary lock time, and having them get closer as the lock approaches could probably be done, but I was thinking of more of a locked-or-not thing.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
i was thinking of a starlancer kinda lock, you can use the weapons when if not locked, and they always are gimbaling twards the target while its in range, and you get a crosshair on the screen indicating where the guns are currently pointing. and then if you can move the weapon models as its doing that it would be super awesome.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Well most of the star wars primaries don't move when doing that, except maybe the A-wing.  It's more of a focusing of the laser beam, which is why the cone is so small.  Just slight adjustments to bolt path.  When we get to implementing the lock delay we'll look at both possibilities.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 
I use to dislike a bit the starlancer autoaim, in my opinion i would rather prefer something like the starhatter reticle (like on modern plane, the reticle move to show you where it is goind to hit) and add autoaim as it is right now, i think that combo would looks cool.
$Formula: ( every-time
   ( has-time-elapsed "0" )
   ( Do-Nothing
   )
   ( send-message
      "#Dalek"
      "High"
      "Pro-crasti-nate"
   )
   )
)
+Name: Procratination
+Repeat Count: 99999999999
+Interval: 1

 

Offline Thaeris

  • Can take his lumps
  • 211
  • Away in Limbo
I believe Komet's Japanese localization patch for FS2 has a reticle like that... I'm not sure if that's been merged into the SCP yet, though...
"trolls are clearly social rejects and therefore should be isolated from society, or perhaps impaled."

-Nuke



"Look on the bright side, how many release dates have been given for Doomsday, and it still isn't out yet.

It's the Duke Nukem Forever of prophecies..."


"Jesus saves.

Everyone else takes normal damage.
"

-Flipside

"pirating software is a lesser evil than stealing but its still evil. but since i pride myself for being evil, almost anything is fair game."


"i never understood why women get the creeps so ****ing easily. i mean most serial killers act perfectly normal, until they kill you."


-Nuke

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
i scripted a reticle like that some time ago. put the target ship in the reticle and pull the trigger and the shots connect.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 
i saw that on the video, it seems to be applyed on the rockets.
Anyway i guess mostly use of autoaim remain to counter smal fighter sized ship and high speed,
and it deliver what we ask for it for now.
Would you mind sharing your reticle script or it's some kind of top secret feature?
$Formula: ( every-time
   ( has-time-elapsed "0" )
   ( Do-Nothing
   )
   ( send-message
      "#Dalek"
      "High"
      "Pro-crasti-nate"
   )
   )
)
+Name: Procratination
+Repeat Count: 99999999999
+Interval: 1