- **Tutorials and Resources**
(*http://www.tombraiderforums.com/forumdisplay.php?f=28*)

- - **Bottom Right Corner Pitch-Black Blink: Where Is The Line**
(*http://www.tombraiderforums.com/showthread.php?t=204738*)

Bottom Right Corner Pitch-Black Blink: Where Is The LineI accidentally reached the lower bottom (NE) corner of the map and the screen started to blink pitch-black. Many builders said this place is buggy, I always knew it - but I realized it's unknown how far EXACTLY one can go without causing the bug. One of those days of weird research, I entered that cursed sector and started to sniff around...
http://imageshack.com/a/img713/3711/leyl.jpg Ah... yes, it was during a BtB session so I got everything censored :D Anyway, after several hours spent on looking for pitch-black blinking, wherever I noticed any, I raised a floor triangle towards the bottom right (NE) corner of the map. If that wasn't enough to cut the square off the buggy zone, I replaced a triangle with a full wall. This way, I formed a line of squares You can safely reach without seeing the bug, and here are the exact coordinates (the picture is expandable): http://imageshack.com/a/img829/6596/95z0.jpg For a rule determining these coordinates, You can examine the line shape from the above. It's not straight, but a bit curved: http://imageshack.com/a/img571/4564/7c04.jpg so if we could extend the editor workspace, we would likely get a full circle, radius about 125 (127?) squares and center at x:0 y:0. The engine apparently refers to the map origin all the time, no matter where Lara is. I first tested the line at the floor elevation of 0. When I then raised or lowered the test by 100 clicks, The Line moved few squares towards the map origin - so we can guess the buggy sector is a sphere rather than a flat circle, and we only can see its small fragment in the infamous map corner the editor workspace allows us to reach. As in, the general tip is: if You really HAVE to build anything playable in that particular corner, stay as close to 0 elevation as possible - that will give You even two dozen more squares than You would get if reaching heights or depths in there. Of course any inaccessible zone can still be built as far into the right bottom corner as possible, because as long as Lara doesn't stand in there, she can enjoy the sight and the bugs won't appear. |

^
What you write here seems absolutely logical: The Editor Window size is: Width: 100 squares Length: 100 squares (In fact, the real sizes are 102/102, because, you can see in Editor Window: there is always a minimum 1 square sized gap between the room wall and any edge of the window. If you run a Diagnostics in the game about Lara's horizontal coordinates - see: variables, memory zones -, then, when Lara's standing at the NW room corner - according to Room Editor facing -, which room is placed exactly at the origin, the values are about 1024/1024 unit. 1024 unit is 1 square, so the game will count that 1 square sized gap for the coordinates.) So the diagonal between the origin and the opposite corner is (see Pythagorean theorem) is about 141 squares. You say about 127 square sized radius. 141-127=14. 14/141=10 %. And yes, on your illustration, the gap between the line and the corner is about 10% of the whole diagonal. The TRLE world likes very much binary limitations, and that "127? square sized radius" is probably really 128, because 128 is binary, the power of 2. Yes, the center of the sphere is probably the origin (X/Y/Z=0/0/0) of the 3D map. (Possibly it is 127, but it really must be a bit bigger, 128 - due to what I said about the real horizontal size above.) And, we shouldn't forget that the useful height of 3D map is Floor:-127 clicks, Ceiling: 128 clicks, because there are 256 floor levels: base (0), 127 below, 128 above. And it is also the power of 2. The floor/ceiling will be deformed below/above that limit in Room Editor. (The full height of V2dmap of TRNG Room Editor is bigger, btw: Floor: -256, Ceiling: 257.) So the theoratical (Room Editor) 3D map must be, I suppose: horizontally 100 (102) square sized in both direction, vertically 256 clicks sized. And the effective (game) 3D map must be: A fragmented sphere, with its center placed at the origin of the 3D map. The fragment is the common part of the sphere with 127 (128) square sized radius and the theoretical 3D map. (Btw it is not always true, because eg. if you rotate a long but narrow room, whose long wall is parallel with the east edge of the Editor Window, close to that edge, then the room will be out of the 102×102 sized window. Possibly it is useful only if the room remains inside that sphere.) Nice find, btw. :tmb: ------------- Here are two illustrations: http://www.mediafire.com/convkey/1be...8z788s1gfg.jpg http://www.mediafire.com/convkey/758...nps6zr6sfg.jpg Note: my post is based on this nice find of DJ Full. |

All times are GMT. The time now is 18:38. |

Powered by vBulletin® Version 3.8.11

Copyright ©2000 - 2018, vBulletin Solutions Inc.