![]() |
This is not good: I'm just outside Scapa Flow and I enable the in-game AI debugger so I can see what the AI is doing. I click on any ship and the game crashes :o :shifty: There's a problem somewhere in IRAIs code and now the time consuming task of playing isolation begins :dead:
If I disable IRAI I can click on any ship and the game doesn't crash. Wonderful :-? |
This makes no sense. I disabled everything (AI code wise from IRAI) and am able to click on any ship without crashing. I slowly added one thing at a time until everything was re-enabled and I can still click on any ship without crashing :hmmm: This makes me suspect a rogue ship in the roster...something is wrong with one of them.
On a good note I figured out why ships come to a stop sometimes! Do you see anything wrong with this line of code: !Ship:GetRole() == ROLE_IDLE and !Ship:GetRole() == ROLE_ERROR_BATTLESHIP and !Ship:GetRole() == ROLE_ERROR_ESCORT This was a sinister bug!! The game wouldn't crash because of it. Here's what it should be: Ship:GetRole() != ROLE_IDLE and Ship:GetRole() != ROLE_ERROR_BATTLESHIP and Ship:GetRole() != ROLE_ERROR_ESCORT Now they keep looking/searching for you :DL |
Well they did keep searching/looking for me except for when they got into shallow water. Once that happened they froze, won't do anything. We need to increase the water depth in scapa flow! :yep:
|
Quote:
We did try this without any improvement - could that have been due to the other error that you posted:06: |
Were the ships close to the shore when they stopped (this will be hard to fix depth) or was it just shallow water out in the middle of the bay:06:
|
Quote:
|
Quote:
|
I just edited the map2 raw file with photoshop to see if I could make the water deeper that way...testing now
|
That didn't work as expected. All the terrain data must reside in \data\Terrain\Data\TerrainData.BFD and .BFI :hmmm:
|
AFAIK the terrain data ist stored to Terrain/Data/Detailmasks/ in RAW files and dds files.
:hmmm: |
Quote:
|
Quote:
|
And how deep the water needs to be to not stop the AI working.:hmmm:
|
Quote:
|
We need to test at which depth the AI is not working anymore:06:.:-?
Maybe the dds files stores the changes with terrain editors texture brushes, the raw files for noise, circular and the other hight map related brush (starting game to check the name atm). Edit: Level Brush to smooth the terrain |
All times are GMT -5. The time now is 05:58 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.