so, you can attach a graphics file to a hold using the "
image floor"
feature... with the features of the 2.0.7 patch, all the necessary ingredients are place, they just need a smidge of glue.
if I were doing it, these would be the steps:
*1* (easyish) allow attaching a FooTiles.png and FooTiles.tim pair to a hold via an attach-graphics button on the hold edit screen. When a hold is loaded, it forces a graphics reload pretending that your new FooTiles.* stuff is specified in the [graphics] part of the .ini after everything else. (If a hold is loaded without any attached graphics, the forced reload thus UNloads the custom graphics from the last hold you visited).
*2* (easyish) similarly for StyleXTiles.png/.tim
*3* (easyish or medium, depending on if the textures already load right) allow attaching texture files via the attach graphics button ("
MyStyleRoad.png"
), so, if my .ini says
Style1=Style1
Style1=MyStyle
but the only "
MyStyle"
anything in my Data or attached-files set is "
MyStyleRoad.png"
then I expect it to look just like Style1 with a nice yellow-brick road texture. This may already work.
*4* (harder) can you say StyleXGeneralTiles.png/.tim? (i.e. snow covered roaches only in iceworks, for example). I knew you could.
*5* (really hard) Styles 1-3 are used for the default graphics, and there's a hardcoded "
num styles = 3"
in the source code, and whenever it loads a hold with styles 4-9 it goes to a conversion routine to force them into styles 1-3... but clearly you want to be able to add new styles. Style10, Style11, etc to the rescue
. "
add new style"
button would ask for a default style for it to mirror (1-3). but then the magic of steps 2, 3, and 4 listed above allow you to attach a new appearance to Style10. a second click adds Style11...
(and don't forget step *0* posted by someone else previously, which should be an easyish: "
image walls"
similar to "
image floors"
)
[Edited by silver at
Local Time:05-24-2005 at 03:33 AM]
____________________________