====== OFP 3D Modeling ====== [[https://www.pmctactical.org/forum/viewforum.php?f=43|OFP Forum]], [[:ofp|OFP Home]], [[ofp:file_formats|OFP File Formats]], [[ofp:tools|OFP Tools]], [[ofp:missions|OFP Missions]], [[ofp:modeling|OFP 3D Modeling]], [[ofp:terrain|OFP Terrain]] **Operation Flashpoint (OFP)** aka ArmA: Cold War Assault (CWA) OFP has a wide range of vehicles and other models available in-game. However, many fans wanted to expand the OFP experience with different aspects of war and other fun modifications. Bohemia Interactive responded and have created their own modeling tools called [[ofp:tools:oxygen2|Oxygen Light]] (or O2 for short), and a model previewer called Oxygen Viewer (also referred to as ''Buldozer''). If you are looking to learn modeling in OFP then you can view some tutorials and example models on the [[http://www.flashpoint1985.com/breathe/|Breathe page]] or on the Modeling Tutorials page. ====== Basic Information ====== Model detail in Operation Flashpoint has practically no limits, but for the sake of keeping game-play fluid staying under 5000 polygons is advisable. No model in OFP can have more then 32,767 faces or vertices. Vertices somewhat correspond to O2 points, but there are usually more vertices than points, due to different UV mapping or Normals. Flashpoint uses a "LOD" (Level of Detail) system. The concept of LODs comes down to having different models for different view distances (the greater the distance, the less detailed the model). It is up to the addon designer to create and optimize these model variations. LODs are also used for other purposes, such as identifying solid mass, walkable areas, hitzones, shadows, etc. Flashpoint uses textures with dimensions that are sized 2^* (such as 32, 64, 128..., up to 4096). Commonly, texture sizes of 512 and 1024 are used. An addon-maker should attempt to use as few textures as possible. Note: a texture of 512x1024 has a texture ratio of 2 ( 2x512=1024). If the texture ratio gets above 8, chances are that Operation Flashpoint will have trouble dealing with this texture. This is still under investigation after dedicated servers crashed when using an addon which contained such a texture. ====== Geometry ====== Geometry LOD basic info can be found [[ofp:modeling:geometry_lod|here]] ====== Animations ====== Animations information can be found [[ofp:modeling:animations|here]] ====== Level of Detail ====== Level of Detail (LOD) files are described [[ofp:modeling:lod|here]] ====== Modeling Tutorials ====== Many tutorials can be found under our [[ofp:modeling:tutorials|modeling tutorial list]] page. [[ofp:modeling:addon_optimization_guide|OFP Addon Optimization Guide]] by nephilim. ====== Muzzle Flash Bug ====== How to get rid of the muzzle flash bug, read [[ofp:modeling:muzzleflash|here]]. ====== Named Properties ====== Named Properties information [[ofp:modeling:named_properties|here]] ====== Named Selection ====== Named Selection information [[ofp:modeling:named_selection|here]] ====== Validating Geometries ====== Validating geometries, check more information [[ofp:modeling:validating_geometries|here]] ====== Token Names ====== tokennames check info [[ofp:modeling:tokennames|here]] ====== Reference Sites ====== Editing reference sites list [[:reference_sites|here]] ====== Re Texture Objects ====== To retexture objects, read this page [[ofp:modeling:retexture|here]] ====== CfgVehicles Config Reference ====== The main OFP config stuff, a lot of information how to make OFP addon "work". Check details [[ofp:modeling:cfgvehicles_configref|here]] ====== Config.bin ====== Config.bin is the binarized or optimized config.cpp file. Read more details [[ofp:modeling:config.bin|here]]. ====== Config.cpp ====== Config.cpp is the main OFP config, its pure text file. Read more details [[ofp:modeling:config.cpp|here]]. ====== Weapon Proxy ====== Weapon Proxy's for aircraft's, read [[ofp:modeling:weaponproxy|here]]. ====== Keep Height ====== Feature that makes fences and roads stick to ground level, read [[ofp:modeling:keepheight|here]]. ====== Binarize Errors ====== How to know all those errors and fix them, read [[ofp:modeling:binarize_errors|here]]. ====== Helmet Visible in vehicles ====== If your soldiers helmet is visible in pilot-view inside a vehicle, read [[ofp:modeling:helmet_visible|here]]. ====== Weapon Models ====== Weapon modeling details [[ofp:modeling:weapon_models|here]]. ====== Vehicles Tank ====== Tank modeling details, [[ofp:modeling:vehicle_tank|here]]. ====== Vehicles Car ====== Car modeling details, [[ofp:modeling:vehicle_car|here]]. ====== Vehicles Aircraft ====== Aircraft modeling details, [[ofp:modeling:vehicle_aircraft|here]]. ====== Convert P3DM to OFP MLOD ====== If you need to convert ArmA MLOD (P3DM) format p3d into OFP readable MLOD format, do the following. - Use ArmA O2PE the "export" version to load up the p3dm p3d file. - Use Tools -> Mass Texture & Material renaming... feature to shorten paths/filenames (if necessary). - Choose File -> Export -> P3D Old Version... Now your model is saved in the OFP MLOD p3d format. Now you can proceed to binarize it with OFP binarize etc.