Here is the hull image:
https://dl.dropboxusercontent.com/u/18243056/customflagship/drop%20hull.ftlIt's just one file, only slightly modified. I made it a pixel wider so there is some space at the end before it resets over when it goes above 22 hull. It seems to work fine, was 241 px before and is 242 now, so I think it's 11 px per hull point lost either way.
About events, I don't think the flagship can 'surrender' or 'escape' (events triggered by low hull), since it doesn't have a <ship> tag - the thing that calls a ship in events.
But if you want to just add something to an event whether it's CE or not, you should check out the readme_modders.txt file in slipstream, in particular 'advanced xml' tags. It should look something like:
events_boss.xml.append:
Code: Select all
<mod:findName type="event" name="BOSS_TEXT_1">
<mod-append:status type="limit" target="enemy" system="oxygen" amount="0"/>
</mod:findName>
Just need to make sure it's compatible with whatever else CE does (I don't think you can have two tags that limit enemy systems in the same level of an event (right next to each other), for example, and you also wouldn't want to 'limit' it just for CE to 'clear' it right after). You can go deeper into events with more findName or findLike tags, and if slipstream doesn't find such an event, it just won't do anything. Similarly, you can use it to add other conditions, mostly anything that you can think of, with other tags, without changing the base any.
If you need help with it, just say what exactly you need it to do.
It's possible you don't need any of this and can just do what Sleeper Service says and replace the whole event, but you may end up with some leftovers like CE texts even if a player isn't playing it, or even more parts of the event that would be unusable.