This system is for multiplayer or singleplayer modules for specific factions. Ever want to have an area where only certain people can go without the bad guy just walking in unscathed? Well in this demonstration module there is a system that is simple to modify at your leisure and put into any module you wish. It basically works like this. Make the creatures in question hostile towards the player at first in the faction editor. Once the player of that faction whom has the item you had linked with the script for those creatures. The creatures then turn friendly towards that player. If a player does not have the item then those creatures attack the PC.
Contents:
-Module
-Picture for faction editing
-Code in a text file
-Readme File
Module package description:
Welcome to Vidorin's faction script demonstration module. This script was created with the Lilac Soul script generator and Fyrewind's assistance to make it work correctly. Alright how the script works is this. It works with the creature's onpreception event in the scripts tab in the creature properties and the faction that creature is a part of. To make it work correctly the faction must be hostile towards the player to begin with. Once the item tag is acquired by the script that creature and the faction of that creature becomes friendly towards that player. Factions can be edited within the faction editor tool within the NWN toolset. If a player does not have the item with that tag then that faction and those creatures within that faction stay hostile towards that player. Pick up one of the test items numbered one through four. One will be friendly to you the other three will become hostile. For further direction on how to edit the script please refer to the script itself onp_test1 - onp_test4 all of them are the same only slightly different with instructions on how to edit the item tag that script is looking for and such. Also if you require an example on how to do the faction editing please refer to the screenshot bundled with the archive.
36 downloads and no complaints or anything! Those of you whom have used and tested my faction system please give me feedback so that I know if there are any improvements that can be made. Your likes, gripes and so forth. Thank you.
You must be Logged In to post comments in this section.