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

Making or wanting help making your own asset? Check in here
Post Reply
ChiefRyza
Posts: 620
Joined: 2008-06-29 07:37

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

Post 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!


Current project: Operation Tempest
ZZEZ
Retired PR Developer
Posts: 4268
Joined: 2007-07-26 10:10

Re: Terrain.con Fix working on dedicated servers?

Post 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.
AFsoccer
Retired PR Developer
Posts: 4289
Joined: 2007-09-04 07:32

Re: Terrain.con Fix working on dedicated servers?

Post 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)?
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Terrain.con Fix working on dedicated servers?

Post 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.
Image
ChiefRyza
Posts: 620
Joined: 2008-06-29 07:37

Re: Terrain.con Fix working on dedicated servers?

Post 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.


Current project: Operation Tempest
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Terrain.con Fix working on dedicated servers?

Post 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.
Image
ChiefRyza
Posts: 620
Joined: 2008-06-29 07:37

Re: Terrain.con Fix working on dedicated servers?

Post 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.


Current project: Operation Tempest
ChiefRyza
Posts: 620
Joined: 2008-06-29 07:37

Re: Terrain.con Fix working on dedicated servers?

Post 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.


Current project: Operation Tempest
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Terrain.con Fix working on dedicated servers?

Post by Rhino »

nice, dose appear to be working there, will have to look into it in the future.
Image
pfhatoa
Posts: 917
Joined: 2009-08-27 19:26

Re: Terrain.con Fix working on dedicated servers?

Post 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.
ZZEZ
Retired PR Developer
Posts: 4268
Joined: 2007-07-26 10:10

Re: Terrain.con Fix working on dedicated servers?

Post 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
Titan
Posts: 294
Joined: 2008-09-13 15:55

Re: Terrain.con Fix working on dedicated servers?

Post 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)
ChiefRyza
Posts: 620
Joined: 2008-06-29 07:37

Re: Terrain.con Fix working on dedicated servers?

Post 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!


Current project: Operation Tempest
Post Reply

Return to “PR:BF2 Community Modding”