![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Bosun
![]() Join Date: Mar 2010
Posts: 63
Downloads: 60
Uploads: 0
|
Changing AI ship gun ranges?
I'm trying to design some surface based single missions using playable ships and AI vessels, but can't quite get the game to work as I had hoped.
The main issue is getting AI ships to fire at halfway realistic ranges. In a test mission, with the playable North Carolina and a Kongo class, the Kongo acts like nothing is even going on until 7000 meters. It just goes waypoint to waypoint, then finally fires on me at about 7000. Accuracy isn't too much of a problem at the time being, but I can't get enemy ships to recognize and fire on my ships at a reasonable game distance. Something like 8-10 miles would be decent at least. What can I do to get enemy vessels (primarily BBs) to recognize and then fire on other ships at a more reasonable range? |
![]() |
![]() |
![]() |
#2 | |
The Old Man
![]() Join Date: Mar 2009
Location: Norseland
Posts: 1,355
Downloads: 253
Uploads: 0
|
![]() Quote:
__________________
![]() ![]() Find my mods here: https://www.mediafire.com/folder/lzgciodldp58p/SH4_Mods My SH4 blog here: http://karle94.blogspot.com/ |
|
![]() |
![]() |
![]() |
#3 |
Rear Admiral
![]() |
![]()
/data/cfg/sim.cfg
|
![]() |
![]() |
![]() |
#4 |
Bosun
![]() Join Date: Mar 2010
Posts: 63
Downloads: 60
Uploads: 0
|
![]() |
![]() |
![]() |
![]() |
#5 |
Rear Admiral
![]() |
![]()
When an AI opens fire is based on three things:
a.) max gun range as set in the sim.cfg file b.) Max gun range as set in whatever gun model it happens to be. For example. Guns.sim. Probably located in data/library/shipparts or something like that c.) If it visually see's it's target or not. |
![]() |
![]() |
![]() |
#6 |
Bosun
![]() Join Date: Mar 2010
Posts: 63
Downloads: 60
Uploads: 0
|
![]()
I got a hex editor to try to make sense of the guns.sim file. I found what looks to be the range for the 14" inch guns.
Any tips? I see two ranges listed. Is that a minimum and max? What kind of changes to these values should I try? ![]() |
![]() |
![]() |
![]() |
|
|