August 12, 20197 yr comment_51856 So, there are planes that absolutely don't go along with moving [Chief] carriers (that actually should be able to take-off with out issue), like the Avenger. Now, this has nothing to do with DCG. but with the game itself. Knowing that, what kind of wourkarounds in DCG are there for that? For example, in a Kyushu map, there are the moving carriers and there is Townsville airfield. My first idea is to assign Avengers to Townsville airfield, but that would defeat the purpose of having carries in the first place. Other workaround would be assign Avengers to Townsville airfield and place a static carrer, but then, why have chief carriers in the first place then. What other workarounds would you thing would be good? Would adding something like [number_Chief] NORMFLY 189432.94 166343.06 300.00 300.00 NORMFLY 189842.50 167100.62 600.00 300.00 or [Carrier_name] or [Carrier_class] (like Ships.HMSIllustriousCV, for example) to airfields.dcg work? Report
August 13, 20197 yr comment_51867 Are you using wind? I haven't seen too many issues with Avengers off fleet carriers (escort carriers, yes) in good weather. In storms, almost every takeoff will have planes crashing no matter what type they are. Report
August 13, 20197 yr Author comment_51872 Yes, I'm using wind. I'm trying to make them take-off British Illustrious carriers. Check thishttp://www.mission4today.com/index.php?name=ForumsPro&file=viewtopic&t=24149 Corsairs, Seafires and Hellcats take-off without issue Report
August 15, 20197 yr comment_51900 Using wind, probably you have to have the Illustrious sailing into the wind (and my code doesn't consider wind...though it probably should). Report
August 16, 20197 yr Author comment_51911 On 8/15/2019 at 12:16 AM, Lowengrin said: Using wind, probably you have to have the Illustrious sailing into the wind (and my code doesn't consider wind...though it probably should). That would be REALLY bothersome to implement, I guess. Because basically, you'll have to check carrier/airplane combinations that make planes accident prone* and, if there are, place the first two waypoints of ALL the taskforce in a way that the movement is parallel to the wind. AND it should check if they are in the patrol box specified in the prd file. Maybe those two waypoints should be the vertices of the patrol box that are more apart? *Maybe a file for that? Something like carrier_plane.dcg. If user places a plane/carrier combination, DCG modifies waypoints, or whatever, so modders can add their own plane/carrier combo. **Or maybe, don't check and always place the two waypoints so velocity is parallel to wind speed. Report
August 16, 20197 yr comment_51916 Yeah, I have been pondering how to do it best without taking the "dynamic" out of it. Report
August 17, 20197 yr Author comment_51925 You could take the unitary vectors that define every side of the payrol box and point multiply with the unitary vector of the wind. The first waypoint should be on the side in which the product of vectors is less. The second waypoint should be on the side that gives the most distance to the first waypoint. Edit: I don't know what I was thinking. Just calculate the max lentgh formed by a segment paralell to the wind, inside the patrol box. Get the equation of the segment and evaluate points from the easternmost point of the patrol box. Report
August 18, 20197 yr Author comment_51935 Would it be possible to share how will you do it? Because I thought about different solution algorithms and I want to know which one will you use Report
August 18, 20197 yr comment_51936 I haven't decided yet and probably won't until I review the existing code. Report
Create an account or sign in to comment