Aller au contenu

Photo

Anyone know how to add custom death script to CSF ?


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
pseudonymous

pseudonymous
  • Members
  • 3 messages
I'm looking at CSF at the moment and I understand this builds a series of event queues which can handle multiple scripts for the same event. This is all nice.

I open an example mod using CSF from NWVault and see that the module scripts are all pointing to csf scripts, I can see the csf as well as some sample scripts prefixed "starter_", including the death script used in the module.

I cannot, however, for the life of me figure out where these damnable variables are added which actually takes care of launching this death script!

I've found a single waypoint tagged 'CSF' which holds a series of variables which are based on a template "csf_default". I understand this waypoint assigns the old NWN 2 scripts for a variety of events to be launched thus making the use of CSF practically indistinguishable from a plain NWN2 module.

HOWEVER. I'm still missing where the actual custom script is hooked into the CSF framework. Any ideas ? ( I can't link to it atm as I can't find it on NWVault at the moment)

In general whether you have the actual module or not shouldn't be of any consequence anyway. This is more directly a question about where in the nine hells people hook their custom components into the CSF.

#2
pseudonymous

pseudonymous
  • Members
  • 3 messages
I ended up finding the object anyway. Turns out there was a placeable object with the custom scripts.