Is there any way how to use the Dynamic combat cam only? I realy like the mod, but unfortunately, as all overhaul mods, it is highly incompatible with my other mods. However I realy miss the dynmaic combat cam + the slow down on last enemy.
Is it possible to extract these functions from the mod?
Anyone know if there's a way to exclusively get ' Counterattacking with fists against monsters and armed opponents' change and nothing else? My game's too heavily modded at this point to get the entire mod but I really want this.
Im trying to use this mod with (with no intro no storybook + HD Reworked project game looks fine) but when I install Auto Loot AIO shows this error:
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(729): 'sTimeInfo' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(730): 'UNQUENCHABLE_HOUR' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(732): 'DEHYDRATED_HOUR' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(734): 'THIRSTY_HOUR' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(736): 'PARCHED_HOUR' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(745): 'sTimeInfo' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(746): 'RAVENOUS_HOUR' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(748): 'STARVED_HOUR' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(750): 'HUNGRY_HOUR' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(752): 'SNACK_HOUR' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(761): 'sTimeInfo' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(762): 'RECOVERED_HOURS' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(763): 'RECOVERED_HOURS' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(763): 'DRAINED_HOUR' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(764): 'DRAINED_HOUR' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(764): 'RECOVERED_HOURS' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(770): 'DRAINED_HOUR' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(772): 'LETHARGIC_HOUR' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(774): 'FATIGUED_HOUR' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(776): 'TIRED_HOUR' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_skillpoints]game\gameplay\leveling\levelmanager.ws(354): Could not find function 'GetVitalityConfig' Error [modw3r_skillpoints]game\gameplay\leveling\levelmanager.ws(373): Could not find function 'GetVitalityConfig' Error [modw3r_skillpoints]game\gameplay\leveling\levelmanager.ws(392): Could not find function 'GetVitalityConfig' Error [modw3r_skillpoints]game\gameplay\leveling\levelmanager.ws(422): Could not find function 'GetVitalityConfig' Error [modw3r_time]game\player\player.ws(1071): Could not find function 'SetToClearSustenance' Error [modw3r_time]game\player\player.ws(1229): 'sTimeInfo' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_time]game\player\player.ws(1243): 'sTimeInfo' is not a member of '&handle:W3PlayerWitcher' Error [modw3r_survival]game\gameplay\focus\focus.ws(189): Could not find function 'SustenanceLoop' Error [modw3r_menus]game\gui\main_menu\ingamemenu.ws(771): Could not find function 'SetSurvivalParams' Error [modw3r_menus]game\gui\menus\charactermenu.ws(166): Could not find function 'GetVitalityConfig' Error [modw3r_time]game\gui\menus\mapmenu.ws(1268): Could not find function 'SetToClearSustenance' Error [modw3r_survival]game\player\states\meditation\meditationwaiting.ws(109): Could not find function 'SustenanceLoop' Error [modw3r_survival]game\player\states\meditation\meditationwaiting.ws(188): Could not find function 'RecoverFromSleep' Error [modw3r_survival]game\player\states\meditation\meditationwaiting.ws(196): Could not find function 'UpdateSusliner' Error [modw3r_survival]game\player\states\meditation\meditationwaiting.ws(198): Could not find function 'SustenanceLoop' Error [modw3r_survival]game\player\states\unconscious.ws(136): Could not find function 'RecoverFromSleep' Error [modw3r_survival]game\player\states\unconscious.ws(137): Could not find function 'UpdateSusliner' Error [modw3r_survival]game\player\states\unconscious.ws(138): Could not find function 'SustenanceLoop' Warning [content0]engine\environment.ws(30): Global native function 'EnableDebugOverlayFilter' was not exported from C++ code. Warning [content0]engine\environment.ws(32): Global native function 'EnableDebugPostProcess' was not exported from C++ code. Warning [content0]engine\showflags.ws(11): Global native function 'DebugSetEShowFlag' was not exported from C++ code.
Nice work. Thanks for the mod. Can I ask if this is the work of just one author?
The reason I ask is because I'm really wanting to learn how to create mods for W3 but unfortunately documentation on how to go about the process seems a liittle thin on the ground for a noob like me. You wouldn't have any idea where i can get my hands on some documentation that'll allow me to get into modding W3 would you?
Any, literally ANY help would be much appreciated.
Thank you in advance for any advice that can be offered.
Yes, all the code changes were made by me. If you know JavaScript, then you will understand W2/W3 Script as the syntax is virtually identical.
What's nice about The Witcher 3 (in terms of modifying the code) is that the developers provided all the files uncompressed right in the game directory. Browse to your game directory and you'll find a folder called 'content.' Navigate through the folder tree to content\content0\scripts. There you will find 3 folders: core, engine and game. These house all the WS files unencrypted, which can be viewed and edited with any text editor.
To make a change, create a folder called 'mods' in your main game directory (if you haven't already). In the mods folder, create a folder for your mod. You can name it whatever you want, but make sure it starts with the 'mod' prefix. In your mod folder, create a directory tree like this: content\scripts. Now comes the challenge!
You have to think like a programmer because unless you can contact one of CD Projekt's programmers to tell you what particular function can be changed for the change you want and where that function is among the myriad of files... you're on your own. So I had to make intelligent guesses about some of the function and variable names and search for them. But sometimes it's easy because the developers (being good programmers) have given descriptive names to the folders, files and functions. For instance, if you want to make a player related change, your best bet would be to look in content\content0\scripts\game\player. You'll notice there's a file, player.ws where the base player class is defined, along with r4Player.ws and playerWitcher.ws that further extend the player class. Copy the file or files you want to modify to your mod's scripts folder keeping the same directory structure as the default scripts folder. To use my mod as an example, there is a copy of r4Player.ws with my changes in modW3R_Combat\content\scripts\game\player. You can add new variables and functions as well as modify existing ones in these files.
And that's all there is to it. Once you make your changes and launch the game, it will detect changes in the mods folder and compile your files to be used over the defaults. The script compilation happens only once after you modify the files in the mods folder, and every subsequent change thereafter.
Oops. Sorry, I didn't realize you had responded to this. I'd actually forgotten I'd posted this TBH. As for my progress, I'm starting to get there. Thanks for the help and tips. Much appreciated.
104 comments
Is it possible to extract these functions from the mod?
Edit: Never mind, found a way.
please help reinstalled on clean mod load order.
but when I install Auto Loot AIO shows this error:
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(729): 'sTimeInfo' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(730): 'UNQUENCHABLE_HOUR' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(732): 'DEHYDRATED_HOUR' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(734): 'THIRSTY_HOUR' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(736): 'PARCHED_HOUR' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(745): 'sTimeInfo' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(746): 'RAVENOUS_HOUR' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(748): 'STARVED_HOUR' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(750): 'HUNGRY_HOUR' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(752): 'SNACK_HOUR' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(761): 'sTimeInfo' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(762): 'RECOVERED_HOURS' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(763): 'RECOVERED_HOURS' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(763): 'DRAINED_HOUR' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(764): 'DRAINED_HOUR' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(764): 'RECOVERED_HOURS' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(770): 'DRAINED_HOUR' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(772): 'LETHARGIC_HOUR' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(774): 'FATIGUED_HOUR' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_menus]game\gui\popups\characterstatspopup.ws(776): 'TIRED_HOUR' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_skillpoints]game\gameplay\leveling\levelmanager.ws(354): Could not find function 'GetVitalityConfig'
Error [modw3r_skillpoints]game\gameplay\leveling\levelmanager.ws(373): Could not find function 'GetVitalityConfig'
Error [modw3r_skillpoints]game\gameplay\leveling\levelmanager.ws(392): Could not find function 'GetVitalityConfig'
Error [modw3r_skillpoints]game\gameplay\leveling\levelmanager.ws(422): Could not find function 'GetVitalityConfig'
Error [modw3r_time]game\player\player.ws(1071): Could not find function 'SetToClearSustenance'
Error [modw3r_time]game\player\player.ws(1229): 'sTimeInfo' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_time]game\player\player.ws(1243): 'sTimeInfo' is not a member of '&handle:W3PlayerWitcher'
Error [modw3r_survival]game\gameplay\focus\focus.ws(189): Could not find function 'SustenanceLoop'
Error [modw3r_menus]game\gui\main_menu\ingamemenu.ws(771): Could not find function 'SetSurvivalParams'
Error [modw3r_menus]game\gui\menus\charactermenu.ws(166): Could not find function 'GetVitalityConfig'
Error [modw3r_time]game\gui\menus\mapmenu.ws(1268): Could not find function 'SetToClearSustenance'
Error [modw3r_survival]game\player\states\meditation\meditationwaiting.ws(109): Could not find function 'SustenanceLoop'
Error [modw3r_survival]game\player\states\meditation\meditationwaiting.ws(188): Could not find function 'RecoverFromSleep'
Error [modw3r_survival]game\player\states\meditation\meditationwaiting.ws(196): Could not find function 'UpdateSusliner'
Error [modw3r_survival]game\player\states\meditation\meditationwaiting.ws(198): Could not find function 'SustenanceLoop'
Error [modw3r_survival]game\player\states\unconscious.ws(136): Could not find function 'RecoverFromSleep'
Error [modw3r_survival]game\player\states\unconscious.ws(137): Could not find function 'UpdateSusliner'
Error [modw3r_survival]game\player\states\unconscious.ws(138): Could not find function 'SustenanceLoop'
Warning [content0]engine\environment.ws(30): Global native function 'EnableDebugOverlayFilter' was not exported from C++ code.
Warning [content0]engine\environment.ws(32): Global native function 'EnableDebugPostProcess' was not exported from C++ code.
Warning [content0]engine\showflags.ws(11): Global native function 'DebugSetEShowFlag' was not exported from C++ code.
anyone can help pls
The reason I ask is because I'm really wanting to learn how to create mods for W3 but unfortunately documentation on how to go about the process seems a liittle thin on the ground for a noob like me. You wouldn't have any idea where i can get my hands on some documentation that'll allow me to get into modding W3 would you?
Any, literally ANY help would be much appreciated.
Thank you in advance for any advice that can be offered.
If you know JavaScript, then you will understand W2/W3 Script as the syntax is virtually identical.
What's nice about The Witcher 3 (in terms of modifying the code) is that the developers provided all the files uncompressed right in the game directory. Browse to your game directory and you'll find a folder called 'content.' Navigate through the folder tree to content\content0\scripts. There you will find 3 folders: core, engine and game. These house all the WS files unencrypted, which can be viewed and edited with any text editor.
To make a change, create a folder called 'mods' in your main game directory (if you haven't already). In the mods folder, create a folder for your mod. You can name it whatever you want, but make sure it starts with the 'mod' prefix. In your mod folder, create a directory tree like this: content\scripts. Now comes the challenge!
You have to think like a programmer because unless you can contact one of CD Projekt's programmers to tell you what particular function can be changed for the change you want and where that function is among the myriad of files... you're on your own. So I had to make intelligent guesses about some of the function and variable names and search for them. But sometimes it's easy because the developers (being good programmers) have given descriptive names to the folders, files and functions. For instance, if you want to make a player related change, your best bet would be to look in content\content0\scripts\game\player. You'll notice there's a file, player.ws where the base player class is defined, along with r4Player.ws and playerWitcher.ws that further extend the player class. Copy the file or files you want to modify to your mod's scripts folder keeping the same directory structure as the default scripts folder. To use my mod as an example, there is a copy of r4Player.ws with my changes in modW3R_Combat\content\scripts\game\player. You can add new variables and functions as well as modify existing ones in these files.
And that's all there is to it. Once you make your changes and launch the game, it will detect changes in the mods folder and compile your files to be used over the defaults. The script compilation happens only once after you modify the files in the mods folder, and every subsequent change thereafter.
Thanks very much.