well instead of the camera zooming out, it zooms in
this is the code
Code: Select all
#library "bzoom"
#include "zcommon.acs"
int zoomf = 1.0;
script "bzoom" (void) {
zoomf = zoomf - 0.1;
SetResultValue(zoomf);
if (GetCVar("tgc_debugging_fun")== true) {
Log(s:"Zoom factor is now ", f:zoomf, s:".");
Delay(35);
zoomf = 1.0;
Log(s:"Zoom factor is 1 again.");
}
}i've seen from the log that the first zoom factor is 0.900003
might be something from that
also i need it the script to zoom out more and more because one specific weapon i am making can either shoot one shell or 10
do you guys have any idea why this is the case?