ShadowOps 0 Posted May 7, 2009 Hello I've been mission editing and scripting ever since OFP, but I'm new to addon creation, so apologies if this question is a bit noobish :) For a first project to learn some of the basics, I'm wanting to add two new units, 1 for the west-side and 1 for the east-side, using existing models / textures from the game, specifically 2 Civilians. I've read the BIS wiki article on CfgVehicleClasses ( http://community.bistudio.com/wiki/CfgVehicleClasses), which seems to cover what I'm trying to do. I've also had a look at the config.cpp files of some other addons. I'm guessing that the external references (existing vehicle classes) used in the cfgVehicle class are used to determine which side the new unit will be listed under. What I'm not sure about though is whether you can use an existing unit model from one side to create a custom unit for another side. If anyone has any advice about this, I'd appreciate it. Share this post Link to post Share on other sites
PuFu 4600 Posted May 7, 2009 (edited) external references are used to inherit properties from that specific class yes you can use an existing model on any configed unit, on whatever side you feel like: http://community.bistudio.com/wiki/CfgVehicles_Config_Reference#side so basically: class civilian_BIS;//extern class civilian_example: civilian_BIS { side = 0; }; would add a civilian named civilian_example inheriting from civilian_BIS on the EAST side. Note that the class names are not existing in the BIS configs, i have invented those as an example. If you would like to add the civilian class name civilian_BIS (so without creating a new class name), you would need to just change the side of that to a different one. Adding units needs to be defined in the CfgPatches section Edited May 7, 2009 by PuFu Share this post Link to post Share on other sites
ShadowOps 0 Posted May 10, 2009 Thanks pufu. It's working perfectly now. Next thing for me to look into will be retexturing. Share this post Link to post Share on other sites