So I wanted to make a simple mod that triggers a sound when a colony ship is completed.
Turns out that is a lot harder than I thought.
So I've added the sound just fine and can play it from an event I made to test it.
My flawed approach so far has been create event -> trigger via on_action on_ship_built if colony ship. This only worked if the event wasn't hidden, I can't get a hidden event to play the sound.
I've looked through quite a few game files to find where the triggers for ship completion or any sound trigger really, are stored.
My question is are the games context based sound triggers mod-able and if so where are they stored?
Turns out that is a lot harder than I thought.
So I've added the sound just fine and can play it from an event I made to test it.
My flawed approach so far has been create event -> trigger via on_action on_ship_built if colony ship. This only worked if the event wasn't hidden, I can't get a hidden event to play the sound.
I've looked through quite a few game files to find where the triggers for ship completion or any sound trigger really, are stored.
My question is are the games context based sound triggers mod-able and if so where are they stored?