Larian Banner
Previous Thread
Next Thread
Print Thread
Make Interactable Usage #636154
07/11/17 06:22 PM
07/11/17 06:22 PM
Joined: Oct 2017
Posts: 45
NH, USA
R
RestingLichFace Offline OP
apprentice
RestingLichFace  Offline OP
apprentice
R

Joined: Oct 2017
Posts: 45
NH, USA
Hello (yet again)

I seem to be in over my head on all these specific editor uses, I have maybe 4 different active threads asking for help now...

Anyway, the question I have is pretty straightforward. There are some Scenery objects which I really want to use in my campaign, but I need them to be able to be interacted with, for Osiris to pick up the events thrown. I tried right-clicking the object in the root template folder and make interactable, but that didn't work - no bounds were registered. I tried deriving my own templates from these items, and giving it an AI bound, but that just makes it act like a movement blocking object - a step in the right direction, but not done.

I think (correct me if I am wrong), for interact-ables, I need a PhysicsResource, since none of the items have one as the scenery object. I have yet to try this, since finding a proper resource is mix-and-match from existing templates, and I don't know yet how to create one.

Thanks again community,


Projects: Tomb of Horrors: Tomb of Horrors
Re: Make Interactable Usage [Re: RestingLichFace] #636168
07/11/17 08:45 PM
07/11/17 08:45 PM
Joined: Sep 2017
Posts: 832
The Composer Offline

Moderator
The Composer  Offline

Moderator

Joined: Sep 2017
Posts: 832
Click the + icon in the root template browser and make a new item, set the visual resource ID to be of the scenery item you want it to look like, then you're more or less set smile

Re: Make Interactable Usage [Re: RestingLichFace] #636170
07/11/17 09:36 PM
07/11/17 09:36 PM
Joined: Oct 2017
Posts: 45
NH, USA
R
RestingLichFace Offline OP
apprentice
RestingLichFace  Offline OP
apprentice
R

Joined: Oct 2017
Posts: 45
NH, USA
I have not tried making a blank template item and changing solely the visual resource ID. Not sure, but is that any different from what I have tried? Which is, I have done create new item from template of the scenery I wanted, so some options were auto-completed for me. I noticed it left out the AI bounds, the physics resource, and the mesh resource because the base scenery did not have any (one of the decorative curtains) for reference.

In either event, I'll try it when I get some time. Thanks for the input



Projects: Tomb of Horrors: Tomb of Horrors
Re: Make Interactable Usage [Re: RestingLichFace] #636171
07/11/17 09:45 PM
07/11/17 09:45 PM
Joined: Oct 2017
Posts: 78
United Kingdom
Branvex Offline
journeyman
Branvex  Offline
journeyman

Joined: Oct 2017
Posts: 78
United Kingdom
You can make an item non-interactable with

Code
ItemSetCanInteract(_ITEM,0);


And make it interactable again with a 1 instead of 0.


Re: Make Interactable Usage [Re: RestingLichFace] #636312
08/11/17 04:07 PM
08/11/17 04:07 PM
Joined: Jun 2013
Posts: 655
Cromcrom Offline
addict
Cromcrom  Offline
addict

Joined: Jun 2013
Posts: 655
And make sure you the click through option is set to false.


Un chemin de 1000 lieues commence par un premier pas.

Project:
Steam workshop Frontiere
Re: Make Interactable Usage [Re: RestingLichFace] #636321
08/11/17 04:53 PM
08/11/17 04:53 PM
Joined: Oct 2017
Posts: 45
NH, USA
R
RestingLichFace Offline OP
apprentice
RestingLichFace  Offline OP
apprentice
R

Joined: Oct 2017
Posts: 45
NH, USA
Thanks guys, they work. Now, I have me some dank and expensive (steal-able) curtains.


Projects: Tomb of Horrors: Tomb of Horrors
Re: Make Interactable Usage [Re: RestingLichFace] #636548
10/11/17 02:34 PM
10/11/17 02:34 PM
Joined: Nov 2017
Posts: 42
I
iwantcheese Offline
apprentice
iwantcheese  Offline
apprentice
I

Joined: Nov 2017
Posts: 42
Those von Trapp family children will be so happy! laugh


Moderated by  Larian_Koala 

Powered by UBB.threads™ PHP Forum Software 7.6.2