So guys, I just tested this mod on the next gen version and it works. Now I’ll explain how you can get at least the helmets out.
Install the mod either through the manager or by unpacking it into the folder with the DLS.
Activate the console in the game (to do this you need to add it additionally, google it on the Internet, there is a video on YouTube)
And in the console you propagate the command: additem('Insert one from the list') vikingaxe vikingshield excalibur vikinghelm vikinghelm1 vikinghelm2 vikinghelm3 vikinghelm4 vikinghelm5 vikinghelm6 vikinghelm7 vikinghelm8 vikinghelm9 vikinghelm10 vikinghelm11 vikinghelm12 vikinghelm13 vikinghelm14 vikinghelm15
Thus, I managed to get helmets for the next gen version, as far as I understand, due to the lack of updates, things from the mod cannot be found from merchants, but as you can see, you can do it using commands, I don’t know other commands for other things, but maybe someone can find in files
I managed to make a patch that fixes the hair problem and changes the helmets to masks (though its not very elegant). I'll make a post for it a bit later, cannot at the moment.
Its clear that half the mods on this page are never going to be updated to next gen because the people that made them have either moved on or don't give a crap anymore.
Hey, nice work. I want to give you an advice, how you can solve the hair-problem.
If you equip one of your helmets you can execute the function "nohair".
Search for exec function nohair via Notepad++ then copy the content. The difficult thing is to check whether a player equiped one of your helmet. you can search for name: GetWitcherPlayer().inv.GetItemsByName( vikinghelm1 ); The opposite can also be done, if a player unequip an helmet.
or if one of the QuickSlots bears a vikingHelmet you can compare names/ strings, then you can remove the hairs.
I think its quite comfortable after unequip the helmet, cause the hair-style you worn before gets automatacally equiped. I tried it via console and after removing helmet, hairs were on again.
I'm not in the material rigth now, just want to give you some inspiration.....
maybe some of those function will be helpfull: - HasMountedItemByTag(tag : name) : bool - GetItemFromSlot( slotName : name ) : SItemUniqueId; so to check for equiped VikingHelmet could look like: if ( GetItemFromSlot( EES_Quickslot1 ).GetItemName == "vikinghelm1" || GetItemFromSlot( EES_Quickslot2 ).GetItemName == "vikinghelm1" ) { ==> noHair }
1.: copy to: ...\mod0000_MergedFiles\content\scripts\game\player\playerWitcher.ws
//--== myChanges NoHairWearingVikingHelm BEGIN ==-- public function CheckForVikingHelm() { var item1, item2 : SItemUniqueId; var ids, hairArray : array<SItemUniqueId>; var hairStyle : SItemUniqueId; var i : int;
} //--== myChanges NoHairWearingVikingHelm End ==--
2. copy to:...\mod0000_MergedFiles\content\scripts\game\gui\hud\modules\hudModuleMessage.ws.ws ==> under function: event OnTick( timeDelta : float ) ==> under the last initiated variable like " var blabla ; blbla;;"
//--== myChanges NoHairWearingVikingHelm BEGIN ==-- GetWitcherPlayer().CheckForVikingHelm(); //--== myChanges NoHairWearingVikingHelm End ==--
Run game
now hairs should be automatically removed AND equipped again when removing helmet
I have to THANK the author of the mod ConsoleExtension for the exec function nohairs
So is this going to get updated or have you abandoned it, would be nice if their was some communitcation here instead of just leaving everyone in the dark.
I wish I was well versed on coding like this.. any chance you can share your already modified files? You would be doing this community a huge service. I gotta thank the original creator for such an amazing mod as well!
372 comments
No update :(
Install the mod either through the manager or by unpacking it into the folder with the DLS.
Activate the console in the game (to do this you need to add it additionally, google it on the Internet, there is a video on YouTube)
And in the console you propagate the command: additem('Insert one from the list')
vikingaxe
vikingshield
excalibur
vikinghelm
vikinghelm1
vikinghelm2
vikinghelm3
vikinghelm4
vikinghelm5
vikinghelm6
vikinghelm7
vikinghelm8
vikinghelm9
vikinghelm10
vikinghelm11
vikinghelm12
vikinghelm13
vikinghelm14
vikinghelm15
Thus, I managed to get helmets for the next gen version, as far as I understand, due to the lack of updates, things from the mod cannot be found from merchants, but as you can see, you can do it using commands, I don’t know other commands for other things, but maybe someone can find in files
If you equip one of your helmets you can execute the function "nohair".
Search for exec function nohair via Notepad++
then copy the content.
The difficult thing is to check whether a player equiped one of your helmet.
you can search for name:
GetWitcherPlayer().inv.GetItemsByName( vikinghelm1 );
The opposite can also be done, if a player unequip an helmet.
or if one of the QuickSlots bears a vikingHelmet
you can compare names/ strings, then you can remove the hairs.
I think its quite comfortable after unequip the helmet, cause the hair-style you worn before gets automatacally equiped. I tried it via console and after removing helmet, hairs were on again.
I'm not in the material rigth now, just want to give you some inspiration.....
maybe some of those function will be helpfull:
- HasMountedItemByTag(tag : name) : bool
- GetItemFromSlot( slotName : name ) : SItemUniqueId;
so to check for equiped VikingHelmet could look like:
if ( GetItemFromSlot( EES_Quickslot1 ).GetItemName == "vikinghelm1"
|| GetItemFromSlot( EES_Quickslot2 ).GetItemName == "vikinghelm1" )
{
==> noHair
}
- GetWitcherPlayer().EquipItem(itemTorch, EES_Quickslot1, true);
- EES_Quickslot1;
- StrContains( GetItemFromSlot( EES_Quickslot2 ).GetItemName, "viking");
____________________________________ OK, solved it:
this is, what you should do:
1.: copy to: ...\mod0000_MergedFiles\content\scripts\game\player\playerWitcher.ws
//--== myChanges NoHairWearingVikingHelm BEGIN ==--
public function CheckForVikingHelm()
{
var item1, item2 : SItemUniqueId;
var ids, hairArray : array<SItemUniqueId>;
var hairStyle : SItemUniqueId;
var i : int;
GetItemEquippedOnSlot( EES_Quickslot1, item1 );
GetItemEquippedOnSlot( EES_Quickslot2, item2 );
if (StrContains(inv.GetItemName(item1), "viking") || StrContains( inv.GetItemName(item2), "viking"))
{
ids = inv.GetItemsByCategory( 'hair' );
// size = ids.Size();
if( ids.Size() > 0 )
{
for( i = 0; i < ids.Size(); i+=1 )
{
if(inv.IsItemMounted( ids[i] ) )
{
inv.DespawnItem(ids[i]);
}
}
}
ids.Clear();
}
}
//--== myChanges NoHairWearingVikingHelm End ==--
2. copy to:...\mod0000_MergedFiles\content\scripts\game\gui\hud\modules\hudModuleMessage.ws.ws
==> under function: event OnTick( timeDelta : float )
==> under the last initiated variable like " var blabla ; blbla;;"
//--== myChanges NoHairWearingVikingHelm BEGIN ==--
GetWitcherPlayer().CheckForVikingHelm();
//--== myChanges NoHairWearingVikingHelm End ==--
Run game
now hairs should be automatically removed AND equipped again when removing helmet
I have to THANK the author of the mod ConsoleExtension for the exec function nohairs