View Single Post
Old 11-27-07, 11:59 AM   #18
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

First i'll have to say that my thinking here, is admitidly two dimensional.

If you want a longer evasion period, the answer is to quite simply increase the "power" of the detection gear used by the AI. However, the "bark" if you will. The "bite" is the depth charge. In most cases, the "bark" makes the "bite" worse because they AI becomes more accurate. So the trick in my mind, is to make them less accurate, to make it safe for them to be super sniffers.

That said, after thinking about it for a minute, (as i type this in fact), you could probably just extend the maximum range on the active sonar considerably, without altering its down angle. That would (in theory) make them both more active (no pun intended), and not super accurate.

Part of my adjustments to the AI were as follows:
- Type93_1A -> Max elevation from 108 to 106
- Type93_3A -> Max Elevation from 112 to 112
- Type93_5A -> Max Elevation from 120 to 118

Thats the "down angle", gives them a bit more depth probing, and makes them a bit more accurate. The more max elevation they have, they longer they can keep contact. By default, i think the max elevation is 100 in the stock file. The values i list above, are just me fine tuning it.

As an aside, i think it bears mentioning that active sonar, is very mechanical in its use. From all ive ever been able to discern from the AI in SH3, and Sh4, the AI will only start pinging when three conditions are met, as part of its hardcoded AI routine.

1.) You are within the sonars geometric cone.
2.) you are presenting a favorable aspect to the AI, your surface factor being an X number or greater.
3.) You are doing both 1 and 2, for the time period specified by the sonar Detection time parameter as specified in the sim.cfg

Another thought that just hit me is if you really wanted to soup up the AI detection, just try lowering its detection time to a ridciously small number, but then you want the player to have a chance to evade as well, so this might not be possible unless you want to latch that AI unit on the player like a pack of dogs on a 3 legged cat.
Ducimus is offline