View Full Version : How do you edit a p3d file?
JohnnyBoy
Dec 14 2006, 18:06
I'm trying to convert Lester's invisible target addon to ARMA. Since it has very few properties, and no visible textures I'm hoping it is easy.
So I've done the following so far:
1. Unpacked the pbo.
2. Edited the config.cpp file to make required version 1.0
requiredVersion=1.0
3. Packed the pbo and put in the ARMA Addons directory.
I was then able to see the invisible targets objects in the editor and place them on the the map.
I clicked PREVIEW, and get this error:
Bad Version 7 in p3d file "invtarget.p3d"
I'm hoping there is another simple edit that can be performed on the p3d file to correct this. I tried a hex editor, but saw nothing intelligible there.
Any ideas?
What tool do you use to edit a p3d file?
Thanks.
feersum.endjinn
Dec 14 2006, 18:53
ArmA cannot read old binarized files from OFP (OFP:Elite ones work though) but if you can get hold of MLOD (from original author or use ODOL Explorer) they'll work just fine.
JohnnyBoy
Dec 14 2006, 20:36
Thanks. I downloaded ODOL Explorer and used it to convert the p3d file to MLOD format. I then replaced the existing p3d with the MLOD version p3d, and re-PBOed it. Put the pbo in the Addons directory and tried it in the ARMA editor.
This time on preview I get this error:
Unsupported version 4164812.205
Once I have a MLOD format file, what should I do with it?
How do I make the P3D file compatible with ARMA?
Please advise.
ThePredator
Dec 15 2006, 13:42
How do I edit ArmA p3d files? I'd like to see what the optics are like, and maybe how to edit them.
The Odol Explorer is not able to handle the new format, it seems (errors and such). The model doesn't show up.
Nephilim
Dec 15 2006, 14:54
new format
old tools cant open them....
Lockheed Martin$ch
Dec 15 2006, 16:54
Since the Invisible Target addon is from Lester, you can only edit if for self use. If you would like to release it you have to ask him for permission to do so.
However, since Lester is still active for ArmA, you should probbably wait a bit, maybe this addon is already in development for ArmA http://forums.bistudio.com/oldsmileys/wink_o.gif
The way people are editing soldier p3ds for arma is by hex editing the texture paths.
OLD path must be EXACTLY the same length as the new path for it to work.
JohnnyBoy
Dec 15 2006, 17:38
Quote[/b] ]
Since the Invisible Target addon is from Lester, you can only edit if for self use. If you would like to release it you have to ask him for permission to do so.
If I got it to work, I planned on contacting Lester to get his permisssion before posting the addon anywhere (or let him post it if he wants). I would not put my name on it, as all I'm trying to do is port it.
I don't want credit, I just want this EXTREMELY useful addon available in ARMA for my missions.
Lockheed Martin$ch
Dec 16 2006, 12:56
The main point I wanted to make was that if you now also make yourself the effort of import it to ArmA, there are two people doing this at the same time
Ironsight
Dec 16 2006, 14:32
This time on preview I get this error:
Unsupported version 4164812.205
Open it in O2 and resave it. That should do the trick.
JohnnyBoy
Dec 20 2006, 03:04
Ironsight: That worked beautifully. Thanks a million. The Invisible Target addon now works.
I will now email Lester to see if he wants to publish it.
For those interested, these were the exact steps to convert this addon to ARMA:
1. Unpack the pbo.
2. Edited the config.cpp file to make required version 1.0
requiredVersion=1.0
3. Open the .p3d file in O2, and re-save it.
4. re-pack the pbo.
The addon then worked.
Thanks everybody!
Al Simmons
Dec 20 2006, 12:01
I allready released new invisible Targets (inspired by the Mapfact ones) for arma, they are part of my FAC addon.
JohnnyBoy
Dec 20 2006, 18:33
Al: Very good, I'll talk a look at your FAC addon.
I also just received an email from Lester where he says they are including the invisible targets in their new Map_Misc addon, which could be out as soon as Christmas. It will be on www.mapfact.net, and he will announce on these forums when its ready.
Now I can get back to my mission creation using this addon!
Hooray.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.