Adding sound to models?

正在查看此主题的用户

Mushroom911

Recruit
Erm, im kinda new to this but i searched the forum and didnt find anything about sounds and models so il ask away... how do i add sounds to a model? or script an item so that it playes a sound file when used....?

i want to add a bang to the flintlock ingame :razz:... but seemingly i cant :grin: any help welcome :roll:
 
You need to use the module system, which is not out for the current version yet - when it does become available, look in module_items.py, on the flintlock there is a command such as 'play_sound (snd_pistol)' or something not dissimilar.
 
后退
顶部 底部