https://github.com/yvt/openspades/wiki/Example%3A-Reflex-Sight
It tries to search for files called SMG/shotn.wav
, which seem to no longer exist in current OpenSpades.
So uh I gave it a try and here is a new version that works:
https://gist.github.com/NotAFile/dc31929e88c58632ed6d24f75b5f84e1
Looks like some user-created weapon MODs are affected by this as well. I guess I should distribute a "compatibility pak" that provides the .wav
version of sound files.
Temporary work-around: renaming pak000-Nonfree.pak
to pak001-Nonfree.pak
, copying the pak010-BaseSkin.pak
from 0.0.12, and then renaming it to pak000-BaseSkin.pak
should do the trick. (Untested)
@yvt yeah i can confirm that this method works, i am now using my old weapons and they're working. Some stuff is still broken tho like weapon sounds because its not using any "distance" sounds propably because they're not set in script by default anywhere. I will try to add them manually but most important part - old weapon skins are working! yay!
It would be nice to have this built in as a setting, instead of a mod.
Here was my version: https://github.com/BR-/openspades/commit/eb3ab65c52752fadf5fa3e55e9a2dd08317e134f
I wasn't able to figure out how to read cvars from the script, so it's just always on.
I'd disagree, it would probably be more useful to be able to switch mods with a real menu and then ship a few options with OpenSpades.