Latest topics

» STA(Steel Tank Add-on) 3.2 (Steel Fury)
by lockie Yesterday at 1:42 pm

» The Sun Comes Up, the Sun Goes Down
by woofiedog Thu Nov 16, 2017 9:17 pm

» Variants of the "Sherman"
by mechanic Thu Nov 16, 2017 12:19 pm

» The Soviet Story
by Tanker Wed Nov 15, 2017 3:15 pm

» Легкий танк Т-50/Light tank T-50
by will73 Tue Nov 14, 2017 6:19 pm

» Campaign: Otto Carius (WIP)
by lockie Tue Nov 14, 2017 11:57 am

» Lieutenant Z. Kolobanova "To Stand to the Death!" Battle of Voiskovitsy
by frinik Tue Nov 14, 2017 1:08 am

» Ukraine fights against enemy.
by lockie Mon Nov 13, 2017 2:17 pm

» Video from SF
by geoweb35 Mon Nov 13, 2017 1:00 pm

November 2017

MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
27282930   

Calendar Calendar


    AI targeting

    Share
    avatar
    lockie
    TSF Member
    TSF Member

    Posts : 3720
    Join date : 2014-07-24
    Age : 50
    Location : Ukraine, Kyiv

    AI targeting

    Post by lockie on Tue Aug 19, 2014 4:41 pm

    There is parameter #30 in the shell pattern - Type of target for AI.
    See details of the shell parameters:
    http://stasf2008.ephpbb.com/t8-faq-sf-editing

    It does, depends on what type - AI will shoot at the defined target and ignored all other. Well, at least I think so Smile
    Also, me and will73 guessing there are the next types of the targets:
    0 - all targets (armor, soldiers)
    1 - only armor/techniks
    2 - only soldiers

    Do somebody want to check it out? I.e. change the number of the target type and see how it'll affect AI?
    avatar
    frinik
    TSF Member-Golden Feather
    TSF Member-Golden Feather

    Posts : 1395
    Join date : 2014-07-27
    Age : 61
    Location : Abu Dhabi-UAE

    Re: AI targeting

    Post by frinik on Tue Aug 19, 2014 7:02 pm

    ok I will try and report. Off the cuff, I would say that your intuition makes sense to me!
    avatar
    lockie
    TSF Member
    TSF Member

    Posts : 3720
    Join date : 2014-07-24
    Age : 50
    Location : Ukraine, Kyiv

    Re: AI targeting

    Post by lockie on Tue Aug 19, 2014 7:27 pm

    Would be interested to investigate this parameter on the JS-2/3 gun. I mean force AI to shoot only techniks. There is another interesting parameter: # 33 Shot Penalty for AI
    At this moment for JS-2/3 this parameters is equal to "5", default was "1". It does AI will be penalized for the wrong shot at 5x times stronger in the next two cases:
    1. shot missed target
    2. wrong shot (hit allied tank)
    Of course, it's pure guessing Smile
    avatar
    frinik
    TSF Member-Golden Feather
    TSF Member-Golden Feather

    Posts : 1395
    Join date : 2014-07-27
    Age : 61
    Location : Abu Dhabi-UAE

    Re: AI targeting

    Post by frinik on Wed Aug 20, 2014 3:56 am

    OK I tried using both the Panzer IV F2 and T34  .In a first step I changed all the 0s for 1 for all the types of shells and then played one of my trial missions. I played as the driver and let the AI do the targeting and shooting.The result was that while the commander would call the infantry as targets, the AI gunner would not deal with them until all the tanks/apcs had been eliminated. I even tried to tempt the gunner by turning the tank towards the infantry so the gunner would face them and would not be able to resist shooting but no go! |Once no tanks were left to shoot the AI would turn against the infantry using HE shells. Likewise with the T34/76, the AI gunner would not shoot at the infantry until all armoured targets had been dealt with. I haven't tried setting everythingto 2 but will do, see what happens and report.
    avatar
    lockie
    TSF Member
    TSF Member

    Posts : 3720
    Join date : 2014-07-24
    Age : 50
    Location : Ukraine, Kyiv

    Re: AI targeting

    Post by lockie on Wed Aug 20, 2014 10:54 am

    frinik wrote:the AI gunner would not deal with them until all the tanks/apcs had been eliminated.
    That's a very interesting investigation! I think we may assign this parameter "1" to JS-2/3 and thus tank will shoot only at armor target. I wonder, does AI know abt all armor unit on the map or only at his field of view? I mean, in case if one armor was hidden.
    Also interesting, does parameter "3" responsible for aviation targeting?
    avatar
    frinik
    TSF Member-Golden Feather
    TSF Member-Golden Feather

    Posts : 1395
    Join date : 2014-07-27
    Age : 61
    Location : Abu Dhabi-UAE

    Re: AI targeting

    Post by frinik on Wed Aug 20, 2014 2:52 pm

    From my observation the AI seems to only see what's in their maximum field of range. There were a couple of intact enemy tanks parked away from the action but my AI either could not detect them or were not interested by them most likely the former. This would closely match human behavior as a human gunner would only shoot at what's in his filed of vision.May be what's in the common res ; the values for the maximum range for shells also define the maximum distance the AI can shoot at targets on their own?
    avatar
    lockie
    TSF Member
    TSF Member

    Posts : 3720
    Join date : 2014-07-24
    Age : 50
    Location : Ukraine, Kyiv

    Re: AI targeting

    Post by lockie on Thu Aug 21, 2014 7:40 am

    frinik wrote:the values for the maximum range for shells also define the maximum distance the AI can shoot at targets on their own?
    Yes, mostly the distance is 1500m. Did u check out value "3"?
    avatar
    frinik
    TSF Member-Golden Feather
    TSF Member-Golden Feather

    Posts : 1395
    Join date : 2014-07-27
    Age : 61
    Location : Abu Dhabi-UAE

    Re: AI targeting

    Post by frinik on Thu Aug 21, 2014 11:09 am

    No I haven't but you said that it's for 'aviation targeting( not sure what you mean by that? That it s' for the AI in the aircrafts to find and identify targets?)"? How can this apply to the tanks?
    avatar
    lockie
    TSF Member
    TSF Member

    Posts : 3720
    Join date : 2014-07-24
    Age : 50
    Location : Ukraine, Kyiv

    Re: AI targeting

    Post by lockie on Thu Aug 21, 2014 11:56 am

    frinik wrote:No I haven't but you said that it's for 'aviation targeting( not sure what you mean by that? That it s' for the AI in the aircrafts to find and identify targets?)"? How can this apply to the tanks?
    Yeah, it's another pure guessing Smile Parameter "3" is for aviation targeting.
    I think u should apply it in the Sdkfz 7 (AA gun), but u need make test mission with more airplanes and suppose increase at least 3 times the speed of the Sdkfz 7 turret rotating. Also u may increase rate of fire.
    Theoretically it`s possible to shot down the airplane.
    avatar
    frinik
    TSF Member-Golden Feather
    TSF Member-Golden Feather

    Posts : 1395
    Join date : 2014-07-27
    Age : 61
    Location : Abu Dhabi-UAE

    Re: AI targeting

    Post by frinik on Thu Aug 21, 2014 9:26 pm

    I thought the stock aircrafts were indestructible?

    Anyway sorry but the aircrafts don't really interest me in SF.

    Sponsored content

    Re: AI targeting

    Post by Sponsored content


      Current date/time is Sat Nov 18, 2017 9:38 am