V-Swapper - Exchange OFP objects for ArmA ones

ArmA editing, missions, modeling, textures, terrains

Moderators: Snake Man, Lone Wolf

Gnat
1st Lt
Posts: 120
Joined: 2004-01-07 08:46:56

V-Swapper - Exchange OFP objects for ArmA ones

Post by Gnat »

A Quick-n-Dirty tool to help out (well it helped me)

V-Swapper
Made this tool to take a Swap Definition file (per definitions in the PMC OFP objects in ArmA post) (OFP_2_ArmA-ObjectSwapDef.txt) and match to a OFP Wrp file Object Dump (OFP_WrpObjectsDump.txt).
The dump file has the OFP object and its XYZ-Orientation data in it.

If you then process these out to a Swap file (Swap_Output.txt) this can be used by the Visitor "Import Objects" script.

When the tool does the swap, it also produces a bunch of report files, most important is the "Visitorpaste" file which can be used in Visitor 3 to pre-populate your object definitions list before you run the import script.
Visitor will only allow 12 objects at a time, hence the file layout.

Hope its of some help to someone.

Image

FILES with example outputs;
http://members.iinet.net.au/~nrspence/ArmA/VSwapper.rar

BTW Snake Man, your OFP Wrp Object dump file has no Orientation (all are zero). Any chance you can fix this please. I really dont feel like rotating 4000 objects.
Thx
Gnat
1st Lt
Posts: 120
Joined: 2004-01-07 08:46:56

Post by Gnat »

Might want to remove these addons;
O\Hous\domek01 -> ca\buildings\sara_domek01
O\Hous\domek02 -> ca\buildings\sara_domek02
O\Hous\domek03 -> ca\buildings\sara_domek03
O\Hous\domek04 -> ca\buildings\sara_domek04
O\Hous\domek05 -> ca\buildings\sara_domek05
from any object swap list you use.

The ArmA models don't seem to appear in Visitor and cause it to crash.
Snake Man
Commander-In-Chief
Posts: 9950
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC

Post by Snake Man »

Ouch, ok thanks for letting us know.
PROPER.Q
Recruit
Posts: 12
Joined: 2007-12-11 20:30:53

Post by PROPER.Q »

Awesome :!:

Thanks a bunch guys 8-)

Return to “ArmA Editing”