V-Swapper - Exchange OFP objects for ArmA ones

ArmA editing, missions, modeling, textures, terrains

Moderators: Lone Wolf, Snake Man

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

V-Swapper - Exchange OFP objects for ArmA ones

Post by Gnat » 2007-12-24 17:02:41

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

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

Post by Gnat » 2007-12-29 05:42:27

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: 9351
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 » 2007-12-29 06:27:57

Ouch, ok thanks for letting us know.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

PROPER.Q
Recruit
Posts: 12
Joined: 2007-12-11 20:30:53

Post by PROPER.Q » 2007-12-29 17:21:38

Awesome :!:

Thanks a bunch guys 8-)

Who is online

Users browsing this forum: ClaudeBot [Bot] and 0 guests