Home   Help Search Login Register  

Author Topic: Import 3ds and ingame  (Read 1784 times)

0 Members and 1 Guest are viewing this topic.

ticilli

  • Guest
Import 3ds and ingame
« 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

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Import 3ds and ingame
« Reply #1 on: 16 May 2004, 00:07:24 »
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
« Last Edit: 16 May 2004, 00:07:44 by Planck »
I know a little about a lot, and a lot about a little.

ticilli

  • Guest
Re:Import 3ds and ingame
« Reply #2 on: 16 May 2004, 16:03:43 »
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
« Last Edit: 16 May 2004, 16:32:26 by ticilli »

DBR_ONIX

  • Guest
Re:Import 3ds and ingame
« Reply #3 on: 16 May 2004, 17:55:37 »
Hmm..
Lose the .p3d at the end of the file name (In the config)
:)
99.998% sure that will now work

- Ben

ticilli

  • Guest
Re:Import 3ds and ingame
« Reply #4 on: 16 May 2004, 18:34:18 »
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

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Import 3ds and ingame
« Reply #5 on: 16 May 2004, 19:02:29 »
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
« Last Edit: 16 May 2004, 19:05:23 by Planck »
I know a little about a lot, and a lot about a little.

ticilli

  • Guest
Re:Import 3ds and ingame
« Reply #6 on: 16 May 2004, 19:43:20 »
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
« Last Edit: 16 May 2004, 19:44:43 by ticilli »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Import 3ds and ingame
« Reply #7 on: 16 May 2004, 19:48:02 »
Glad to have helped.

 ;D


Planck
I know a little about a lot, and a lot about a little.

DBR_ONIX

  • Guest
Re:Import 3ds and ingame
« Reply #8 on: 16 May 2004, 20:14:17 »
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