This is an old revision of the document!
Table of Contents
Port OFP addon to ArmA
Overview
To port your OFP addon into ArmA, the p3d model must be in MLOD format for ArmA to read it. All textures must be present, so you need to be careful to collect all those Data\ and O\ textures from CWC and Resistance addon dirs. Configs are the one part that needs “complete” overhaul.
If you just want to get your model ingame, you can use the OFP texturing, but if you want to really optimize it for ArmA then you need to merge the textures to one or perhaps two big texture files.
Aircraft
This is aircraft port details like cessna and jet aircrafts.
Building
This is building port details like basic houses, gates, piers, bunkers and so on.
Car
This is car port details like skoda, jeep or truck.
Helicopter
This is helicopter port details like uh60, huey or hind. Here is quick dirty overview by granQ I think.
Completly New cfgBones and cfgModels section.
Added in the cfgVehicles:
mainRotorSpeed = -1; rotorBig = vrtule_velka; rotorBigBlend = vrtule_velka_bl_; rotorSmall = vrtule_mala; rotorSmallBlend = vrtule_mala_bl;
Need to change the way vehicles are defined.
Removed 2 last “lods” because it need lods with higher details not less.
Renamed the front lights to “lights” and removed the czech name to avoid CTD.
Change the “include” thing from #include “cfgVehicles.hpp”; to #include <cfgVehicles.hpp>
Updated the cfgpatches so it doesn't require version 1.96
Disabled the weapons, turret and eventhandlers script and let it use normal BIS crew.
Removed all textures and selections. Got it ingame, still gives few error in arma.RPT but not any warnings ingame.
Tank
This is tank port details like M113, M1A1 or T80.
Soldier
Soldier porting is not possible at the moment, all what we have been reading on forums and in private messages is that too much have been changed and any MLOD models by default arent working because they need animations which we cannot do before the official BIS tools are released.
Vegetation
This is vegetation port details like trees, bushes, grass, rocks etc.
Porting vegetation objects is quite easy. Here are the steps PMC used when porting over VTE objects.
1) Open model in O2, renumber the LODs to 1, 2, 3, 4, 5 etc.
2) In Geometry change the class to treeSoft, treeHard, bushSoft or bushHard if your object is one of those.
3) If you have forest objects, in Geometry add placement to slope property name.
x) Create shadowVolume LOD (which PMC cannot do at the moment, *crying*. Check out shadow tutorial).
If you do not use geometry class=treeSoft (or bushsoft etc) then your vegetation will not “sway” in the wind.
Also many of our roads had missing geometry value of map=road in them, so they did not display at ingame map view.
Weapon
This is weapon port details like hand guns, rifles and rocket launchers.