Hi editors,
I was wondering whether the following is possible: including the contents of an addon in a mission's .pbo file, and loading that content and config when the mission starts. I don't want to have a separate addon file that must be loaded.
Let's say I have an addon that defines a new soldier type, the radioman. It has a config.cpp that does:
class CfgVehicles {
class WBSoldier;
class WRTOSoldier : WBSoldier {
// bla
}
}
Could I just take that config.cpp file and include it from the mission's description.ext, and use the new soldier type within the mission? If not, is there another way that this could be done?
Thanks!
Doomguy