Page 1 of 2

Importing Custom Models?

Posted: Sun Jun 26, 2016 8:19 am
by discocreeper101
I have searched google and this website and I haven't found a guide on how to import a custom game object. I already have my .rs and .sm files bu I need to know how to add them into battlecraft 42 and in game.
Thanks

Re: Importing Custom Models?

Posted: Sun Jun 26, 2016 4:44 pm
by Diamondback

Re: Importing Custom Models?

Posted: Fri Jul 01, 2016 4:33 pm
by discocreeper101
In the tutorial it mentions this: What is going to be covered in this tutorial is how to add a custom object to a BF1942 map that already exists, not how to create one from scratch.
Would it still work or would another tutorial be required?

Re: Importing Custom Models?

Posted: Fri Jul 01, 2016 9:00 pm
by Swaffy
To get an object on a map it either needs to be called in StaticObjects (non-moving objects) or an object spawn template for respawning objects (PCOs or weapon kits). There are other ways too such as what Classical's link showed.

Re: Importing Custom Models?

Posted: Sat Jul 02, 2016 10:13 am
by discocreeper101
Using the above method, i have imported my model, however no textures are loaded.
dam.PNG
I have textures in my texture.rfa (which is in my mod directory as shown below)
tex.PNG
(PS, this folder is packed into a .rfa but it is easier to display this way)

And my model's .rs is looking for the textures in the directory where I have put them.
mat.png
I don't know why this is happening.... :(

Re: Importing Custom Models?

Posted: Sun Jul 03, 2016 4:22 am
by Shrooms
take out the .dds description when giving the texture file path. Also material0 says notexture

Re: Importing Custom Models?

Posted: Sun Jul 03, 2016 4:43 am
by Swaffy
Shrooms wrote:take out the .dds description when giving the texture file path. Also material0 says notexture
To add on, I also see a "StandardMesh/Default.dds" so be sure to remove that .dds piece.

[Edit] Removed rest of my post, realized you are loading textures via Textures.rfa and not mapside. Oops.

[Edit] Make sure your 3D model has material IDs 1 through 8 applied to the correct object or sub-object. The file you showed above has materials 0 through 7 so the 3D modeling program would be material IDs 1 through 8. It may be that every face has a material ID of 1 (in the file, material 0) which shows as "texture/bf4_42/notexture".

Re: Importing Custom Models?

Posted: Wed Jul 06, 2016 8:23 am
by discocreeper101
I followed your advice and still cant figure it out :(
The mesh is still white. What can I do now?

Re: Importing Custom Models?

Posted: Wed Jul 06, 2016 5:06 pm
by Swaffy
Is the mesh white in your 3D editor, or in-game? (or both?)

Re: Importing Custom Models?

Posted: Thu Jul 07, 2016 5:52 am
by discocreeper101
My object is only white in battlecraft. When I reimport my .sm into 3ds max, it has all the textures mapped.