punctuation matters after all Created 4 years ago2020-02-17 14:56:31 UTC by freedslave freedslave

Created 4 years ago2020-02-17 14:56:31 UTC by freedslave freedslave

Posted 4 years ago2020-02-17 14:56:31 UTC Post #343755
Hi,
I've followed some mapping tutorials about textures which requires an exclamation point in front of the term.
Lastly I followed another tutorial about sounds in HL and then again the exclamation point is necessary.
What is the ! is used for in the game engine ?
Thanks
Posted 4 years ago2020-02-17 21:11:38 UTC Post #343756
The engine uses "!" as a special control character for various purposes. "!" in front of sounds means it's a sentence defined in sentences.txt and not a direct sound file. All sentences need to have an exclamation mark in front of them when specified in an ambient_generic or scripted sentence. "!" in front of a texture name means it's a water texture and will automaticly be turned into a water volume by the compiler. It doesn't really have anything to do with proper punctuation, it's a control character.
Dr. Orange Dr. OrangeSource good.
You must be logged in to post a response.