1.if you do not like any of the sound, it's easy to delete. no stamina heartbeat: already uploaded ?no vitality heartbeat: search for theSound.SoundEvent("play_heartbeat3"); in playerabilitymanager.ws and ?delete it ?no witcher sense heartbeat: search for theSound.SoundEvent("play_heartbeat1"); in focus.ws and delete it ?no toxicity sfx at 50%: search for theSound.SoundEvent("play_mut50"); and delete it ?no toxicity sfx at 75%: search for theSound.SoundEvent("play_mut100"); and delete it
2.camera shake is editable, search for animation.weight = 2; in playerabilitymanager.ws and edit the number
3. "ghost of the time" spell in magic spells mod are unable to use when health is below 20%, i personally do not use such powerful spell so i won't put out a fix. But you can fix it by deleting the injury anim, easy to do, just search for EnableInjuredWalk( ); in playerabilitymanager.ws and delete it
4.compatible with PN or CA
5.for SCAAR user, download 1.my mod file and 2.the optional dlc and 3.SCAAR's combineforceV2 mod file for nonSCAAR user, just download my mod file
6. ghost mod already has a heartbeat for stamina, so you'll need to delete mine stamina heartbeat with the instructions in 1
7. to disable the anim slow down under low vitality : search for thePlayer.SetAnimationSpeedMultiplier( 0.86); in playerabilitymanager.ws and delete it
8.to remove drunk screen effect: go to playerabilitymanager.ws and search for owner.AddEffectDefault(EET_Drunkenness, owner, 'vitality_change'); and delete that line
9. to edit the level of vitality at which the spinning/drunk effect gets triggered: search for vitPerc <= 0.3 ; vitPerc > 0.3 in playerabilitymanager.ws SEPERATELY and edit that 0.3
hi, it seems my trick works -> so if i want to use witcher sense only i need to delete abilty and effects folder in scripts/game/gameplay and leave focus folder intact
Whoever wishing to use this spectacular mod with the correct output of sound should have to edit PlayerAbilityManager.ws inside both of the mod folder and conseguentilly the one inside the folder of merged files, replacing lines from 435 to 549 with this
?//modce++ protected final function OnStaminaChanged() { if (!isbeating3 && !isbeating2 && GetStatPercents(BCS_Stamina) <= 0.4) { theSound.SoundLoadBank("ce.bnk", false); theSound.SoundEvent("play_heartbeat2"); isbeating2 = true; } else if (!isbeating3 && GetStatPercents(BCS_Stamina) >= 0.3) { theSound.SoundLoadBank("ce.bnk", false); theSound.SoundEvent("stop_heartbeat2"); isbeating2 = false; } }
protected final function OnVitalityChanged() { var vitPerc: float; var staPerc: float; vitPerc = GetStatPercents(BCS_Vitality); staPerc = GetStatPercents( BCS_Stamina ); if (vitPerc <= 0.3) drunkcamera(); if(vitPerc > 0.3) notdrunkcamera(); if (vitPerc <= 0.2 && !isbeating3) { theSound.SoundLoadBank("ce.bnk", false); theSound.SoundEvent("play_heartbeat3"); isbeating3 = true; } else if(vitPerc > 0.2) { theSound.SoundLoadBank("ce.bnk", false); theSound.SoundEvent("stop_heartbeat3"); isbeating3 = false; }
if for any reason the indicated lines do not correspond to perfection with those you have, keep in mind that the 2 part to edit start both with //modce++ and end with //modce-- And don't forget to thank mugi for it's effort
i am not ignorant i have used every mod worth using for this game... your scripts are breaking the game... i remove them and no issues... my merges are immaculate.
Hi, I had CTD and game freezes as well mostly during the combat, but I've removed 1-2 lines and now it works without crashes at least for me till now so, if you're interested, I can share the file with you, and you can confirm whether it's fixed or not?
1. This mod is not compatible with the mod E3ImprovedCombatAnimation
2. If the soundfx of this mod bothers you, you could disable it without changing lines in the script. Just simply delete the soundscpe.cache file inside the mod folder. In this way, the sounds wont play, and its easy to install back again just in case you'll miss the sfx and to save time in editing and remerging the scripts, otherwise just follow the OP's method in deleting specific sfx via script editing.
3. The OP said that its compatible with Complete Animations mod. I can confirm it is. Im using the CA Redux version. But, I found something that bothers me, though. More like a nitpick. When using CA mod with this, when Geralt is not at full HP, Geralt's CA animation during exploration will be slowed as long as he is not in full health. He will move like in slow motion. It kinda bothers me especially when drinking animation, the drinking sfx and the animation will not sync together because of the slowed animation. Or if Geralt is looting, after the animation, Geralt will have a "fast" reaction. Kinda a fast get up after he bends over during the looting animation. Basically, its out of sync. But in only affects CA animations. Other animations that isnt with CA, it works as it is.
I somehow found the culprit in number 3 and eliminate it. Well, that's it. This mod is great.
Hi, there`s really an issue with E3 Improved Combat Animations (i`ve had my game freeze in combat when both mods installed together), BUT you cold use this mod without animations (just delete "EnableInjuredWalk( ); in playerabilitymanager.ws", like it`s said in pinned post). Should work together with E3ICA (mine is working now:). Thanks to mugi) P.S. Im using old "no stamina sfx" version.
Here's what I don't understand and I am a developer, though never created a witcher 3 mod.
I am getting this error: Error [mod0000_mergedfiles]game\gameplay\ability\abilitymanager.ws(418): Could not find function 'OnStaminaChanged'.
So it seems this function is declared (in abilityManager.ws) and defined (in PlayerAbilityManager.ws) within the scope of this mod. Within abilityManager.ws, a call to OnStaminaChanged on line 401 is performed. From what I can see, this error makes sense, but then how the heck did anyone have success with this and what am I missing?
any chance for fix with "bugged sound" when fighting with kikimore?
also is decoctions toxicity planned to be counted for sfx toxicity effect?
Important: bug sound with a horrible squeal when finishing off the wolf pack, which never ends except by going back to the baron again and happens again when defeating the wolf pack, it hurts that this happens! I liked it, I will have to deactivate it momentarily...
great mod, if U could fix it in free time, it'll be great
you can just delete this lines from tw3directory/mods/modce/content/sscript/game/gameplay/ability/playerabilitymanager.ws file.
similar to this, you will no longer hear anything as your toxicity grows, and so on: //modce++ //if(thePlayer.GetStatPercents(BCS_Toxicity)-before > 0) //{ //if(thePlayer.GetStatPercents(BCS_Toxicity) >= 0.5 && thePlayer.GetStatPercents(BCS_Toxicity) < 0.75) //{ //if(!theSound.SoundIsBankLoaded("ce.bnk")) //{theSound.SoundLoadBank("ce.bnk", false);} //theSound.SoundEvent("play_mut50"); <================= just delete this //} //if(thePlayer.GetStatPercents(BCS_Toxicity) >= 0.75) //{ //if(!theSound.SoundIsBankLoaded("ce.bnk")) //{theSound.SoundLoadBank("ce.bnk", false);} //theSound.SoundEvent("play_mut100"); <================= just delete this //GetWitcherPlayer().AddTimer('mutanim', 4.0f); //} //} //modce--
181 comments
no stamina heartbeat: already uploaded
?no vitality heartbeat: search for theSound.SoundEvent("play_heartbeat3"); in playerabilitymanager.ws and ?delete it
?no witcher sense heartbeat: search for theSound.SoundEvent("play_heartbeat1"); in focus.ws and delete it
?no toxicity sfx at 50%: search for theSound.SoundEvent("play_mut50"); and delete it
?no toxicity sfx at 75%: search for theSound.SoundEvent("play_mut100"); and delete it
2.camera shake is editable, search for animation.weight = 2; in playerabilitymanager.ws and edit the number
3. "ghost of the time" spell in magic spells mod are unable to use when health is below 20%, i personally do not use such powerful spell so i won't put out a fix.
But you can fix it by deleting the injury anim, easy to do, just search for EnableInjuredWalk( ); in playerabilitymanager.ws and delete it
4.compatible with PN or CA
5.for SCAAR user, download 1.my mod file and 2.the optional dlc and 3.SCAAR's combineforceV2 mod file
for nonSCAAR user, just download my mod file
6. ghost mod already has a heartbeat for stamina, so you'll need to delete mine stamina heartbeat with the instructions in 1
7. to disable the anim slow down under low vitality :
search for thePlayer.SetAnimationSpeedMultiplier( 0.86); in playerabilitymanager.ws and delete it
8.to remove drunk screen effect:
go to playerabilitymanager.ws and search for
owner.AddEffectDefault(EET_Drunkenness, owner, 'vitality_change');
and delete that line
9. to edit the level of vitality at which the spinning/drunk effect gets triggered:
search for vitPerc <= 0.3 ; vitPerc > 0.3 in playerabilitymanager.ws SEPERATELY and edit that 0.3
so if i want to use witcher sense only i need to delete abilty and effects folder in scripts/game/gameplay and leave focus folder intact
?//modce++
protected final function OnStaminaChanged()
{
if (!isbeating3 && !isbeating2 && GetStatPercents(BCS_Stamina) <= 0.4)
{
theSound.SoundLoadBank("ce.bnk", false);
theSound.SoundEvent("play_heartbeat2");
isbeating2 = true;
}
else if (!isbeating3 && GetStatPercents(BCS_Stamina) >= 0.3)
{
theSound.SoundLoadBank("ce.bnk", false);
theSound.SoundEvent("stop_heartbeat2");
isbeating2 = false;
}
}
protected final function OnVitalityChanged()
{
var vitPerc: float;
var staPerc: float;
vitPerc = GetStatPercents(BCS_Vitality);
staPerc = GetStatPercents( BCS_Stamina );
if (vitPerc <= 0.3) drunkcamera();
if(vitPerc > 0.3) notdrunkcamera();
if (vitPerc <= 0.2 && !isbeating3)
{
theSound.SoundLoadBank("ce.bnk", false);
theSound.SoundEvent("play_heartbeat3");
isbeating3 = true;
}
else if(vitPerc > 0.2)
{
theSound.SoundLoadBank("ce.bnk", false);
theSound.SoundEvent("stop_heartbeat3");
isbeating3 = false;
}
if(vitPerc < theGame.params.LOW_HEALTH_EFFECT_SHOW && !owner.HasBuff(EET_LowHealth))
owner.AddEffectDefault(EET_LowHealth, owner, 'vitality_change');
else if(vitPerc >= theGame.params.LOW_HEALTH_EFFECT_SHOW && owner.HasBuff(EET_LowHealth))
owner.RemoveBuff(EET_LowHealth);
if(vitPerc < 1.f)
ResetOverhealBonus();
theTelemetry.SetCommonStatFlt(CS_VITALITY, GetStat(BCS_Vitality));
}
function drunkcamera( )
{
var animation : SCameraAnimationDefinition;
animation.animation = 'CS_Drunk';
animation.priority = CAP_High;
animation.blendIn = 0.1f;
animation.blendOut = 0.1f;
animation.speed= 1.0f;
animation.weight = 2.0;
animation.loop = false;
animation.additive = true;
animation.reset = false;
theGame.GetGameCamera().PlayAnimation( animation );
owner.AddEffectDefault(EET_Drunkenness, owner, 'vitality_change');
EnableInjuredWalk( );
}
function notdrunkcamera( )
{
var animation : SCameraAnimationDefinition;
animation.animation = 'CS_Drunk';
animation.priority = CAP_Low;
animation.blendIn = 0.1f;
animation.blendOut = 0.1f;
animation.speed= 1.0f;
animation.weight = 0;
animation.loop = false;
animation.additive = true;
animation.reset = true;
owner.RemoveBuff(EET_Drunkenness);
theGame.GetGameCamera().PlayAnimation( animation );
DisableInjuredWalk( );
}
function EnableInjuredWalk( )
{
thePlayer.SetBehaviorVariable( 'alternateWalk', 1.0f );
thePlayer.BlockAction(EIAB_RunAndSprint,'Exploration' , true);
thePlayer.SetAnimationSpeedMultiplier( 0.86);
}
function DisableInjuredWalk( )
{
thePlayer.SetBehaviorVariable( 'alternateWalk', 0.0f );
thePlayer.UnblockAction(EIAB_RunAndSprint,'Exploration' );
thePlayer.SetAnimationSpeedMultiplier( 1);
}
//modce--
and from line 573 to 591 with this
//modce++
if(thePlayer.GetStatPercents(BCS_Toxicity)-before > 0)
{
if(thePlayer.GetStatPercents(BCS_Toxicity) >= 0.1 && thePlayer.GetStatPercents(BCS_Toxicity) <= 0.50)
{
theSound.SoundLoadBank("ce.bnk", false);
theSound.SoundEvent("play_mut50");
}
if(thePlayer.GetStatPercents(BCS_Toxicity) > 0.50)
{
theSound.SoundLoadBank("ce.bnk", false);
theSound.SoundEvent("play_mut100");
GetWitcherPlayer().AddTimer('mutanim', 4.0f);
}
}
//modce--
if for any reason the indicated lines do not correspond to perfection with those you have, keep in mind that the 2 part to edit start both with //modce++ and end with //modce--
And don't forget to thank mugi for it's effort
your mods are amazing but not working with the next gen... can you upgrade your creations?
1. This mod is not compatible with the mod E3ImprovedCombatAnimation
2. If the soundfx of this mod bothers you, you could disable it without changing lines in the script. Just simply delete the soundscpe.cache file inside the mod folder. In this way, the sounds wont play, and its easy to install back again just in case you'll miss the sfx and to save time in editing and remerging the scripts, otherwise just follow the OP's method in deleting specific sfx via script editing.
3. The OP said that its compatible with Complete Animations mod. I can confirm it is. Im using the CA Redux version. But, I found something that bothers me, though. More like a nitpick. When using CA mod with this, when Geralt is not at full HP, Geralt's CA animation during exploration will be slowed as long as he is not in full health. He will move like in slow motion. It kinda bothers me especially when drinking animation, the drinking sfx and the animation will not sync together because of the slowed animation. Or if Geralt is looting, after the animation, Geralt will have a "fast" reaction. Kinda a fast get up after he bends over during the looting animation. Basically, its out of sync. But in only affects CA animations. Other animations that isnt with CA, it works as it is.
I somehow found the culprit in number 3 and eliminate it. Well, that's it. This mod is great.
P.S. Im using old "no stamina sfx" version.
I am getting this error: Error [mod0000_mergedfiles]game\gameplay\ability\abilitymanager.ws(418): Could not find function 'OnStaminaChanged'.
So it seems this function is declared (in abilityManager.ws) and defined (in PlayerAbilityManager.ws) within the scope of this mod. Within abilityManager.ws, a call to OnStaminaChanged on line 401 is performed. From what I can see, this error makes sense, but then how the heck did anyone have success with this and what am I missing?
*******EDIT
I believe I just found my problem.
superb mod
any chance for fix with "bugged sound" when fighting with kikimore?
also is decoctions toxicity planned to be counted for sfx toxicity effect?
Important: bug sound with a horrible squeal when finishing off the wolf pack, which never ends except by going back to the baron again and happens again when defeating the wolf pack, it hurts that this happens! I liked it, I will have to deactivate it momentarily...
great mod, if U could fix it in free time, it'll be great
thanks in advance and best regards
btw where and what to change toxicity anim with 75% for other value?or completely disable anim?
GetWitcherPlayer().AddTimer('mutanim', 4.0f);
and place if where you wish
GetWitcherPlayer().AddTimer('mutanim', 4.0f);
and place if where you wish
similar to this, you will no longer hear anything as your toxicity grows, and so on:
//modce++
//if(thePlayer.GetStatPercents(BCS_Toxicity)-before > 0)
//{
//if(thePlayer.GetStatPercents(BCS_Toxicity) >= 0.5 && thePlayer.GetStatPercents(BCS_Toxicity) < 0.75)
//{
//if(!theSound.SoundIsBankLoaded("ce.bnk"))
//{theSound.SoundLoadBank("ce.bnk", false);}
//theSound.SoundEvent("play_mut50"); <================= just delete this
//}
//if(thePlayer.GetStatPercents(BCS_Toxicity) >= 0.75)
//{
//if(!theSound.SoundIsBankLoaded("ce.bnk"))
//{theSound.SoundLoadBank("ce.bnk", false);}
//theSound.SoundEvent("play_mut100"); <================= just delete this
//GetWitcherPlayer().AddTimer('mutanim', 4.0f);
//}
//}
//modce--