Is a bomber strike range sprite possible?

Post Reply
User avatar
epower
Posts: 69
Joined: Mon Jul 15, 2019 12:43 pm

Is a bomber strike range sprite possible?

Post by epower »

While fighters have both escort and intercept range sprites displayable on the second and third mouse click, Bombers do not. I've played around with empty spots in tile_highlight_sprites files without success. The dummy graphics I placed in those spots don't appear.

Am I missing anything or is this hardcoded and thus requiring a Hubert or Bill intervention to add?

Cheers,

epower
User avatar
Hubert Cater
Posts: 6063
Joined: Mon Jul 22, 2013 11:42 am
Contact:

Re: Is a bomber strike range sprite possible?

Post by Hubert Cater »

Hi,

To clarify the tile_highlight_sprites.png file is indeed pre-coded for each specific sprite. e.g. adding some in there will not have an effect in game unless the game is looking to draw one of those sprites for a specific reason.

To help me better understand, is the desire to have the friendly escort/intercept range shown when clicking on a bomber, e.g. from the available fighters in the area?

If so I can add it to my list of things to consider, but off hand it is not unfortunately a straightforward task as those values are calculated when clicking on the fighter itself, and I'd have to sort out figuring out what is in the area in terms of fighters first and then do an overlapping and filtering calculation and draw that on the map. It's perhaps doable, but would take some effort etc.

Hubert
User avatar
Hubert Cater
Posts: 6063
Joined: Mon Jul 22, 2013 11:42 am
Contact:

Re: Is a bomber strike range sprite possible?

Post by Hubert Cater »

But if it is just a matter of knowing the available targets that a bomber can reach, this is essentially now an option via the OPTIONS->ADVANCED screen and selecting to turn on either the 'Enemy Target Highlights' option, and/or the 'Estimagted Losses Highlights' option.
User avatar
epower
Posts: 69
Joined: Mon Jul 15, 2019 12:43 pm

Re: Is a bomber strike range sprite possible?

Post by epower »

Thanks Hubert. No need to tie in the fighters. Their escort and attack range is nicely available by clicking on the fighter unit and has a specific sprite in tile_highlight_sprites. Rather, I was hoping to create a separate sprite for bomber operational range so I could simply click twice on the bomber unit(s) (Tac, Medium, Maritime, Strategic) as I can for a fighter or carrier unit. That way I could easily determine operational radius rather than counting hexes.
Something similar to this but for bombers too:

Image


<Clicks on bomber unit then takes a closer look at map>, oh, so that's what those red hex highlights are when I click on the bomber units... D'oh! I do have 'Enemy Target Highlights' and 'Estimated Losses Highlights' activated but didn't make the red hex highlight connection.

Still, if there's a simple way to add my requested feature that would be great. If not, I now know about the red hexes.

Cheers,
Post Reply

Return to “MODS and Scenarios”