Kwakstur
Level: Smiter
Rank Points: 385
Registered: 05-05-2006
IP: Logged
|
Re: 3.0 Pressure Plate Mod (0)
This explaination is all theoretical, but inferences through experimentation are the root of science. I'm a scientist, not a researcher.
Please remember that drod.ini is what gives the name of the file you want to use. What it does is this: First, it sees the lineGeneralTiles=GeneralTiles What this does is define that "GeneralTiles" is the name of the file to be used when the code in the game asks for "GeneralTiles". As you can see, it's the same name, but it doesn't have to be. So to distinguish, lets say that the GeneralTiles image included in DROD is actually called "GTiles", and the line in drod.ini reflects that by sayingGeneralTiles=GTiles Now, the first thing it does is check the Bitmaps folder for anything with the name GTiles. If it does find that, it stops searching, and uses that file whenever the game is told to display something from "GeneralTiles". That's why just putting something named "Clock1" and "Clock2" will work in TCB. Sure, the default clock2 disappeared, but you don't need to replace it, you just need to place it!
If "GTiles" isn't in Bitmaps, it will search to see if the file is actually in the game DROD, as default graphics. So let's say it finds "GTiles" in DROD. Those default tiles would then be used whenever "GeneralTiles" is referenced to.
In other words, "GeneralTiles" and the other things on the left of the equals signs are almost like macros that we are defining. And when the game looks to find just what files these names represent, it will prioritize custom ones in Bitmaps over default ones in the game itself.
____________________________
Also known as ExpHP everywhere else.
|