softened gun lights

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2688 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-09-18 08:09:53 +00:00
parent 98e8cdb8c9
commit b4b74dd809
+3 -3
View File
@@ -874,7 +874,7 @@ void gun::attackfx(const vec &from, const vec &to, int millis)
addbullethole(owner, from, to);
addshotline(owner, from, to);
particle_splash(0, 5, 250, to);
adddynlight(from, 4, 100, 0, 128, 104, 96);
adddynlight(from, 4, 100, 50, 96, 80, 64);
attacksound();
}
@@ -902,7 +902,7 @@ void shotgun::attackfx(const vec &from, const vec &to, int millis)
int holes = 3+rnd(5);
loopi(holes) addbullethole(owner, from, sg[i], 0, false);
}
adddynlight(from, 4, 100, 0, 128, 104, 96);
adddynlight(from, 4, 100, 50, 96, 80, 64);
attacksound();
}
@@ -925,7 +925,7 @@ void sniperrifle::attackfx(const vec &from, const vec &to, int millis)
addshotline(owner, from, to);
particle_splash(0, 50, 200, to);
particle_trail(1, 500, from, to);
adddynlight(from, 4, 100, 0, 128, 104, 96);
adddynlight(from, 4, 100, 50, 96, 80, 64);
attacksound();
}