Page MenuHomeFeedback Tracker

Add GetSoundHit() in SurfaceInfo
New, NormalPublic

Description

Currently, SurfaceInfo provides getters for most surface properties, but soundHit is missing. Adding GetSoundHit() allow modders to retrieve impact sounds much easier. This would be especially useful for handling custom sound effects based on surface type when bullets, footsteps, or other objects interact with different materials.

Details

Severity
Trivial
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Operating System Version
10.0.26100
Category
General
Additional Information
proto string GetName();
	proto string GetEntryName();
	proto string GetSurfaceType();
	
	proto float GetRoughness();
	proto float GetDustness();
	proto float GetBulletPenetrability();
	proto float GetThickness();
	proto float GetDeflection();
	proto float GetTransparency();
	proto float GetAudability();
	
	proto bool IsLiquid();
	proto bool IsStairs();
	proto bool IsPassthrough();
	proto bool IsSolid();
	
	proto string GetSoundEnv();
	proto string GetImpact();
        proto string GetSoundHit();// Just add it right here, with all it's buddies

Event Timeline

Genriet1 created this task.Sat, Mar 8, 1:34 PM
Genriet1 edited Additional Information. (Show Details)