- Hitscan projectiles, projectiles can be set to disappear after hitting something.

- Option to adjust ranged weapon spread (separate values for "normal spread" and when being used by an unskilled character).
- Option to disable explosion flashes.
This commit is contained in:
Joonas Rikkonen
2017-10-18 23:48:25 +03:00
parent 142920d704
commit 6bfca5f7fe
4 changed files with 144 additions and 37 deletions

View File

@@ -15,7 +15,7 @@ namespace Barotrauma
public float CameraShake;
private bool sparks, shockwave, flames, smoke;
private bool sparks, shockwave, flames, smoke, flash;
private string decal;
private float decalSize;
@@ -39,6 +39,7 @@ namespace Barotrauma
shockwave = element.GetAttributeBool("shockwave", true);
flames = element.GetAttributeBool("flames", true);
smoke = element.GetAttributeBool("smoke", true);
flash = element.GetAttributeBool("flash", true);
decal = element.GetAttributeString("decal", "");
decalSize = element.GetAttributeFloat("decalSize", 1.0f);