
This is planned to be a Collection of the Stuff i create which may be useful to others and shouldn't/cann't be implemented by each Mod which wants to use it individually - therefore i make one package and others who want to use this may add a <dependency> node to their content.xml.
it is fine if you include this Package in your Mod Archive, too - if i make an Update the Mod Folder Name will reflect the Version inside and i will take care that it stays compatible to dependencies of older Versions (will mainly add stuff, and probably never remove something

so if questions arise which Version to keep if there is the choice between multiple just tell your users to keep the highest Version and remove all others

Included Functions:
=> make Crew which comes with <create_ship> functional (fix the dialogue tree)
when you spawn the Ship add some lines after that, like:
Code: Select all
<create_ship name="$ship" macro="macro.units_size_xl_d_capital_destroyer_2_macro" zone="player.primaryship.zone" >
<pilot macro="character_split_m_a_macro">
…
</pilot>
<engineer macro="character_split_m_a_macro">
…
</engineer>
<defence macro="character_split_m_a_macro">
…
</defence>
</create_ship>
<!-- enable custom hanlder for NPC Conversation (fails on actor creation with ship) -->
<signal_cue_instantly cue="md.NPC_Engineer.OnPlatformPopulation_Engineer" param="$ship.engineer" />
<signal_cue_instantly cue="md.NPC_Staff.OnPlatformPopulation_Staff" param="$ship.pilot" />
<signal_cue_instantly cue="md.NPC_Staff.OnPlatformPopulation_Staff" param="$ship.defencenpc" />
[ external image ]