Importing Custom Models?

Ask questions, discuss ideas, get answers
User avatar
discocreeper101
Posts: 40
Joined: Fri Dec 18, 2015 2:21 am
Location: Australia
Contact:

Importing Custom Models?

Post 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
Last edited by discocreeper101 on Mon Jul 11, 2016 4:06 am, edited 1 time in total.
Diamondback
Posts: 589
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

Re: Importing Custom Models?

Post by Diamondback »

See my Strasbourg map project here.
User avatar
discocreeper101
Posts: 40
Joined: Fri Dec 18, 2015 2:21 am
Location: Australia
Contact:

Re: Importing Custom Models?

Post 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?
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Importing Custom Models?

Post 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.
Last edited by Swaffy on Wed Jul 06, 2016 5:07 pm, edited 1 time in total.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
discocreeper101
Posts: 40
Joined: Fri Dec 18, 2015 2:21 am
Location: Australia
Contact:

Re: Importing Custom Models?

Post 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.... :(
Shrooms
Posts: 70
Joined: Wed Aug 11, 2010 12:35 am

Re: Importing Custom Models?

Post by Shrooms »

take out the .dds description when giving the texture file path. Also material0 says notexture
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Importing Custom Models?

Post 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".
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
discocreeper101
Posts: 40
Joined: Fri Dec 18, 2015 2:21 am
Location: Australia
Contact:

Re: Importing Custom Models?

Post by discocreeper101 »

I followed your advice and still cant figure it out :(
The mesh is still white. What can I do now?
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Importing Custom Models?

Post by Swaffy »

Is the mesh white in your 3D editor, or in-game? (or both?)
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
discocreeper101
Posts: 40
Joined: Fri Dec 18, 2015 2:21 am
Location: Australia
Contact:

Re: Importing Custom Models?

Post by discocreeper101 »

My object is only white in battlecraft. When I reimport my .sm into 3ds max, it has all the textures mapped.
Post Reply