Hello Pieter,
Well I tried to make this work, but alas the game won't even start. By deleting one of the brackets in the reload.c code the game runs, but the location in question simply opens with no screen at all. Its as if it doesn't know which image to select I suspect because it doesn't know which image to select (1 to 5) and no instruction is given for it to select one specifically or default to rand or switch, so it selects a black screen.
Rather than listing them like this...
Locations[n].image.1 = "loading\Tavern7.tga";
Locations[n].image.2 = "loading\Tavern11.tga";
Locations[n].image.3 = "loading\Party4.tga";
Locations[n].image.4 = "loading\SpanishTavern2.tga";
Locations[n].image.5 = "loading\SpanishTavern5.tga";
...in each locations init file, I wonder if it might be better to have a switch right before the list directing it to the list???
Was I supposed to insert my list in some centralized location like locations_init? POTC's file and COAS's files are totally different. My understanding is that I would list then in each individual locations file where I wanted the variety to change each time your character visits.
I was wondering if there could be a file where I could enter a "pict_index" and list the illustrations named in order so that it could point there to know what to do.
I am at a loss.
MK
Well I tried to make this work, but alas the game won't even start. By deleting one of the brackets in the reload.c code the game runs, but the location in question simply opens with no screen at all. Its as if it doesn't know which image to select I suspect because it doesn't know which image to select (1 to 5) and no instruction is given for it to select one specifically or default to rand or switch, so it selects a black screen.
Rather than listing them like this...
Locations[n].image.1 = "loading\Tavern7.tga";
Locations[n].image.2 = "loading\Tavern11.tga";
Locations[n].image.3 = "loading\Party4.tga";
Locations[n].image.4 = "loading\SpanishTavern2.tga";
Locations[n].image.5 = "loading\SpanishTavern5.tga";
...in each locations init file, I wonder if it might be better to have a switch right before the list directing it to the list???
Was I supposed to insert my list in some centralized location like locations_init? POTC's file and COAS's files are totally different. My understanding is that I would list then in each individual locations file where I wanted the variety to change each time your character visits.
I was wondering if there could be a file where I could enter a "pict_index" and list the illustrations named in order so that it could point there to know what to do.
I am at a loss.
MK