v11 bombing fighters stay home.

Post bug reports and request support here.

Moderators: Joel Billings, Sabre21, elmo3

Post Reply
rmonical
Posts: 2474
Joined: Fri Apr 01, 2011 8:05 pm
Location: United States

v11 bombing fighters stay home.

Post by rmonical »

Hi Morvael,

Thank you for your work on the supply fix.

Since you have the game file, I wonder if you might click through to the next turn and then take a look at this:
Run a bombing mission (F6) from 19 LW Airbase in Stalino to hex 119, 97. The bombers show up but the fighters do not.

Odd.
User avatar
morvael
Posts: 11763
Joined: Fri Sep 08, 2006 9:19 am
Location: Poland

RE: v11 bombing fighters stay home.

Post by morvael »

Stalino is light-urban. Only clear, light woods and city terrain is a valid location for aircraft to fly.
rmonical
Posts: 2474
Joined: Fri Apr 01, 2011 8:05 pm
Location: United States

RE: v11 bombing fighters stay home.

Post by rmonical »

ORIGINAL: morvael
Stalino is light-urban. Only clear, light woods and city terrain is a valid location for aircraft to fly.

Is this recent?

16.1. General Air Mission Rules
Air group units cannot conduct air missions unless the Air base unit they are attached to is located in a clear, city, urban or light woods hex.
User avatar
morvael
Posts: 11763
Joined: Fri Sep 08, 2006 9:19 am
Location: Poland

RE: v11 bombing fighters stay home.

Post by morvael »

Throughout the code I saw many instances of looking for clear, light woods and city terrain, and not urban.
rmonical
Posts: 2474
Joined: Fri Apr 01, 2011 8:05 pm
Location: United States

RE: v11 bombing fighters stay home.

Post by rmonical »

Throughout the code I saw many instances of looking for clear, light woods and city terrain, and not urban.
Interesting because in WITE2, the largest permanent air bases will be urban hexes.

Is that check a function call or are the individual terrain types checked inline each time?

FYI: the way I would implement a rule like this is to make the check a function call on the airbase class and the allowable terrain types a startup parameter.
User avatar
morvael
Posts: 11763
Joined: Fri Sep 08, 2006 9:19 am
Location: Poland

RE: v11 bombing fighters stay home.

Post by morvael »

I think you can find out what the answer is, by reading my previous post :)
rmonical
Posts: 2474
Joined: Fri Apr 01, 2011 8:05 pm
Location: United States

RE: v11 bombing fighters stay home.

Post by rmonical »

ORIGINAL: morvael
I think you can find out what the answer is, by reading my previous post :)
I wish I was retired. This is an C# application?
User avatar
morvael
Posts: 11763
Joined: Fri Sep 08, 2006 9:19 am
Location: Poland

RE: v11 bombing fighters stay home.

Post by morvael »

Not four pluses, only two.
Post Reply

Return to “Tech Support”