Would that not fall under general events?What about observation outpost missions?
I'm not talking about events, I'm talking about 5 buttons that appear when selecting observation outpost. If I want to change cost, or conditions for those, can I do separately it or can I not?Would that not fall under general events?
My bad, you meant Missions.I'm not talking about events, I'm talking about 5 buttons that appear when selecting observation outpost. If I want to change cost, or conditions for those, can I do separately it or can I not?
What exactly does it mean? How do I ensure this is what will happen?Events: Strictly speaking, an event can't be overwritten. What can be done instead is putting a modified vanilla event (same id) in a new file that will be read before the core file. This will cause the game to accept the mod's event and reject the core one, with a warning sent to the error log.
It is first read, only applied. Once one set of code for any Event ID has been read in, that one can not be overwritten. Any attempt to do so (both by the vanilla files and other mods) should add a error to the error log.What exactly does it mean? How do I ensure this is what will happen?
What exactly does it mean? How do I ensure this is what will happen?
Have you tried common/localisation/english/replace ?The localization override doesn't seem to work for me.
Path is common/localisation/replace, file name is "vacuum_1_english.yml", and the contents are just l_english: pc_barren_cold:0 "Vacuum World" .
Have you tried common/localisation/english/replace ?
I already did it last month:This is a great thread, perhaps someone cares to add the data here to the wiki?
I know, I know, but it's an icky event to change. I think I got it working though, so big win I guess.You don't need to. You can copy individual event handles into a different file in the same folder and add in additional calls into that handle.
If you want to over-ride current calls, over-ride the called event instead.
Of course it is duplicated. This folder works inherently additive, and it is damn good that it does so. Just think about all the hoops we would have to jump through if they overrode one another!I've just mucked around a bit with 00_on_actions.txt. Tried naming the file 00_00_on_actions.txt, 99_on_actions.txt, aa_on_actions.txt and, just for good measure, 00_on_action.txt
Nothing in the error log, only thing I noticed in-game was a few things being doubled (like number of fleets, civilian ships). So presumably on_actions can't be replaced without replacing the whole file.