Jump to content

How To Make An In Game Item A Static Item


TheLoveDrug

Recommended Posts

Hey, im creating my mod and their are some items (For Example Dwemer Scrap pieces, inkwells, soul gems) that I want to make just static items so the player can not interact with them. On some items I click no AI Aqiure and dont havoc settle buttons and that seems to do the trick on a few items. Ive tried that one items like the examples above and it did not work, is there another way to do this? Thanks.

 

(In CreationKit)

Edited by TheLoveDrug
Link to comment
Share on other sites

A good way to do this is to choose a random static like a small rock and duplicate it. Name the duplicate however you want (eg: TESTstaticpotion) then go into the properties of the item you want it to look like. Copy the file pathway of the model (in the base of the item) and go to your duplicated rock. Go into the rocks base properties and paste the desired items model file path in place of the rocks and voila, one static rock that looks like a potion or whatever. This is also useful for making containers that don't look like chests and whatnot.

 

I hope my explanation wasn't too confusing, i'm not very good at tutorialling ^^

Link to comment
Share on other sites

How something moves is dependant on the Havok physics that is built into the model (i.e. the .Nif file).

 

To stop an object from moving attach the script defaultDisableHavokOnLoad to the reference in the render window (don't forget to set the property HavokOnHit to False, it defaults to True).

 

If you also want to prevent the player from picking the item up (asuming it is pick uppable) as well then also attach the script defaultBlockActivation.

Link to comment
Share on other sites

How something moves is dependant on the Havok physics that is built into the model (i.e. the .Nif file).

 

To stop an object from moving attach the script defaultDisableHavokOnLoad to the reference in the render window (don't forget to set the property HavokOnHit to False, it defaults to True).

 

If you also want to prevent the player from picking the item up (asuming it is pick uppable) as well then also attach the script defaultBlockActivation.

 

 

m new to scripting aswell, you you just edit the item, go to where it says script and paste those in?

Link to comment
Share on other sites

The script window will have a button "Add" when you click that you will get a list of premade scripts. Just type in defaultDisableHavokOnLoad and it will show that script. Click on it and say okay. Highlight that script in the script window and hit Properties. It will show four properties, one of which is HavokOnHit so highlight that and click Edit Value to the right. The value of that property should now say False instead of default. Click Okay and you ought to be done.

 

I hope that helped!

Link to comment
Share on other sites

I'm asuming that you have added both of the scripts to the reference, it should logically work.

 

If it still does not work then you could create a copy of defaultDisableHavokOnLoad and add the bit from defaultBlockActivation to it. Thats what I have done for my super bookshelf (I also changed the default for HavokOnHit at the same time to save me having to set it manually 594 times)

Link to comment
Share on other sites

I'm asuming that you have added both of the scripts to the reference, it should logically work.

 

If it still does not work then you could create a copy of defaultDisableHavokOnLoad and add the bit from defaultBlockActivation to it. Thats what I have done for my super bookshelf (I also changed the default for HavokOnHit at the same time to save me having to set it manually 594 times)

 

 

After playing with it, it does logically work the normal way. But when you go into the game it still says "Take Item" even though how many times you click it you cannot. That works for me but if you know how to make it to where it says nothing then that would be greatly appreciated.

Link to comment
Share on other sites

In my case I prefer it that way as you can at least see the names of the books once placed, it's just a shame that the "Can't take" flag doesn't work for books.

The only way I can think of to prevent the player from seeing the "E - Take.." would be to create a colision plane/box/sphere in front of/around your object using one of the 3 buttons on the toolbar.

Link to comment
Share on other sites

In my case I prefer it that way as you can at least see the names of the books once placed, it's just a shame that the "Can't take" flag doesn't work for books.

The only way I can think of to prevent the player from seeing the "E - Take.." would be to create a colision plane/box/sphere in front of/around your object using one of the 3 buttons on the toolbar.

 

yeah, im not using it for books though. But thanks that should work.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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