Jump to content
Sign in to follow this  
chris330

Basic Addon Structure and Needed Files

Recommended Posts

Hi,

I'm hesitant to make a new thread on this but amazingly there are no others already present on this subject or those that are, are not stickied.

Can someone outline the basic files needed for an ArmA 2 addon. I'm at a total loss as to what to do to get a simple addon made and in game. Are there any sample addons out there which can be depbo'ed and used as a template?

And another thing is dePBO still used or does ArmA 2 have different addon file extensions than OFP? I couldn't find anything within the standard Bohemia editing suite download on OFPEC which mentioned anything about dePBO'ing addons. Do we still have the binarize issue for models too? Do we need ODOL explorer to open binarzied p3d models?

All I want is a standard config file to get a simple sphere (ball) into game with a bright colour on it, but it seems more complex than OFP's days and not much instruction anywhere either.

Can anyone help? Thanks ;)

Share this post


Link to post
Share on other sites

Ok I actually managed to get a red ball in game using Brsseb's crate tutorial config from OFP! Once I'm happy with it all I'll post up a simple resume of what's needed in case anyone else journeys through tis topic in the future :)

Share this post


Link to post
Share on other sites
Ok I actually managed to get a red ball in game using Brsseb's crate tutorial config from OFP! Once I'm happy with it all I'll post up a simple resume of what's needed in case anyone else journeys through tis topic in the future :)

Hey Chris,

May I ask which OFP tutorial you used for this? :)

/ ]NTRUDER

Share this post


Link to post
Share on other sites

Hi yeah sure it was the Simple crate one. The one where you make a ship container. That config worked without any alterations at all I only changed all the instances of MyLovelyCrate or whatever he called it to the name of my addon. It worked a treat!

---------- Post added at 12:07 PM ---------- Previous post was at 12:06 PM ----------

If you're that interested the addon config might still be on my drive.

Share this post


Link to post
Share on other sites
Hi yeah sure it was the Simple crate one. The one where you make a ship container. That config worked without any alterations at all I only changed all the instances of MyLovelyCrate or whatever he called it to the name of my addon. It worked a treat!

---------- Post added at 12:07 PM ---------- Previous post was at 12:06 PM ----------

If you're that interested the addon config might still be on my drive.

Yes, I would very much like to see the config if I may? :)

Cheers mate.

Share this post


Link to post
Share on other sites

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";
}
}

I found it. That's the config straight out of the tutorial. If you need any more help understanding what to do to make it applicable to your addon please ask :)

Share this post


Link to post
Share on other sites

Thanks for helping me Chris, despite me obviously being too lazy to search for it myself :D I will take a closer look at the code when I get home.

Cheers :)

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  

×