Last resort logo

SWAT 3 - LAST RESORT GAME MODIFICATION


Spam Prevention - PLEASE READ !! (23 Apr 2021)

Due to a problem with spammers the rules for posting in the forums have changed for new users.

Newly registered users won't have their posts published until a moderator approves them.

Draw Distance

More
4 years 1 month ago - 4 years 1 month ago #1259 by Copy-Cat
Draw Distance was created by Copy-Cat
I'm sorry if I posted this somewhere else. Created a new post to discuss Draw Distance enhancement to the game.

SJ if you have some time to get on TS. I believe I have found the value that handles draw distance. I am not expert on how to go about implementing into the exe. I would like to demonstrate to you via TV my findings to hopefully implement a Draw Distance modifier to the LRM.

Maybe a Slider or a Text box like enter a value between 1000 - 4000 depending on your hardware.

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago - 4 years 1 month ago #1263 by Slippery Jim
Replied by Slippery Jim on topic Draw Distance
That would be an amazing discovery if this is true and it works without causing glitches.

Update: Copy Cat showed me his discovery and it seems to work beautifully. Only problem is we couldn't replicate it yet in a simple game executable hack.

Looking through the 'config.dat' file the game seems to use inches in terms of measurements. For instance one of the distance numbers referenced is 1500 in that file (which would translate to exactly 125 feet).
Code:
MaxViewRange 1500 // How far a character will use real LOS instead of approximate (in inches)

No, changing this value in the .dat file doesn't work, lol

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #1266 by Copy-Cat
Replied by Copy-Cat on topic Draw Distance
I figured it out, simple hex edit... :)

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #1267 by Slippery Jim
Replied by Slippery Jim on topic Draw Distance
You crazy genius.

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #1268 by Copy-Cat
Replied by Copy-Cat on topic Draw Distance
Why thank you, wait.... what? lol

SJ go ahead and add the offsets into the "Vault" of knowledge and known fixes. So we can reference them in the future.

Keep up what you do mate.

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago - 4 years 1 month ago #1270 by Slippery Jim
Replied by Slippery Jim on topic Draw Distance
Added to the book of knowledge thread.

Now the debate begins of what number we should use for the view distance.

2800 gives double the view distance of 233 feet in the game. We have to keep in mind that a higher number may make it harder for people with lower end systems to play the game.

  • The question is do we care? This mod was meant to max out Swat 3 as much as possible within reason. We still have to remember that the only reason some people may still play Swat 3 is because they have a lower end system.

  • Does a larger view distance = lower fps? Consider Swat 3 uses clipping to not render unseen geometry does it really affect the FPS much?

  • How many maps really would be affected by a lower FPS? Not many maps have a large view distance anyways since it is a game of close quarter battles.

  • Ultimately one solution is to release the Last Resort mod with the draw distance that we want and make available the normal view distance game executables as a separate download. If the person with a lower end system finds the slow frames too much they can replace the game executables manually. There won't be a mismatch error in multiplayer.

    Please Log in or Create an account to join the conversation.

    Moderators: DarkSynopsis
    Time to create page: 0.216 seconds
    Powered by Kunena Forum