Jump to content
Sign in to follow this  
georgeashby123

No model appearing ingame.

Recommended Posts

I have loaded my model into Object Editor then exported it out as an .p3d. The model is failing to show when placed down but shows in the editor spawn list.

 

Ingame View: http://images.akamai.steamusercontent.com/ugc/261595156257671764/95B172F4F810F2DD93BBABF1E78CB93C24506892/

 

Folders and file #1: https://gyazo.com/43eb7180a2c6db6bfa2d3f1e6798d718

 

Folders and file #2: https://gyazo.com/f1140546ba6403b18570b9ed2209c92e

 

config.cpp: https://gyazo.com/c95f9e4aaf11df755ad4defcac2edf72

 

Please let me know if i am missing any needed screenshots.

 

 

 

Share this post


Link to post
Share on other sites

What LOD's do you have in the .p3d? Screenshots might help.

Do you have a model.cfg file?

Share this post


Link to post
Share on other sites

Is your model UV mapped, and does it have textures assigned to the faces?

 

If you're not sure what that means we can help you check...

 

In Object Builder, click on Window > Resource Library.

In the Resource Library window, expand Current LOD, and expand Textures. Take another screenshot.

 

Also highlight all your vertices and press NumPad 0 (or View > Solid Fill Faces). Does the model go solid to look at in Object Builder?

Share this post


Link to post
Share on other sites

Is your model UV mapped, and does it have textures assigned to the faces?

 

If you're not sure what that means we can help you check...

 

In Object Builder, click on Window > Resource Library.

In the Resource Library window, expand Current LOD, and expand Textures. Take another screenshot.

 

Also highlight all your vertices and press NumPad 0 (or View > Solid Fill Faces). Does the model go solid to look at in Object Builder?

Resource Libary Screenshot: https://gyazo.com/04fc437cfaffd4e666481c7ca8e9d687

 

Solid Fill Faces Screenshot: https://gyazo.com/6362f0d501d3d4b50f3461c3e7df966a

Share this post


Link to post
Share on other sites

Ok, so you have no texture (skin) applied to your model.

 

Normally you would create a UV map, then apply a texture to that map to get the paint on the model.

 

However, to help test things out, you can quickly apply a procedural texture to your entire model.

 

Select the whole model

Press E (Faces > Face Properties)

Under where it says TEXTURE, put this text in the blank box (a simple blue colour):

#(argb,8,8,3)color(1,1,1,1.0,co)

Click OK.

Save.

 

Rebuild and test in game.

Share this post


Link to post
Share on other sites

Ok, so you have no texture (skin) applied to your model.

 

Normally you would create a UV map, then apply a texture to that map to get the paint on the model.

 

However, to help test things out, you can quickly apply a procedural texture to your entire model.

 

Select the whole model

Press E (Faces > Face Properties)

Under where it says TEXTURE, put this text in the blank box (a simple blue colour):

#(argb,8,8,3)color(1,1,1,1.0,co)

Click OK.

Save.

 

Rebuild and test in game.

It is still not showing ingame: http://images.akamai.steamusercontent.com/ugc/261595156261218044/1BF8CAB4C0B2DF70656A83D4292461F0262D3551/

Share this post


Link to post
Share on other sites

Now create a file "model.cfg" and place it with your p3d.

Rebuild.

class CfgSkeletons {
    class Default {
	isDiscrete = 1;
	skeletonInherit = "";
	skeletonBones[] = {};
    };
    class FireHydrant_Skeleton : Default {
	skeletonBones[] = {};
    };
};

class CfgModels {
    class Default {
	skeletonName = "";
	sectionsInherit = "";
	sections[] = {};
    };

    class FireHydrant : Default {
	skeletonName = "FireHydrant_Skeleton";
	sections[] = {};
        class Animations {};
    };
};

Share this post


Link to post
Share on other sites

 

Now create a file "model.cfg" and place it with your p3d.

Rebuild.

class CfgSkeletons {
    class Default {
	isDiscrete = 1;
	skeletonInherit = "";
	skeletonBones[] = {};
    };
    class FireHydrant_Skeleton : Default {
	skeletonBones[] = {};
    };
};

class CfgModels {
    class Default {
	skeletonName = "";
	sectionsInherit = "";
	sections[] = {};
    };

    class FireHydrant : Default {
	skeletonName = "FireHydrant_Skeleton";
	sections[] = {};
        class Animations {};
    };
};

I still have nothing showing ingame, do you have any other idea`s mate?

Share this post


Link to post
Share on other sites

First you dont need all those includes and everything that just makes it a cluster of files upping the file size and all that shit, Im gunna assume this is being packed in the P drive so here's the config you need to try,

 

class CfgPatches
{
    class FireHydrant
    {
        unit[] = {"FireHydrant"};
        weapons[] = {};
        requiredVersion = 0.1;
        requiredAddons[] = {"A3_Structures_F"};
    };
};

class CfgVehicles
{
    class House;
    class House_F: House{};
    class FireHydrant : House_F
    {
        scope = 2;
        model = "\FireHydrant\FireHydrant.p3d";
        displayName = "Fire Hydrant";
        vehicleClass = "small_items";
    };
};

Make sure that you are packing this from the directory P:\FireHydrant\(model) and if you dont have a P drive go to the arma tools and mount it. (button is at the buttom of the tools) and watch a tutorial on how to set it up properly. 
With this you also dont need to do any of those file includes and can delete them. 

You do not need a model.cfg for static objects. (unless it has breakable glass and stuff like that) 
Also I notice that in your named selections cantegory you have lots of 'objects'? is this all one mesh (as in one single model not lots of parts in the same one) it is required to be one mesh.

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×