Weird ocean rendering glitch

St. Leo

Chieftain
Joined
Sep 3, 2001
Messages
36
Location
Toronto, ON
I'm dipping my toes in modding after a long time and hitting a weird graphics glitch. I created a simple TOTPP mod definition and copied over the graphics files from Catfish's graphics mod.

For some reason, ocean tiles aren't rendered right:
https://www.dropbox.com/s/2y7wsffn41ioq7v/Screenshot 2017-11-12 17.16.27.png?dl=0
https://www.dropbox.com/s/zlmnu09z90eryf0/Screenshot 2017-11-12 17.24.45.png?dl=0

This happens whether or not leave Terrain1.bmp and Terrain2.bmp out of the mod. I'm not even changing them.

The only files I've modified are Units.bmp, Rules.txt, and Game.txt.

Here's the mod so far:
https://www.dropbox.com/s/kpp70fpsuv2fblu/BarbarianWrath.zip?dl=0

Edit: Hmm, TOTMP lets me load my mod but the game is ignoring my Units.bmp file entirely. If I copy Units.bmp to the Original folder, it works. My changes to Rules.txt and Game.txt are being picked up in the mod folder directly, though.

Edit: I've isolated something about my Rules.txt as the cause. I will try to debug via diffing with the original.
 
Last edited:
I've figured it out. The problem was that I started by modifying the Rules.txt from the main TOT directory rather than the Rules.txt from the Original directory. They're different.

Also, TOTMP makes further modifications to Rules.txt, so I picked those up as well.

A diff tool like DiffMerge is invaluable for this sort of debugging.
 
New problem: Civilopedia uses my Units.bmp but the rest of the game uses wrong units graphics. Where are those coming from?

Edit: They're coming from Static.spr. How to disable: http://users.tpg.com.au/jpwbeest/jp_sprites.htm

Edit: Another problem: Research is taking 2000 turns per advance all of a sudden. If I enable cheat mode and look at the Scenario Research Paradigm, it's set to 0/10. If I change it to 10/10, research times revert to normal (6 turns). I don't want to be enabling cheat mode in a modpack, though.
 
Last edited:
New problem: Civilopedia uses my Units.bmp but the rest of the game uses wrong units graphics. Where are those coming from?

Edit: They're coming from Static.spr. How to disable: http://users.tpg.com.au/jpwbeest/jp_sprites.htm

Edit: Another problem: Research is taking 2000 turns per advance all of a sudden. If I enable cheat mode and look at the Scenario Research Paradigm, it's set to 0/10. If I change it to 10/10, research times revert to normal (6 turns). I don't want to be enabling cheat mode in a modpack, though.
How did you do that? I want access to those cool ocean tiles. I think they'd be great for a 70's psychedelic science-fiction-themed scenario... :p
 
Fun trying to remember all the stuff you forgot, eh? :) welcome back!
 
Top Bottom