Jump to content
Sign in to follow this  
Sennacherib

problems with binarize

Recommended Posts

hi,

when I binarize addons, they don't appear on the map. when I run binarize, I have no errors, but nothing appears in game.

i try to create hedgerows, so I use BIS proxies and models for the trees and the bushes. btw the models appear in wrptool.

someone could explain to me, the good way to use binarize. do i need a cpp, for objects which will be on a map? :(

Share this post


Link to post
Share on other sites

I don't know for your building, but to binarize correctly you should have a config.cpp with a class CfgModels that has your building defined in it.

Try this :

// some basic defines
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7

#define true 1
#define false 0

// type scope
#define private 0
#define protected 1
#define public 2

#define WeaponNoSlot				0// dummy weapons
#define WeaponSlotPrimary		1// primary weapons
#define WeaponSlotSecondary	16// secondary weapons
#define WeaponSlotItem			256// items
#define WeaponSlotBinocular	4096// binocular
#define WeaponHardMounted		65536

#define ww4untrained 1
#define ww4experienced 1.5
#define ww4trained 2
#define ww4spectrained 4
#define ww4elitetrained 8


class CfgModels
{

class Default
	{
	sections[]={};
	sectionsInherit="";
	};

class YourP3DName:Default {};
};

Share this post


Link to post
Share on other sites

ok, thx, i'm going to try this.

could you check my p3d?

An other thing, if i can understand, how works the paths lod and the roadway lod, that would be great.

I know how to create them, but for example, i don't understand:

-class: map

or

-canocclude

0

etc etc.

in fact, I just need an example.

Share this post


Link to post
Share on other sites

I'm very far from a building p3d specialist.

You can try to give a look into the bunker model i did in ww4 :

http://www.sendspace.com/file/w47wxm

It's not a complex building and has a simple path lod so it may be easier to understand than for a house.

And check Brsseb lesson about house building, there's some explanation about roadway and path lods :

http://ofp.gamepark.cz/_hosted/brsseb/tutorials/lesson8/lesson8_a.htm

Share this post


Link to post
Share on other sites

thx mate. ;)

I have always a problem with the "inpos" , so your model will be useful, to understand this stuff :D

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  

×