Running into some issues with the ProQuake(Kurok) port engine for PSP. Specifically on the map "A Thousand Years Into The Past" by czg from Rubicon2.
The first two maps of Rubicon2 are fine, but when you spawn in A Thousand Years into The Past, you are greeted to a black screen (until you adjust the fog start and end settings because the map seems to blow out any of the ones you had set previously)
The fog code (Proquake 4.71/Kurok Engine for PSP) appears to be a rehash of the Fitzquake implementation, though the numbers seem a bit skewed from the original engine. Right now I'm trying to determine the best way to add an option to disable fog entirely. Linked here is the source code.
Any ideas? I'm thinking about adding a "COM_CheckParm" for "-disablefog" and a menu item inside my prompt menu that launches before Quake starts (this is on PSP, its a debug screen that allows you to set specific startup paramaters) and some if(!COM_CheckParm("-disablefog")) or something to that extent around the bits of fog paramater code... but that would be the lazy way. What would be the best way to setup a cvar to enable/disable fog based on this code?
EDIT: Perhaps I should repurpose the fog_density code from the FitzQuake engine? Does anybody have any idea why it may have been left out?
The first two maps of Rubicon2 are fine, but when you spawn in A Thousand Years into The Past, you are greeted to a black screen (until you adjust the fog start and end settings because the map seems to blow out any of the ones you had set previously)
The fog code (Proquake 4.71/Kurok Engine for PSP) appears to be a rehash of the Fitzquake implementation, though the numbers seem a bit skewed from the original engine. Right now I'm trying to determine the best way to add an option to disable fog entirely. Linked here is the source code.
Any ideas? I'm thinking about adding a "COM_CheckParm" for "-disablefog" and a menu item inside my prompt menu that launches before Quake starts (this is on PSP, its a debug screen that allows you to set specific startup paramaters) and some if(!COM_CheckParm("-disablefog")) or something to that extent around the bits of fog paramater code... but that would be the lazy way. What would be the best way to setup a cvar to enable/disable fog based on this code?
EDIT: Perhaps I should repurpose the fog_density code from the FitzQuake engine? Does anybody have any idea why it may have been left out?
Comment