ap2233 0 Posted December 25, 2004 How to edit OFP engine ? Share this post Link to post Share on other sites
law-giver 190 Posted December 25, 2004 Put petrol in it. Sorry couldn't resist it! Share this post Link to post Share on other sites
aviel 0 Posted December 25, 2004 How to edit OFP engine ? its illigal. What are you planning? Share this post Link to post Share on other sites
Mr_Tea 0 Posted December 25, 2004 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. Share this post Link to post Share on other sites
ap2233 0 Posted December 25, 2004 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
[aps]gnat 28 Posted December 26, 2004 LOL 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 and the waves Share this post Link to post Share on other sites
blackdog~ 0 Posted December 26, 2004 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 Share this post Link to post Share on other sites