Matrixpro
Hi naja da ich das mit dem hintergrundsound nicht hinbekommen habe habe ich mir gedacht versuch es mal mit dem Regen der funzt auch ganz gut, aber ich finde ist ein bischen wenig kann man im script die stärke des reges einstellen wenn ja wie? nutze dieses scrip.
main()
{
level.rain1 = loadfx ("fx/misc/rain_heavy_cloudtype.efx");
thread rain1();
}
rain1()
{
zufall = RandomInt(200);
while(1)
{
players = getentarray("player", "classname");
if(players.size > 0)
{
max_nodes = 20;
max_nodes_per_player = max_nodes/players.size;
for(ii=0;ii<max_nodes_per_player;ii++)
{
for(i = 0; i < players.size; i++)
{
player = players[i];
if(isAlive(player))
{
x= 350-randomfloat(700);
y= 350-randomfloat(700);
pos = player.origin +(x,y,200) ;
trace = bulletTrace(pos,pos +(0,0,-250), true, undefined);
if(trace["fraction"] != 1) playfx(level.rain1,trace["position"]);
wait 0.05;
}
}
}
}
wait 0.05;
}
}
und
main()
{
level.rain2 = loadfx ("fx/misc/rain_splash.efx");
thread rain2();
}
rain2()
{
zufall = RandomInt(200);
while(1)
{
players = getentarray("player", "classname");
if(players.size > 0)
{
max_nodes = 20;
max_nodes_per_player = max_nodes/players.size;
for(ii=0;ii<max_nodes_per_player;ii++)
{
for(i = 0; i < players.size; i++)
{
player = players[i];
if(isAlive(player))
{
x= 350-randomfloat(700);
y= 350-randomfloat(700);
pos = player.origin +(x,y,200) ;
trace = bulletTrace(pos,pos +(0,0,-250), true, undefined);
if(trace["fraction"] != 1) playfx(level.rain2,trace["position"]);
wait 0.05;
}
}
}
}
wait 0.05;
}
}
THX für jeden tipp- cu
main()
{
level.rain1 = loadfx ("fx/misc/rain_heavy_cloudtype.efx");
thread rain1();
}
rain1()
{
zufall = RandomInt(200);
while(1)
{
players = getentarray("player", "classname");
if(players.size > 0)
{
max_nodes = 20;
max_nodes_per_player = max_nodes/players.size;
for(ii=0;ii<max_nodes_per_player;ii++)
{
for(i = 0; i < players.size; i++)
{
player = players[i];
if(isAlive(player))
{
x= 350-randomfloat(700);
y= 350-randomfloat(700);
pos = player.origin +(x,y,200) ;
trace = bulletTrace(pos,pos +(0,0,-250), true, undefined);
if(trace["fraction"] != 1) playfx(level.rain1,trace["position"]);
wait 0.05;
}
}
}
}
wait 0.05;
}
}
und
main()
{
level.rain2 = loadfx ("fx/misc/rain_splash.efx");
thread rain2();
}
rain2()
{
zufall = RandomInt(200);
while(1)
{
players = getentarray("player", "classname");
if(players.size > 0)
{
max_nodes = 20;
max_nodes_per_player = max_nodes/players.size;
for(ii=0;ii<max_nodes_per_player;ii++)
{
for(i = 0; i < players.size; i++)
{
player = players[i];
if(isAlive(player))
{
x= 350-randomfloat(700);
y= 350-randomfloat(700);
pos = player.origin +(x,y,200) ;
trace = bulletTrace(pos,pos +(0,0,-250), true, undefined);
if(trace["fraction"] != 1) playfx(level.rain2,trace["position"]);
wait 0.05;
}
}
}
}
wait 0.05;
}
}
THX für jeden tipp- cu