Jump to content

Need scripting help. Scripting a sequence of animation idles...


Guest Messenjah

Recommended Posts

Guest Messenjah

So, I am going to get back on modding my strip club (Atomic Wrangler). I had to stop working on it due to finals and holidays but I'm now ready to jump back in the pool and finish. However, I would like to see if I could get some scripting help.

 

Personally, I would love it if someone would like to help write some of the more complicated scripts. I'll handle all the rest but to be honest, I really want to get this thing out at this point so that I can move on. So, if any of you other talented scripters would like to help me out, I would greatly appreciate it.

 

 

As for the script issue at hand:

 

Basically, I have the girls running on a series of gamemode scripts that force their AI to use different AI packages at different day parts. However, if the player asks them/pays them for a lapdance, they need to override their current script. I'm doing this through using an integer called *Mode*.

 

Where my problem comes in, is where the player is actually receiving the dance itself. Once the player is seated, the controls are disabled and the dance begins.

 

Basically, rather than setting up a dance marker, I would like the script to run the dance. So, I need the script to play a sequence of animations in order, for a period of time. Then ending by using playtopic with a forcegreet so that the NPC will prompt the player to either pay for another dance or to say goodbye and end the dance sequence.

 

What I'm wondering about is the approach itself... would it be better to set the dance animations up as loose idles and use playidle to play each dance one after the other, or would it be better to set up my animation as a specialidle and use playgroup? Or, should I use playidle with a timer script? The script should also stop by playing the default idle so that it resets the npc to default.

 

How exactly would it be best to go about this?

Link to comment
Share on other sites

Basically, rather than setting up a dance marker, I would like the script to run the dance. So, I need the script to play a sequence of animations in order, for a period of time. Then ending by using playtopic with a forcegreet so that the NPC will prompt the player to either pay for another dance or to say goodbye and end the dance sequence.

 

I'd recommend a staged timer (it's basically what you are describing). That allows you to change packages, idles, etc as precisely as you need to in order to get the scene looking like you want it to.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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