![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
12-14-13, 12:24 PM
|
#1 |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
As the title says:
recently I have set a custom mission where a couple of 'small coastal guns' (which I had purposedly put in the British roster) are facing a number of Stuka bombers, result: guns and planes are ignoring each other, even though my crew keeps reporting the presence of "coastal defences", and guns' location is shown on the TAI map. I digged into coastal gun's files, and everything looks okay. The sim file got _unit, cmdr_, wpn_Cannon and ob_Sensor controllers, and controller settings seem correct. I then had a look into the AI scripts folder, and I was surprised not to find any reference to land units. ![]() Out of curiosity: has anyone ever seen coastal guns doing their job? |
|
|
12-14-13, 03:28 PM
|
#2 | |
|
Grey Wolf
![]() Join Date: Sep 2006
Location: NY
Posts: 989
Downloads: 1081
Uploads: 6
|
Quote:
I do remember that coastal defenses was reported by crew in SH4, and the AI guns were firing at me and even damaged sub; never in SH5 can I recall it happening correctly.
__________________
JSGME help links and common error solutions |
|
|
|
12-14-13, 06:00 PM
|
#3 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
|
|
|
|
12-19-13, 02:36 PM
|
#4 |
|
A-ganger
![]() Join Date: Jan 2012
Posts: 78
Downloads: 59
Uploads: 0
|
It's not in the AI scripts. In the decompiled files SHSim.act (SH4) and SHim.act (SH5) there is a difference in the controllers cmdr_AICostal Defense.
|
|
|
12-19-13, 05:37 PM
|
#5 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
), will fix this feature one day |
|
|
|
12-25-13, 03:46 PM
|
#6 |
|
A-ganger
![]() Join Date: Jan 2012
Posts: 78
Downloads: 59
Uploads: 0
|
If the tanker is stalking you, change: data\Scripts\AI\Ship-Waypoint
strategy WaypointsCNFW(Ship) precond { !Ship:CanFollowWaypoint() } action { Ship:Goto(0.7,false); ----> Ship:Goto(0.7,true); Ship:SetThrottle(0.7); } } and everything will be fine! |
|
|
12-25-13, 04:51 PM
|
#7 |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Do you mean the bug where the supply ship that we have just refitted from starts following us, ramming our boat if we don't move away quickly enough?
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
