Jump to content
Sign in to follow this  
sdes

Ladders

Recommended Posts

Hi.

How can I add ladders to the building?

I have writed next code to .cpp:

ladders[]={"start","end"};

and added Memory LOD with start and end spots to the model.

The problem is, that when I add the building to the map and start to play OFP,the game crashes.

I hope that someone can help me.

Thanks.

Share this post


Link to post
Share on other sites
Guest BratZ

Are the memory points directly above each other? The points have to be offset so OFP knows which way the ladder goes.

Share this post


Link to post
Share on other sites

try this <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">ladders[]={{"start","end"}};

I had the same problem and this fixed it.

Share this post


Link to post
Share on other sites

can you have ladders on vehicles? don't think so but worth asking ;)

Share this post


Link to post
Share on other sites

Colonel Klink, that worked.

Thanks to all of you.

Share this post


Link to post
Share on other sites
Guest BratZ
can you have ladders on vehicles? don't think so but worth asking ;)

Well I see one on that nice HE111 (plane) that AIA is making ,so I am to assume yes

Share this post


Link to post
Share on other sites
Yes, the points are directly above each others.

... which is wrong. As BratZ correctly posted, the points have to be offset. When they are directly above each other, you can experience various problems.

Share this post


Link to post
Share on other sites

Well, it worked fine.

But I had to move them because the ladders were not straight.

Thanks anyway for you comment.

Share this post


Link to post
Share on other sites

I found that, having them directly above each other kicked up a fuss (using a constrained axis duplication)

however moving one slightly off axis, it'd work fine.. prolly a divide/0 problem internally with thes ame x/y locations

smile_o.gif

-joesiv

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  

×