Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Reisal

SNDINFO and longer sound names?

Recommended Posts

Do I really have to use eight character file names (IE MenuMove) Menu or is there some way to use things without renaming dozens of sound files in a PK3? It'd be great if I can use a filename like MenuNotification instead of shortening it to MenuNote.

Edited by Glaice

Share this post


Link to post

You can, but you need to specify the path to the file along with its extension:

imp/melee "sounds/path/to/sound/impmeleeattack.ogg"

Share this post


Link to post

Oh, that would be a pain if I have to do this and add 5+ to a $random string. I don't see why not adding support for long filenames without needing to specify the full path.

Share this post


Link to post

$random works with logical names, not lump names, so just assign short logical names to those long path+lump names. In fact, the only time when you ever need to write down the path+lump name is when you define its logical name, which is typically only once.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×