Jump to content

CK modding questions


prinyo

Recommended Posts

Posted

I've been experimenting for some time with the CK and trying different tutorials and ideas. And I'm trying to create a bigger picture in my mind of all the small things I learn to do, But I have some problems trying to find guides and tutorials that can fill the gaps in my understanding. 

And I need some help. Not in a technical aspect, but more in a conceptual/best-way-to-do-it aspect.

 

I've created a small basic example that contains some of the things I don't understand. Maybe it is easy and maybe there are popular tutorials that cover that but I haven't seen them or haven't understood them correctly.

 

So the example is this - the PC enters a room (one cell room). There are 5 NPC's inside. And there is a small platform where each of the NPCs in turns go and masturbate. I'm using this as a the simplest to setup sex act. It is not important what the NPCs will do at the other time, lets's say the have some default sandbox package added. The example is outside of any quest, it always runs.

 

So what would be the best way to set this up?

1. Attach it to player entering? Like setup an activator in the room that will trigger a script. Or use LOS to run a script? 

And have this script randomly choose a NPC, lead them to the platform and start the SL function. And when the animation ends select another NPC and so on and so on.

2. Attach this to the NPC's themselves somehow?

A script that will run on init? Script that will make the NPC periodically check if the platform is occupied (and how would they see that) and if not - go there and start the SL anim.

Or maybe an AI package? Can I make a package that includes SL calls? Outside of the example - can I make a package that would make a NPC masturbate (or other SL call) every day at, lets say, 20 o'clock? Or use an idle marker - any NPC that goes to the marker uses a SL function? 

 

The question is not "how" to do this, but "what" to do. I'm not asking how to setup an activator or create a NPC. but what is the the best way.

Posted

I don't know what the best/easiest way would be but I like scripting so I would probably use a script to do the switching of AI package and just keep track of the NPCs.

You don't have to update it super frequently it can update once a minute or once an hour or whatever ^^

 

I would do what you feel comfortable with to begin with but I hope someone has some more insight in to this and how AI packages are best used.

 

But very good question! :)

Posted

Hm...what if you had a basic travel package that is set to run only when the PC is near(continue when PC is near). But this might update too slowly for what you want. You could have a script that detects each actor's position, and then has them masturbate once they're a set distance from where you want them to be. Say 50 units.

 

Attaching the scripts to actors would be easiest, but limiting it to one script on an activator could save system resources. Since you know what actors it would run on too, you can just have the script reference them instead of running on them directly.

Posted

Place idle markers where you want the npc's to go then put a trigger box around them set so it starts the sexlab script upon entering. The npc's will randomly go to the marker as part of their sandbox package.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...