Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playing without FOG? #22

Open
Catarax opened this issue Jan 25, 2022 · 2 comments
Open

Playing without FOG? #22

Catarax opened this issue Jan 25, 2022 · 2 comments

Comments

@Catarax
Copy link

Catarax commented Jan 25, 2022

I always wondered how would look the game without the fog on modern computer.
Could it be game breaker ? I think the dinosaurs are static in the fog.

@jorio
Copy link
Owner

jorio commented Jan 25, 2022

Did you mean extending the draw distance? It is possible, but it will throw off the balancing of the game without additional tweaks. You'll need to change some limits in SetProModeSettings() (System/ProMode.c) and recompile the game.

First, raise the draw distance itself:
YON_DISTANCE = 25000;

If you run the game now, you'll notice that bits of terrain pop in and out of view. That's because we also need to tell the game to generate more terrain tiles:
SUPERTILE_ACTIVE_RANGE = 32;

Now you get to enjoy a smog-free Nanosaurland:

The game must spawn enemies across a much wider area, and it'll run into the enemy count limit very quickly. As a result, the map will appear very barren of dinosaurs. You can raise the enemy caps in the same file. Another caveat is that T-rexes will start chasing you from much further afar (their chasing range is unlimited).

@EliasHeydrich
Copy link

Could these values (fog distance and enemy cap) be made configurable? A simple INI-file or similar tweak would be enough...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants