eharper256
Member
I figured out how to add individual sound effects to this, based on the type of thing produced...
If you have a better SFX, replace the ones here with something else; just alter '126-Water01' to 'Mysound' or whatever. You don't need the extension; but it must be imported into your SE folder.
Also, I sort of got around the whole confirmation box thing by masking the crafting scene in events; and adding a dispose scene command in the script after the item was made. This has two useful purposes; One, it stops you going on an item making frenzy and wasting ingredients, and Two, allows me to add some random amount of time to the ingame clock. (With a message 'You took x minutes to make that!')
This works excellently for me, since I use an alchemy sound for items made, and a custom made smithing noise for weapons and armour.
Code:
In 'Scene_Craft'
[B]Find:[/B]
def update
@recipe_list.update
@result_info.update(@recipe_list.data)
@result_comp.update(@recipe_list.data)
[B][U]Underneath add:[/U][/B]
recipe = Craft.get_recipe(@recipe_list.data)
[B]Then Find:[/B]
if Input.trigger?(Input::C)
if craft(@recipe_list.data)
[B][U]And Replace the default SE call with this:[/U][/B]
case recipe['RESULT'][0]
when 0
Audio.se_play("Audio/SE/126-Water01", 80, 150)
when 1
Audio.se_play("Audio/SE/097-Attack09", 80, 150)
when 2
Audio.se_play("Audio/SE/097-Attack09", 80, 150)
end
Also, I sort of got around the whole confirmation box thing by masking the crafting scene in events; and adding a dispose scene command in the script after the item was made. This has two useful purposes; One, it stops you going on an item making frenzy and wasting ingredients, and Two, allows me to add some random amount of time to the ingame clock. (With a message 'You took x minutes to make that!')
This works excellently for me, since I use an alchemy sound for items made, and a custom made smithing noise for weapons and armour.