Posted Yesterday, 01:59 PM
Hey Guys, how ya all doin? I ve came here again with a specific problem. I cant hear sounds for my own mobs. Let me tell you the whole thing:
Im now modding with eclipse and making my own mod with my custom mobs and stuff. So, i've modeled and coded a mob. It works perfectly( animations, ai ), but there is one thing. I cant hear sounds he suppose to make. I've put my own .ogg sounds in directory [MCP_152\jars\resources\newsound\mob\houndeye]and made a path to them in my modName file:
mc.installResource("newsound/mob/houndeye/bip1.ogg", new File(mc.mcDataDir, "resources/newsound/mob/houndeye/bip1.ogg")); mc.installResource("newsound/mob/houndeye/bip2.ogg", new File(mc.mcDataDir, "resources/newsound/mob/houndeye/bip2.ogg")); mc.installResource("newsound/mob/houndeye/bip3.ogg", new File(mc.mcDataDir, "resources/newsound/mob/houndeye/bip3.ogg")); mc.installResource("newsound/mob/houndeye/hurt1.ogg", new File(mc.mcDataDir, "resources/newsound/mob/houndeye/hurt1.ogg")); mc.installResource("newsound/mob/houndeye/hurt2.ogg", new File(mc.mcDataDir, "resources/newsound/mob/houndeye/hurt2.ogg")); mc.installResource("newsound/mob/houndeye/death.ogg", new File(mc.mcDataDir, "resources/newsound/mob/houndeye/death.ogg")); }
I also set these sounds to this mob in his EntityName file:
But in the game nothing works. I tried to take like wolf's sounds and rename it into mine. It isnt worked to but when i've made directory to wolf's sounds:
Only then my mob after its death made a "bark" sound. I dont know where is the problem. I really need those sounds for my mob to work. Need ya help guyz, thx.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Posted Yesterday, 01:59 PM
Hey Guys, how ya all doin? I ve came here again with a specific problem. I cant hear sounds for my own mobs. Let me tell you the whole thing:
Im now modding with eclipse and making my own mod with my custom mobs and stuff. So, i've modeled and coded a mob. It works perfectly( animations, ai ), but there is one thing. I cant hear sounds he suppose to make. I've put my own .ogg sounds in directory [MCP_152\jars\resources\newsound\mob\houndeye]and made a path to them in my modName file:
mc.installResource("newsound/mob/houndeye/bip1.ogg", new File(mc.mcDataDir, "resources/newsound/mob/houndeye/bip1.ogg"));
mc.installResource("newsound/mob/houndeye/bip2.ogg", new File(mc.mcDataDir, "resources/newsound/mob/houndeye/bip2.ogg"));
mc.installResource("newsound/mob/houndeye/bip3.ogg", new File(mc.mcDataDir, "resources/newsound/mob/houndeye/bip3.ogg"));
mc.installResource("newsound/mob/houndeye/hurt1.ogg", new File(mc.mcDataDir, "resources/newsound/mob/houndeye/hurt1.ogg"));
mc.installResource("newsound/mob/houndeye/hurt2.ogg", new File(mc.mcDataDir, "resources/newsound/mob/houndeye/hurt2.ogg"));
mc.installResource("newsound/mob/houndeye/death.ogg", new File(mc.mcDataDir, "resources/newsound/mob/houndeye/death.ogg"));
}
I also set these sounds to this mob in his EntityName file:
protected String getLivingSound()
{
return "mob.houndeye.bip";
}
protected String getHurtSound()
{
return "mob.houndeye.hurt";
}
protected String getDeathSound()
{
return "mob.houndeye.death";
}
But in the game nothing works. I tried to take like wolf's sounds and rename it into mine. It isnt worked to but when i've made directory to wolf's sounds:
protected String getDeathSound()
{
return "mob.wolf.bark",
}
Only then my mob after its death made a "bark" sound. I dont know where is the problem. I really need those sounds for my mob to work. Need ya help guyz, thx.