OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: ticilli on 15 May 2004, 20:29:12
-
Hi, i have imported my .3ds into o2, re applied the textures, and follow bbresb's (sp?) tutorial on putting weapons ingame, made the memory LOD, the 0.000 LOD and left it (as that is all he asks).
The problem come when i save the .p3d, compile and attempt to play, it jut says "cannot open mp5sd/mp5sd6.p3d".
is this a defect for importing .3ds files or am i doing something wrong.
thanks for any help
-
I think the faulty line in your config might possibly be :
model="mp5sd/mp5sd6.p3d";
it probably should read:
model="\mp5sd\mp5sd6.p3d";
Try it and see.
Planck
-
yeah, i always make that mistake, changed but still says the same thing, but i think it's something to do with the model, not that it's corrupt cos o2 can read it, but it just wont open ingame.
If you want i can give you a run down i what i did...i'll post later
here goes:
Modelled, UVWed and textured Using PS6 and Studio Max 6
Exported from there as a .3ds, preserving maxs texture co-ordinates
Imported into o2, and resized using ak47_proxy supplied with OFPanim
Deleted the AK47 and pointed my weapon towards it texture files
Selected the weapon and named the selection "zbran"
Created a new LOB called "memory", and placed the 4 vertices
(usti hlavne, konec hlavne, nabojnicestart, nabojniceend)
and selected all, and named the selection "zbran" also
Didn't make a zasleh as an MP5SD6 wouldn't need one
Saved it to it's folder (mp5sd6\mp5sd6.p3d) with textures in the aswell
Pointed Bresebs .cpp (from his tutorial) in there, pointing towards my weapon instead of his.
Saved that, Compiled it using stuffpbo
I go ingame, editor, civilian->stalker hunter (from the .cpp)
then i get the error "cannot open object mp5sd6\mp5sd6.p3d
-
Hmm..
Lose the .p3d at the end of the file name (In the config)
:)
99.998% sure that will now work
- Ben
-
Well, i had hoped it would aswell, but by that 0.002% margin you were wrong, same error, which leaves me to believe that it's the models fault, but this being my 1st weapon i know not how to fix it
-
I think you need the '\' at the beginning:
model="\mp5sd\mp5sd6.p3d";
mp5sd would be the name of your PBO.
mp5sd6.p3d is the model file which is inside said PBO.
Planck
-
I think you need the '\' at the beginning:
model="\mp5sd\mp5sd6.p3d";
mp5sd would be the name of your PBO.
mp5sd6.p3d is the model file which is inside said PBO.
Planck
I read this carefully, and never realised that it was
\addonname\foldername\modelname
So i pointed to it and it WORKED!
Sir i am indebted to you and your vast knowledge...of...addons
edit:as it so rightly says below my name, i am a llama
-
Glad to have helped.
;D
Planck
-
Heheh
Glad to hear it worked
Bet you'll never make that mistake again :P
If it's always the simple thing, why isn't everything simple? ::)
- Ben