Jump to content
doeme

First Object for ArmA3

Recommended Posts

Hello,

 

Im really new into modding for ArmA. The main thing i want to is bringing Objects textured into Arma. Like boxes, chairs etc.

 

So my Problem right now is, that i get a object into ArmA but it has no Collission. Means i can walk trough it.

 

I made the Object with Blender and the Blender Toolbox.

 

I made it with the Custom and the Geometry LOD's.

 

Can someone please Help me? and if u have time, please not just the solution. With a little kinda tutorial. I appreciate every Help i get :)

 

Heres my config.cpp:

 

class CfgPatches  

{  

class Tutorial_Cube  

{  

units[] = {"Tutorial_Cube"};  

weapons[] = {};  

requiredVersion = 0.1;  

requiredAddons[] = {};  

};

  };      

class CfgVehicles  

{  

class Static;  

class Tutorial_Cube : Static  

{  

scope = 2;  

model = "\Tutorial_Cube\cube.p3d";  

displayName = "Blaue Box";  

vehicleClass = "small_items";  

};  

};

Edited by doeme

Share this post


Link to post
Share on other sites

Welcome to the forums.

I suspect its not config error since geometry collision is not defined there. 

These links may be of use:

https://community.bistudio.com/wiki/LOD

https://community.bistudio.com/wiki/LOD#Geometry

 

Basically what you need is to set mass to the collision mesh and it has to be simple convex object/group of objects and it/they have to be named componentXX. I Suggest you use the Object builder for this and when you open up the geometry LOD in it use Structure -> Convexity -> Component Convex Hull. It will transform your geometry mesh/meshes in to convex objects and name them. Then you need to give them mass so the engine recognizes them as collideable geometry.

Share this post


Link to post
Share on other sites

Welcome to the forums.

I suspect its not config error since geometry collision is not defined there. 

These links may be of use:

https://community.bistudio.com/wiki/LOD

https://community.bistudio.com/wiki/LOD#Geometry

 

Basically what you need is to set mass to the collision mesh and it has to be simple convex object/group of objects and it/they have to be named componentXX. I Suggest you use the Object builder for this and when you open up the geometry LOD in it use Structure -> Convexity -> Component Convex Hull. It will transform your geometry mesh/meshes in to convex objects and name them. Then you need to give them mass so the engine recognizes them as collideable geometry.

Thank you for the Answer.

 

It helped me, my only problem now is that it gets unvisible.

 

Does somebody know how to fix that?

 

Or is there any good tutorial for it? The most tut's i know already,

 

but i just need a simple one for map objects

 

Thanks and best regards!

Share this post


Link to post
Share on other sites
5 hours ago, Bryan Hendriks said:

how do i edit the mass exactly?

 

Geometry LOD

Select all objects with "Ctrl A".

Bottom left corner, type a number (kg) for the total Mass of the entire object.

The total mass will be distributed evenly between all Components.

 

That was the simple answer. Of course, you should really enter the mass of each component separately and semi-realistically and ensure that the centre of gravity (as shown by a blue circle+cross) is in the correct location.

You can also create dummy objects with mass to act as 'C-of-G adjusters' to fine tune balance.

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

×