Page 1 of 1

How to change combat target type?

Posted: Mon May 04, 2020 5:47 pm
by The Land
I can see how to change the names of combat target types. But I can't see how to change the actual target types - in Combat Target Data this is greyed out. Is there a way to do this, or am I stuck with whatever unit occupies Unit Type 1 being associated with Target Type 1 and so on?

Also, while I'm here, what's the best way to avoid crashes on changing the map size? I end up with crashes when attempting to save because the game can't find the hexes it wants for the scripted convoy events - do I need to delete every reference to any no-longer-existent hex in the script files?

Thanks!


RE: How to change combat target type?

Posted: Tue May 05, 2020 4:55 am
by El_Condoro
Target Types are hard coded. At least, they were when I wanted to change them and asked about it a few months back. I have no answer to your second question. I suspect your answer is the correct one.

RE: How to change combat target type?

Posted: Tue May 05, 2020 5:00 am
by The Land
ORIGINAL: El_Condoro

Target Types are hard coded. At least, they were when I wanted to change them and asked about it a few months back. I have no answer to your second question. I suspect your answer is the correct one.

Thanks El Condoro! That makes sense.... :) I shall work with what there is...

RE: How to change combat target type?

Posted: Tue May 05, 2020 3:31 pm
by BillRunacre
ORIGINAL: The Land

Also, while I'm here, what's the best way to avoid crashes on changing the map size? I end up with crashes when attempting to save because the game can't find the hexes it wants for the scripted convoy events - do I need to delete every reference to any no-longer-existent hex in the script files?

Thanks!

I'm surprised it's crashing, but it is probably a good idea to amend the convoy script file before saving.