Aller au contenu

Photo

Invisible Placeable


  • Veuillez vous connecter pour répondre
7 réponses à ce sujet

#1
Jereniva

Jereniva
  • Members
  • 120 messages

How can you do an invisible placeable, like I used to do in NWN 1?

 

As an example, using the bookshelf with books placeable, I could put a small invisible placeable to represent a single book you might find on the shelf if you were carefully scanning.

 

I played with changing the appearance property of some placeables, but anything that left it invisible also seemed to make it unuseable as well.

 

Is there a way to do this?



#2
rjshae

rjshae
  • Members
  • 4 485 messages

For that sort of thing I use the Ipoint placeable, located under MISC. If it is solely for positioning though, I'd use a waypoint.



#3
andysks

andysks
  • Members
  • 1 645 messages

This solution suggests that there is a search check on the situation.

 

If searching is successful, then you can spawn the placeable there, instead of having it invisible.

Or, place a single book that is not usable, and on successful check make it so so that it can be looted.

 

These ones without a search skill, but equally good I think.

 

You can place a small enough collision box which won't show well while pressing the Z button. This box is invisible by default, and on clicking a script can easily give the item to the PC and make it unusable.

 

Also, you could just place a single book that is not invisible, but small enough to be missed if not careful. I missed many such scrolls on MotB because I don't like pressing the Z button.



#4
Tchos

Tchos
  • Members
  • 5 042 messages

I believe Jereniva is asking for the purpose of selecting an invisible object, not just running code on it, as part of Andy's reply mentioned.  For that purpose, I suggest the collision box or collision sphere, set to usable, and with dynamic collisions turned off so that it acts as a normal placeable.  The only trouble is that invisible objects like this never highlight when you hover over them or use the Z key.



#5
Dann-J

Dann-J
  • Members
  • 3 161 messages

Another option is to insert the book placeables so that they poke out slightly and eclipse the books that are part of the bookshelf placeable. Or use one of the empty bookshelf placeables and place all your books individually (some of them usable, most of them environmental).



#6
Jereniva

Jereniva
  • Members
  • 120 messages

The book placeables worked perfectly, it took some tedious adjusting, but it looks perfect, and Z key won't highlight it, just the mouse-over does.

 

For the invisible thing, I'll tell more about what I was trying to do there. You are familiar with the clothes line placeable with a hanging shirt and pants? I wanted to make it so you could search the pocket of the hanging pants. Putting a small invisible cube where the pocket is on the placeable pants, and give it an inventory.

I shrunk down a alchemy bottle or something like that to 0.1, 0.1, 0.1, and placed it carefully at the pocket of the hanging pants, and it looks good, though the pants sway just a tad, and you can see a little of the edge, but so what, it's not like clipping isn't all over that game anyway! 

But, a invisible item, where mouse-over would change the cursor, would be best.

 

When playing, I also don't use the Z key because it takes some of the fun out of searching a room. But it's up to the designer to give you occasional things to find sometimes to make you want to keep actively searching areas!



#7
andysks

andysks
  • Members
  • 1 645 messages

This is easy. Use the collision box I noted above. Invisible by default. But be careful, as Tchos mentioned it doesn't get highlighted even if you mouse over it. The player has to be kinda lucky to find such a small treat. Some testers of my work reported for example that they couldn't find a climb spot for a building that it was designed like that.



#8
Tchos

Tchos
  • Members
  • 5 042 messages

Although it won't be highlighted, the cursor will change, and the name of the object will appear when you mouse over it.