Jump to content

Creating looping sounds for weapons


Bottletopman

Recommended Posts

Hmm, yes, indeed.

In all seriousness though that actually sounds really neat, although I can see an issue with certain looping sounds that have a release portion, such as the flamer - if the fire button was released instead of skipping to the release portion of the file it'd simply stop playing it at all, although I now wonder if it's possible to execute a stopsound when shooting begins, while getting it to play again right after the stopsound command executes.

Link to comment
Share on other sites

Nice, to be honest the most experience I've gotten with scripting was just looking at how other plugins did it and then modifying it for my own use lol, some basic stuff I'm aware of like additemtoleveledlist which can screw your save if you decide to uninstall a mod that uses that to add something (looking at you, DLC weapons integration and adding the LAER and its mods to vendors and energy weapon lists...) but anyway, I'm primarily aiming for minimal performance impact so would gamemode be fine to use in this particular case? Or would OnFire be more suited for such a thing? My only concern about gamemode is that the documentation on it says that it runs every frame.

Edited by Bottletopman
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...