Jump to content
Sign in to follow this  
bjarnidk

Cannot find my model in editor

Recommended Posts

Hey, I'm following this tutorial for OFP: http://ofp.gamepark.cz/_hosted/brsseb/tutorials.htm (the crate one).

And the config reads as follows:

class CfgPatches
{
class Crate
{
	units[] = {Crate};
	weapons[] = {};
	requiredVersion = 1.0;
};
};
class CfgVehicles
{
class All {};
class Static: All {};
class Building: Static {};
class NonStrategic: Building {};
class TargetTraining: NonStrategic {};
class TargetGrenade: TargetTraining {};

class Crate: TargetGrenade
{
	model="\crate\crate";
	armor=20000;
	scope=2;
	displayName="My lovely crate";
}
}

However, in the editor, I can't find it in: 'Empty/objects'.

I'm not sure where else to look. I placed the .PBO in: C:\Program Files (x86)\Steam\SteamApps\common\arma 2 operation arrowhead\Expansion\Addons

I also tried to place it in an @addon (random addon) AddOns folder but that didn't help either.

Any help appreciated, thanks!

Share this post


Link to post
Share on other sites

Man are you in awesome luck! I just finished the tutorial you did under 2 days ago, and had the same issue (I used Arma 2 but, not an issue).

This is the config file that will work (Thanks to PVPScene)

class CfgPatches
{
   class YourTag_Crate
   {
       units[] = {"YourTag_Crate"};
       weapons[] = {};
       requiredVersion = 0.1;
       requiredAddons[] = {"CAData"};
   };
};
class CfgVehicles
{
   class Thing;
   class YourTag_Crate: Thing
   {
       scope = 2;
       displayName = "LOLOLOL";
       model = "\YourTag_crate\YourTag_crate.p3d";
       armor = 20000;
   };
};  

---------- Post added at 18:40 ---------- Previous post was at 18:38 ----------

Also, sir. You posted this in Arma (Original) forums. Since you have CO, It would have been ideal to check the A2 Editing section, where this exact fix is! But none the less, good luck. I felt awesome when I finished the tut and had a working model haha.

https://dl.dropbox.com/u/23389642/arma2oa%202012-08-03%2019-21-47-90.png (786 kB)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×