Jump to content
Prodeath21

Problems with ladder class config

Recommended Posts

Hey,

I am currently working on an Arma object and now want to implement the ladder function on to the model. But it´s not working and I don´t know why. Tryed out several things, but still not working... I also surched for a thread about it but could not fined one.

 

Here´s my object class

class Static;
class Pro21_Autobahnschild : Static
{
	author = "Prodeath21";
	displayName = "$STR_Pro21_autobahnschild";
	scope=2;
	model = "\Pro21_Autobahnschild\autobahnschild\autobahnschild.p3d";
	//icon = "\Pro21_Autobahnschild\autobahnschild\icons\autobahnschild.paa";
	editorCategory="Pro21_Addon";
	editorSubcategory="Pro21_Objects";
	//editorPreview="\A3\EditorPreviews_F\Data\CfgVehicles\I_Boat_Transport_01_F.jpg";
	
	//picture = "\Pro21_Autobahnschild\autobahnschild\icons\autobahnschild.paa";
	//vehicleClass = "";
	
	ladders[]=
	{	
	
		{
			"Ladder_1_start",
			"Ladder_1_end",
			2.5,
			"Ladder_1_action"
		}
	};
};

 

I configured:

Ladder_1_start -> Memory LOD -> at the start of the ladder

Ladder_1_end -> Memory LOD -> at the end of the ladder

Ladder_1_action -> Geometry LOD -> geometry selection of the ladder

 

I looked it up here:

https://community.bistudio.com/wiki/CfgVehicles_Config_Reference#ladders

 

But the player option to climbe is still not showing up ingame..

Am I missing something? Pls Help

 

Thanks in advance.

Share this post


Link to post
Share on other sites

Hmm Config section for the ladder looks right. I wonder if it has to do with the fact your using class static. Try defining from class house instead and see if it works. 

Share this post


Link to post
Share on other sites

Thanks for your answer, I just made it work. I replaced the selected section in the geometry LOD with a simple cube and now it´s working. Still using the static class. But theres still one problem. When climbing the ladder the player is looking into the wrong direction... 90° to the right with his hole body. Don´t know why. Do you know where to change that?

 

Thanks for your help. 🙂

Share this post


Link to post
Share on other sites

Yes it has to do with the way the vertices are facing.  Best way to do that is to add an additional vertices in the memory lod. Create a face so you can see the Way it is facing and rotate the whole thing so the face is facing you. Then you can remove the additional vert you added and you should be good to go. 

  • Thanks 1

Share this post


Link to post
Share on other sites

Man, you are the best! Finaly it´s working fine 😄. Followed your workflow described above.

Thanks.

  • Like 1

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

×