Post tutorial Report RSS Lighting Calculation fix

Here's a tutorial on how to fix lighting calculation on operating systems above Windows XP.

Posted by on - Basic Mapping/Technical

Introduction

If you've used Max Payne 2's level editor on any operating system above Windows XP a common problem occurs if you try to calculate lighting. Which is the error message

Couldn't connect to the server 'localhost' at port 10000!

14646 1

The way lighting calculation works with Max Payne 2's editor is the program sends the level to a specific program that then spits out a modified level. Thankfully this is relatively easy to fix.

How to fix

First thing we need to do is go to our start menu and type in "cmd". It should prompt you to start the command-line

Untitled

Now type in the command "ipconfig"

Untitled2

What you're looking for is the number next to the heading "IPv4 Address". This is your computer's local IP address.

Now in the editor, on the title bar select "GIS" then select "Send level". There should be a box with the word "localhost" there.

Untitled3 4

Press the "Clear" button. Then type in your local IP address (the number from the command-line) and press "OK"

One last thing you may have to do. Go to Maxpayne2dev/MaxEd2/GISClient and open "config.txt". Now edit "localhost" to your local IP address.

Now if you've correctly saved your level and you're also running the calculation server. It should send correctly and will spit out the level with proper lightmaps. If your IP address ever changes you'll need to press the clear button again and type in your new local IP.

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Tutorial
Browse
Tutorials
Report
Report
Share
Related Games
Max Payne 2
Max Payne 2 Third Person Shooter
Related Groups
Remedy Entertainment
Remedy Entertainment Developer & Publisher
Rockstar
Rockstar Developer & Publisher