This is an archive of some long lost sample .nss scripts for The Witcher. Originally created by witchermod.com to help aid newcomers to the Djinni editor.
Note if you want to talk about modding The Witcher I recommend joining the TW1/2 modding discord Redkit Central here.
These scripts were created by a now defunct fansite called witchermod.com. I have managed to preserve all the scripts. The list of what each does is as follows.
- ActivateMarker.nss - This script will activate (or deactivate) a map marker on a map. Should be called in a trigger.
- AllowallAlchemy - This script will activate alchemy and add every ingredient and recipe available.
- Areatransition - This script will simulate an area transition if a door is not present.
- Moduleexit - This script will exit module to main menu. Useful if you want to end the adventure for the player.
- Retrackquest - This script will retrack current quest in Diary.
- Sampleinitialize - This script will is an example initialization script for On Client Enter in Module Properties. Useful if you want Geralt to begin the adventure with weapons, armor and abilities.
- Unlockdoor - This script will cause an NPC to unlock and open a door.
These are mirrored here for archival purposes as these scripts are invaluable with learning how to write new .nss scripts for modding The Witcher.
Note if you want even more scripting resources check out the Djinni wiki. I've also reuploaded the definitions document that goes over all of the constants and functions used in the game here.