Hello guys. I'm trying to fiddle around with modding, but I am not understanding how submods actually work. I gave a search on the help section, and the closest thing I found was this:
https://openxcom.org/forum/index.php?topic=8284So, for example, I will make a submod for x-com files, it's the one I have installed here atm. This one is a master mod, so I set my metadata.yml to point to xcom files as the master. No problems there.
Now, let's say I'll create a new soldier type, pretty much the same as the regular soldier from xcom files, but with higher strength melee and no psi skills. I cannot inherit anything from the original soldier - on ufopaedia it's mentioned anchors are only a copy paste, not actual inheritance. And, for that, I would have to edit the original mod and add the anchors anyway, not an option.
So I copy pasted most of the things from the original soldier, and edited the stats I wanted. And then it comes to this part of the soldier definition:
deathMale: [41, 42, 43, 135, 136, 137, 138, 139, 140, 141]
deathFemale: [44, 45, 46, 160, 161, 162, 163]
panicMale: [701, 702, 703, 704, 705, 706, 707, 708, 709]
panicFemale: [731, 732, 733, 734, 735, 736, 737]
berserkMale: [801, 802, 803, 804, 805]
berserkFemale: [831, 832, 833]
anything above 100 are sounds the original mod replaced, defined it in their own extrasounds.rul, and using resources > sound_compilation folder to access the media.
Is there a way to point, in my mod, to use the folders which already exist on the master mod? The alternative would be to replicate every file from the original and index it in my own mod, but that is too much redundant and suboptimal.
The thread I pointed above was from 2020; is there, in the current OXCE, any options regarding this? I didn't find anything in ufopaedia, so I guess not, but just to be sure.
Thanks.