Thanks Sunbeam and Caligari87 for this mod and the explanation.
Here is my port in "pure" Zscript. Use it at will, Improvements and suggestions welcome.
Turns out, looking for the SoundEnvironement actor in GZDoom leads to a very short implementation in Zscript, which in turns simply goes to calling (Actor).CurSector.SetEnvironnementID().
Better still, the much more friendly (Actor).CurSector.SetEnvironnement("Env Name") is also available.
The custom FastProjectile is replaced by a LineTrace.
Here is my port in "pure" Zscript. Use it at will, Improvements and suggestions welcome.
Turns out, looking for the SoundEnvironement actor in GZDoom leads to a very short implementation in Zscript, which in turns simply goes to calling (Actor).CurSector.SetEnvironnementID().
Better still, the much more friendly (Actor).CurSector.SetEnvironnement("Env Name") is also available.
The custom FastProjectile is replaced by a LineTrace.
Statistics: Posted by vsonnier — Sun Jan 07, 2024 4:32 am