Here is how to make fog colors in Gellin's base guys! Just wanted to share with you how those other guys did it
Add this code to base.cpp:
Code:
char rd[3], gr[3], bl[3];
if(Menu2.mOpt[7].nopt>0){
sprintf(rd, "FogR %d" , Menu2.mOpt[8].nopt);
sprintf(gr, "FogG %d" , Menu2.mOpt[9].nopt);
sprintf(bl, "FogB %d" , Menu2.mOpt[10].nopt);
this->PushToConsole((const char *)rd);
this->PushToConsole((const char *)gr);
this->PushToConsole((const char *)bl);
}else{
this->PushToConsole("FogR 0");
this->PushToConsole("FogG 0");
this->PushToConsole("FogB 0");
}
Add this to menu.cpp in the second menu's intiation code.
Code:
this->AddItemToMenu("Fog Editor" ,1, 0);
this->AddItemToMenu("Fog Red Val" ,255, 0);
this->AddItemToMenu("Fog Blue Val" ,255, 0);
this->AddItemToMenu("Fog Green Val" ,255, 0);
This works with the edited version of gellins base that I released. If you're smart enough you can find it and implement this code. Heck the hack might already have it.
Please don't complain if you don't know what you're doin. Thanks.