Results 1 to 5 of 5

Thread: problems with binarize

  1. #1

    problems with binarize

    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?
    Sennacherib aka d@nte

    Un ali mat zo mat bepred Ha pa ve digant ur sot e ve

    (Good advice is always good, even though it comes from an idiot).

  2. #2
    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 :
    Code:
    // 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 {};
    	};

  3. #3
    Warrant Officer Sennacherib's Avatar
    Join Date
    Feb 1 2006
    Location
    Brittany
    Posts
    2,046
    Author of the Thread
    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.

  4. #4
    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/brsse.../lesson8_a.htm

  5. #5
    Warrant Officer Sennacherib's Avatar
    Join Date
    Feb 1 2006
    Location
    Brittany
    Posts
    2,046
    Author of the Thread
    thx mate.

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •