Jump to content
Sign in to follow this  
der bastler

Lights & ladders...

Recommended Posts

Ok, I don't have the permission to post a reply to this topic, so I place my reply here...

I've created a memory lod with two vertices. I named this two points "start" and "end". In my config.cpp I included the following line:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

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

<span id='postcolor'>

But: OFP crashes when I preview my object in the editor.

What's wrong?

There are also four points named-selected as "cerveny pozicni blik" (= red positional blinker). They represent positional lights on my building. ...Yes, you guess right, there's nothing blinking... Why?

Share this post


Link to post
Share on other sites

I got the same problem...game crashes because of the ladders[]={"start","end"}; in the config confused.gif

I'm using resistance

Share this post


Link to post
Share on other sites

Oh, I switched back to Cold War Crisis, because I didn't want to be a DJ while testing my add-ons... wink.gif

It doesn't seem to be a version problem...

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (der bastler @ Oct. 11 2002,20:08)</td></tr><tr><td id="QUOTE">ladders[] = {"start","end"};<span id='postcolor'>

Change that to

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

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

<span id='postcolor'>

and it should work.

Share this post


Link to post
Share on other sites

Well, it works -until I try to climb my ladder. Then I have a green-screen with a crosshair in the upper left corner.

Same effect as on Kolgujev, south eastern base: You can climb on that bunker, but then ofp freezes in green.

What's my problem now? (huh, problems and problems...)

Share this post


Link to post
Share on other sites

I must correct myself: OFP doesn't freeze, you can continue to play -but the screen stays green, the crosshair is pinned in the upper left corner. It is possible to quit this "green" mission with "Esc"...

*?*

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (der bastler @ Oct. 12 2002,10:37)</td></tr><tr><td id="QUOTE">Well, it works -until I try to climb my ladder. Then I have a green-screen with a crosshair in the upper left corner.<span id='postcolor'>

Be sure not to have points "end" and "start" exactly above each other. The two points define not only ladder position, but also ladder orientation. Be sure to offset end point slighly to be "deeper in" the ladder.

Share this post


Link to post
Share on other sites

Right, they were exactly above each other! Thanks!

smile.gif

btw: How do I define some red blinking positional lights?

*lookshopefully*

Share this post


Link to post
Share on other sites

Again: How do I define blinking red positional lights?

My work until now:

I've defined a memory lod with four points named "cerveny pozicni blik" -like in the uh-60-demo.

The lights of the uh-60 must be activated from inside. But: My object is static and not enterable. How do I define the lights to be switched on initially?

*?*

Share this post


Link to post
Share on other sites

Are the UH60 lights on when no-one is occupying the aircraft? For example, even if you use a static, I believe you can still use hasdriver=1, and then use crew="logic" to get a gamelogic in there to occupy it by default.

Anyway, it's just an idea. There's probably a better (more proper) way.

Prospero

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  

×