![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
02-17-14, 03:22 PM
|
#1 | ||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
![]() Hope you find a way to fix the jammed coastal artillery and, please, don't forget the catapult-launched search planes idea Quote:
|
||
|
|
02-17-14, 05:08 PM
|
#2 |
|
Black Magic
![]() |
Let's discuss why the coastal defenses, in stock game form, are not able to track targets. They first have to track targets before they can engage them. I've found two 'problems' with how the game engine handles coastal defenses:
1) how the game engine places the coastal defense in 3D space 2) how the game engine tests to see if unit is able to track targets For #1 because of how the game engine places coastal defenses in 3D space one part of them always ends up being below the maximum depth for location. When this happens it's an automatic 0 for number of targets unit has detected. Piss poor coding on devs ![]() For #2 the game engine only lets certain units track targets. Coastal defenses are not one of them. Once again piss poor coding by devs I have devised patches to correct #1 and #2 above so coastal defenses can track units. Now since the patches allow the coastal defenses to track units they should be able to engage them correct? The answer would be yes but sadly, they do not I haven't figured out why yet but I'm fairly certain that #2 is being applied when the game engine checks if unit can fire weapons against a contact. I'm still searching for the code that handles this.So aggravating to see such piss poor quality control in this game. One would say don't blame the devs but rather blame the management. In this instance this is just total piss poor coding by the devs with total lack of QC on the code |
|
|
02-17-14, 10:59 PM
|
#3 |
|
Black Magic
![]() |
Working on new version of Generic Patcher. Here's what is currently involved in new version:
- The patch for artillery (coastal defenses) and anti-aircraft units that allows them to acquire and track contacts is complete and works as designed. If they detect any contacts they will advise other units via radio ![]() - Revised the units must use radio patch so that it takes into account the null pointer of the coastal defenses (thus coastal defenses have a radio and can use it to inform other units of it's contact). Also fixed bug in not all units being checked to see if they have a radio and can use it. Noticed some strange behavior of AI and am currently investigating why something happened It deals with a ship that got a contact via radio from a coastal defense unit. The ship was NE of the contact about 21km away from it and around the side of an island. While attempting to come around the side of the island it (ship) beached itself and got stuck in the shallow water
|
|
|
02-17-14, 11:08 PM
|
#4 | |
|
Ace of the deep .
|
Quote:
|
|
|
|
02-18-14, 01:51 PM
|
#5 |
|
Black Magic
![]() |
Some good news related to coastal defenses guns: I found where in the code it deals with weapons, specifically guns
Now I just have to map out the weapons controller and learn how to use it and should be able to get the coastal guns to fire it's guns.The other good news is that the game recognizes the coastal defense's weapon controller defined in it's sim file. I saw the game check that controller for something and it failed the check as it immediately returned from the function. Once I learn how the weapons controller works and I map it out I should be able to make some sense out of why the coastal gun's weapon controller is 'failing' whatever check it's doing. @sober - not sure if it's path related or what. It looks like IRAI is part of the problem also I really need to find the AI collision routines in the code so I can see how/when the game determines a unit is about to collide with land.
|
|
|
02-18-14, 02:07 PM
|
#6 | ||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
![]() Quote:
|
||
|
|
02-18-14, 02:17 PM
|
#7 | |
|
Black Magic
![]() |
Quote:
Like the scapa flow problem with the PT boats at times...
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
