Papyrus IO

Post » Tue Jun 19, 2012 8:09 am

Hi guys,

I'm developing an application that measures eyegaze, voice commands and facial expressions/movements (among other things). I'm interested in seeing if I can use these in Skyrim (e.g. eyegaze for focusing certain objects and aiming, smile/frown to convey emotional responses to NPCs, nod to accept, etc.).

Is there any way I can send these parameters, to a script running within Skyrim that triggers some reaction on part of the NPC or wtv? I've though of using sockets, but I'm not really sure how to do this.

I've also looked into SKSE, but the documentation/sample project was confusing to me as it didn't really explain what I should do or how to use the new functions in Papyrus. Two text files (Papyrus -> MyApplication and vice-versa) would also do.

Any thoughts on how to do this with Papyrus or implement the socket communication or file I/O in SKSE?

A pseudo-code illustration of what I mean:

(My) external Application:
parameterString = processInput();
everyXseconds do:
sendParameterStringToSkyrim();

Some Papyrus script running in Skyrim:
onParameterStringReceived():
#do stuff
User avatar
mollypop
 
Posts: 3420
Joined: Fri Jan 05, 2007 1:47 am

Post » Mon Jun 18, 2012 10:58 pm

You may find better luck with this in the CK board.
User avatar
Tiffany Castillo
 
Posts: 3429
Joined: Mon Oct 22, 2007 7:09 am


Return to V - Skyrim