Forged Alliance Forever Forged Alliance Forever Forums 2016-08-19T23:20:18+02:00 /feed.php?f=3&t=12955 2016-08-19T23:20:18+02:00 2016-08-19T23:20:18+02:00 /viewtopic.php?t=12955&p=133157#p133157 <![CDATA[Re: setplayablearea before round]]>
speed2 wrote:
Some maps are restricted by one game unit from each side, done by map makers to hide some texture problems at the edge of the map. Game code is set to log the previous and new playable area https://github.com/FAForever/fa/blob/34 ... .lua#L1153

Usually you just see something like this
Code:
INFO: playable area coordinates are { 0, 0, 256, 256 }
INFO: Offmapareas are {
INFO:   { x0=-100, x1=356, y0=-100, y1=0 },
INFO:   { x0=-100, x1=356, y0=256, y1=356 },
INFO:   { x0=-100, x1=0, y0=0, y1=256 },
INFO:   { x0=256, x1=356, y0=0, y1=256 }
INFO: }

Which is basic area, 256 for 5km map, 512 for 10km etc...

Thank you for the info and link.
This would have been better to post originally
info: Debug: SetPlayableArea before round : 4.5,4.5 510.5,510.5
info: Debug: SetPlayableArea after round : 4,4 508,508
You see for a 10x10 map.
My question is why are the playable coordinates shifted by a small amount before and after round. This is the part that doesn't happen every game.

Statistics: Posted by SeraphimLeftNut — 19 Aug 2016, 23:20


]]>
2016-08-19T20:13:34+02:00 2016-08-19T20:13:34+02:00 /viewtopic.php?t=12955&p=133134#p133134 <![CDATA[Re: setplayablearea before round]]> https://github.com/FAForever/fa/blob/34 ... .lua#L1153

Usually you just see something like this
Code:
INFO: playable area coordinates are { 0, 0, 256, 256 }
INFO: Offmapareas are {
INFO:   { x0=-100, x1=356, y0=-100, y1=0 },
INFO:   { x0=-100, x1=356, y0=256, y1=356 },
INFO:   { x0=-100, x1=0, y0=0, y1=256 },
INFO:   { x0=256, x1=356, y0=0, y1=256 }
INFO: }

Which is basic area, 256 for 5km map, 512 for 10km etc...

Statistics: Posted by speed2 — 19 Aug 2016, 20:13


]]>
2016-08-19T20:03:51+02:00 2016-08-19T20:03:51+02:00 /viewtopic.php?t=12955&p=133132#p133132 <![CDATA[setplayablearea before round]]> The statements below only appear in some games.
info: Debug: SetPlayableArea before round : 215,201 821,852
info: Debug: SetPlayableArea after round : 212,200 820,852

Can someone tell me what this means and if it is normal?
I do understand that set playablearea is the part of the map that units can be given orders to and can move to. My question is why does this only make it to the logs in some games. MY guess is that it has to do with the way the game loads up.

Statistics: Posted by SeraphimLeftNut — 19 Aug 2016, 20:03


]]>