OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Doomguy on 11 Dec 2008, 12:20:45
-
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
-
Are you trying to create an addon in a mission?
-
Sadly, no. It'd be quite rad though if config addons could be included in the mission file; would allow for quite a lot more creativity from mission makers! :good:
But sadly, no.
Wolfrug out.