Jump to content

Recipe, no sound?


Dueler

Recommended Posts

Update: Make sure you aren't hidden or in admin mode when testing mods.

Was just messing around with recipes and got a simple one working pretty much instantly just copying code from base files.
However the only thing that doesn't seem to work for me is sound. I'm trying to use an existing file in media/sound so I don't really get why there is an issue.
Is there another file I need to be creating to make custom recipe sounds work or something else I"m not considering?

 

module ExampleRecipe
{
	imports
	{
		Base
	}

	recipe Make ExampleRecipe
	{
        keep [Recipe.GetItemTypes.ExampleItemtoKeep],
        ExampleItem,
  
        Result:ExampleRecipeFinished=1,
        Sound:splat2,
        Time:50.0,
        Category:ExampleCategory,
	}

}

 

Edited by Dueler
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...