Jump to content
Sign in to follow this  
***friendlyfire***

can sum 1 help

Recommended Posts

I cannot get a hold of config I have created a model in oxygen but thats it, no textures or anything, I want to test how it looks in game, Anyone who wants to help with the cpp is more than welcome to PM me and I will E-Mail them the P3D model wink_o.gif

Share this post


Link to post
Share on other sites

heres a totally basic cpp

this will only show your addon up as a static building but at least you will see how it looks ingame.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">// type scope

#define private 0

#define protected 1

#define public 2

class cfgPatches

{

class MyFirstAddon

{

units[] = {MyFirstAddon};

weapons[] = {};

requiredversion = 1.0;

};

};

class cfgVehicles

{

class All {};

class Static: All {};

class Building: Static {};

class NonStrategic: Building {};

class TargetTraining: Nonstrategic {};

class TargetGrenade: TargetTraining {};

class MyFirstAddon: TargetGrenade

{

vehicleClass = "MyFirstAddon";

model="\MyFirstAddon\MyFirstAddon.p3d";

armor=20000;

scope=2;

displayname="MyFirstAddon"

};

};

just change the "MyFirstAddon" bits with your own addons folder\modelnames

Scanger :D

Share this post


Link to post
Share on other sites

dwl pbotool or umakepbo

ull can fid for example on ofp.info under utilities

put all ur stuff (p3d config.cpp) in ur addon folder

and pbo it

then place the pbo file in ur addons folder in the ofp resistance directory

@scanger

y didnt u post a chopper cfg rock.gif

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  

×