Page 1 of 1

[?] Terrain.con Fix working on dedicated servers?

Posted: 2010-10-15 14:09
by ChiefRyza
Hey guys, just double checking, as Iron Eagle looks to be utilizing the terrain.con fix, I'm wondering if there is some way to have it working on maps 100%?

All I can see in the Iron Eagle terrain.con is:

Code: Select all

terrainCuller.baseCellSize 256
Does this mean the fix is now working on dedicated servers or is there something additional that needs to be added for it to work?

Cheers in advance!

Re: Terrain.con Fix working on dedicated servers?

Posted: 2010-10-15 16:42
by ZZEZ
As far as I know it doesn't work on dedicated, but theres no real reason to not include it - sometimes people will run local with a few of their friends and if the map will get bot support it would be nice at least not having warping in SP.

Re: Terrain.con Fix working on dedicated servers?

Posted: 2010-10-15 21:04
by AFsoccer
I must have missed this the first time around. Does this line of code fix the morphing problems on 4km maps? Are there any drawbacks (i.e. lag)?

Re: Terrain.con Fix working on dedicated servers?

Posted: 2010-10-16 00:10
by Rhino
it dosen't work on dedi so there is no point in using it, unless you want your map to lag more in single player than it dose in MP.

Re: Terrain.con Fix working on dedicated servers?

Posted: 2010-10-16 01:04
by ChiefRyza
There was absolutely no terrain warping on Iron Eagle lastnight on bigD in areas where it should have had extreme terrain warping though? Not one ounce of it the entire map. All I'm saying from what I saw is that it does work from what I've seen.

Re: Terrain.con Fix working on dedicated servers?

Posted: 2010-10-16 01:10
by Rhino
Each time I've played the map you can see huge gaps in-between each terrain patch, you can even see it in parts of the trailer.

Not looked into warping thou, can you do some testing do you think? All testing done in the past says it dosen't work on dedi but aint done the testing for this method myself.

Re: Terrain.con Fix working on dedicated servers?

Posted: 2010-10-16 01:13
by ChiefRyza
I believe that's because the CullerSize being 256. I'm going to do some more testing on it for Tempest, but it seems like a worthy tradeoff? Iron Eagle is a stunning map regardless, it also means it is so much easier to prevent players moving over mountains etc.

I'm trying to get a fraps video now on a server. There were literally areas that were like 90 degrees to flat ground and I couldn't notice any warping at all. It was great over long distance as well, no seeing people past invisible terrain etc. That being said, I read on that thread on the BFEditor forums 512 wasn't working on it when trying to use commands.

I'll try and get mine working though because the gaps in the terrain aren't apparent with my current code, whether or not that will work in a dedicated server isn't clear yet. I know that when I compiled my map I had to manually add it in every time because it was erasing the code from the server.zip.

Re: Terrain.con Fix working on dedicated servers?

Posted: 2010-10-16 03:13
by ChiefRyza
Video showing the fix in action on Iron Eagle:

Untitled on Vimeo

This was on BigD Gau Server 1, and as you can see where there would normally be severe warping, everything stays in place.

Re: Terrain.con Fix working on dedicated servers?

Posted: 2010-10-16 05:41
by Rhino
nice, dose appear to be working there, will have to look into it in the future.

Re: Terrain.con Fix working on dedicated servers?

Posted: 2010-10-16 07:33
by pfhatoa
Looks great. Would be lovely if this could be used on all maps where it's needed. Seriously, it's the worst limit the bf2 engine has, at least when it comes to terraining.

Re: Terrain.con Fix working on dedicated servers?

Posted: 2010-10-16 09:44
by ZZEZ
ChiefRyza wrote:Video showing the fix in action on Iron Eagle:

Untitled on Vimeo

This was on BigD Gau Server 1, and as you can see where there would normally be severe warping, everything stays in place.
So it appears we accidentally it...nice

Re: Terrain.con Fix working on dedicated servers?

Posted: 2010-10-16 10:23
by Titan
[R-DEV]ZZEZ wrote:So it appears we accidentally it...nice
YAY ;) ... but i remember some warping on the IDF outpost coming from IDF main ... pls try it on dedicated.. i allway thougt that warping was not prevented but the amount of warping was reduced ... on the other hand i tried to reduce as much warping as possible by smothing the realy rought terrain.

i didnt took the whole code because the textures of the steets disapeared ... but maybe you can optimise it ( in case it is realy preventing the warping)

Re: Terrain.con Fix working on dedicated servers?

Posted: 2010-10-16 11:36
by ChiefRyza
Yeah your right on that, I started with CullerSize 512, with no warping whatsoever on Tempest, then tried 256 and you notice a tiny (for the most part completely unnoticeable) bit. Still it means you can keep detailed terrain, I had the biggest grin on my face on Friday night playing Iron Eagle, means I won't have to spend an eternity smoothing everything (and losing all my detailed terrain).

And might I add Titan, it is a beautiful, beautiful map (probably one of my most favourite) well done!