I also see some uses of this patch with ship-to-ship communications, esp. merchant to escorts or destroyer-destroyer
I am already venturing down that route
I have made radio room and antenna damage boxes small enough that it won't be very easy to disable them, unless we are very close to the target. Yet, in some cases they are pretty close to fire boxes, so there's a chance that they will get damage from explosion blasts of from spreading fires. There's probably space for some zone settings and box placing adjustements, but final finetuning will be possible after the first test reports
A torpedo hit should take them out if it's located in the right spot
I have not placed receiver antenna boxes yet. But adding them won't be that difficult. In most cases, duplicating the transmit antenna box will be enough I think.
That will work. You are not limited to only one radio room and/or antenna. You can define up to 15 (0xF) of each (that's how I coded it). What I did was every time I encountered a radio room and it's damage level was less than the damage level defined in the patch file I incremented a memory address by 0x1. Every time I encountered a transmit/receive antenna I incremented that same memory address by 0x10. Then at the end of the function I checked the value in that memory address for at least 0x11. If the value was at least 0x11 then unit was able to transmit/receive radio. A value is passed to the function that tells it whether unit is trying to transmit or receive radio (that way function knows what to look for and uses correct zones/memory addresses). Pretty brilliant if I do say so myself
yep, part because of my laziness, part because in some cases I din't know where to place the antenna box, not all the ships got one. After all I knew you were going to patch up the flaws of my work
Too busy writing code. I'll just report what I find and let you all fix it. I'll do the 'hard' stuff
A couple of questions:
- since we are at it, what do you think about extending you radio damage patch to airplanes?
I can expand it to anything. I can write code to do anything (within my limits). My level of knowledge of the game is increasing exponentially now since I have a good majority of the game deciphered/mapped out.
- could you do a new patch that will look for a "cockpit" and "pilot" boxes aboard planes? The cockpit box could be placed directly on plane models, whereas the pilot one would be better placed on the 3D model of the aviator. If either the cockpit or all the pilots aboard the plane are destroyed, the plane loses control... what do you think?
The only loss of control I can do is cut the engine. I don't know how to rotate them yet. By cutting the engine it should induce a loss of control because the game will try to maintain altitude by pitching the nose up. Eventually the speed will die off and the unit should lose control on it's own.
The other things I was thinking about was specifying zones where all the sensors are located (hydro/sonar/etc.). That way I can check to see if those zones are damaged to a certain level and if so render that sensor useless (I'll have to figure out sensors yet but I already know where they are located in the code).