How do I make an interactive object?

Post » Tue Apr 26, 2011 5:05 am

I set up an item under a glass cover (it's just a huge upsidedown shot glass, static, not clutter) and I want to add script so the player can "click" the glass, triggering a menu to pop up asking if he/she wants to remove the glass or leave it alone - you know, the same menu as when dealing with any trap or mine.

I'm having trouble finding this info elsewhere, if anyone can tell me how or point me to the right forum/website, that would be lovely. Thanks!

User avatar
Rinceoir
 
Posts: 3407
Joined: Thu Jun 29, 2006 1:54 am

Post » Tue Apr 26, 2011 2:30 am

I'm starting to find information about scripting a menu, but my main question now is how do I make my static shotglass interactive? Or can I?
User avatar
Bonnie Clyde
 
Posts: 3409
Joined: Thu Jun 22, 2006 10:02 pm

Post » Tue Apr 26, 2011 5:44 am

Right, I WOULD edit my post but this stupid site won't let me.

Anyways, I sort of figured it out by making an activator object, but it's still, uh... bouncy. Non-static. I want it to BE static, so the player can't just pick it up and throw it aside. How can I make an object static? Checking "Obstacle" didn't do it.

User avatar
Chris BEvan
 
Posts: 3359
Joined: Mon Jul 02, 2007 4:40 pm

Post » Mon Apr 25, 2011 11:42 pm

Make a copy of the shot glass nif, then edit the copy using nifskope and change two fields under the 'bhkRigidBody' node.

Set 'Motion System' to 'Mo_Sys_Fixed' and
Set 'Quality Type' to 'Mo_Qual_Fixed'

Save your new nif, then point your activator model to your new nif and it should be static but still be an activator.
User avatar
helliehexx
 
Posts: 3477
Joined: Fri Jun 30, 2006 7:45 pm

Post » Tue Apr 26, 2011 10:58 am

Oh sweet, I'll try that now and let you know if it-- PETER! Long time no talk!
User avatar
Beth Belcher
 
Posts: 3393
Joined: Tue Jun 13, 2006 1:39 pm

Post » Tue Apr 26, 2011 7:43 am

Boingo, that's the stuff. My shotglass-turned-glass-casing is now a static object. Protective cases are otherwise useless when they can be punched out of the way...
User avatar
Luis Longoria
 
Posts: 3323
Joined: Fri Sep 07, 2007 1:21 am


Return to Fallout 3