Earthquake

spearprofiler

New Member
In init.sqf

null = [] execVM "earthquake.sqf";

Create earthquake.sqf and paste

earth = {
playsound "eq";
for "_i" from 0 to 140 do {
_vx = vectorup _this select 0;
_vy = vectorup _this select 1;
_vz = vectorup _this select 2;
_coef = 0.01 - (0.0001 * _i);
_this setvectorup [
_vx+(-_coef+random (2*_coef)),
_vy+(-_coef+random (2*_coef)),
_vz+(-_coef+random (2*_coef))
];
sleep (0.01 + random 0.01);
};

};

while {true} do {
player spawn earth;
sleep (180 + random 60);
};

http://forums.bistudio.com/showthre...ects-from-Ew&p=1983290&viewfull=1#post1983290

EW Weather Effects:

http://www.kylania.com/ex/?p=128

How does work the "colorcorrection" ?

This Style is amazing
 
What does that earthquake do on server? I know it may be dumb question but can u give us more infos :)? Anyway looks nice, so im waiting for ur response and probly will use it.
 
Color corrections is not working

i put this on my bottom part of init.sqf

Code:
"colorCorrections" ppEffectAdjust [2, 30, 0, [0.0, 0.0, 0.0, 0.0], [0.8*2, 0.5*2, 0.0, 0.7], [0.9, 0.9, 0.9, 0.0]];
"colorCorrections" ppEffectCommit 0;
//"colorCorrections" ppEffectAdjust [1, 1, 0, [0.0, 0.0, 0.0, 0.0], [0.8*2, 0.5*2, 0.0, 0.7], [0.9, 0.9, 0.9, 0.0]];
"colorCorrections" ppEffectAdjust [1, 0.8, -0.001, [0.0, 0.0, 0.0, 0.0], [0.8*2, 0.5*2, 0.0, 0.7], [0.9, 0.9, 0.9, 0.0]]; 
"colorCorrections" ppEffectCommit 3;
"colorCorrections" ppEffectEnable true;
"filmGrain" ppEffectEnable true;
"filmGrain" ppEffectAdjust [0.02, 1, 1, 0.1, 1, false];
"filmGrain" ppEffectCommit 5;


And nothing.
 
EW Weather Effects:

kylania.com/ex/?p=128


Im intrested in this one, but its not working :F This color corrections and sounds effects are awesome.
 
the Earthquake works client side, so they happen at different times for everyone. And the colour corrections do work, your just doing it wrong
 
Back
Top