Jump to content
Sign in to follow this  
ap2233

engine editing

Recommended Posts

How to edit OFP engine ?

its illigal.

What are you planning? tounge_o.gif

Share this post


Link to post
Share on other sites

Whatever you are planning, don`t do it. It`s illegal and there are good reasons for it.

It came in my mind to, that changes in the OFP engine could do great. Think of VBS1 wich can handle higher detail at higher viewdistance than OFP. Even if we could, the only persons allowed to change the OFP engine are the people from BIS. And right now there are working on it, to give us OFP2. biggrin_o.gif

Share this post


Link to post
Share on other sites

OK!OK!OK! it's bad, illegal, bla, bla, bla, but how change this f...g tide setting ?

Where can I find this function:

const float maxTide=5;

Vector3 sunDir = sun->SunDirection();

Vector3 moonDir = sun->MoonDirection();

Vector3 sunTide = sunDir[1]*sunDir;

Vector3 moonTide = moonDir[1]*moonDir;

float tide01 = (sunTide.Y()+moonTide.Y())*0.5;

float tideAbs =maxTide*tide01;

Note: we are aware the tide formula contains a bug.

Correct should be:

float tide=(fabs(sunTide.Y())+fabs(moonTide.Y())*0.5;

Share this post


Link to post
Share on other sites

LOL smile_o.gif that function is in the OFP engine ...... but thats a whole other story ...........

Yeh ... old threads on this around (where I suspect the code originated) ..... It seems only the "Gods" can control the tides tounge_o.gif and the waves crazy_o.gif

Share this post


Link to post
Share on other sites

I don't think it's illegal to edit the OFP engine, he can do whatever he wants to it as long as he doesn't sell it.

The source code for the engine is not released (and more than likely never will be), so if the tides are really bothering you THAT much... well I don't know what you can do biggrin_o.gif

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  

×