Jump to content

[LE] Making a Treasure Vault?


wilwhitt56

Recommended Posts

Place hundreds of refs of assorted jewels and coins. Disabled initially and enabled as wealth gets added. Thats one way

 

This kinda thing tends to lend to bloating if done the envisioned way. But if creative enough, a somewhat efficient way could likely be pulled off. Just a matter of putting in some time into a project

Link to comment
Share on other sites

There are some statics of coin piles. You could make or find resources of static open chests filled with gems and jewelry. Place those and as your wealth increases have them enabled or disabled. That would solve the problem of too many references if you used individual coins or gems. Wouldn't fill to the ceiling but would look plenty rich.

Link to comment
Share on other sites

There are some statics of coin piles. You could make or find resources of static open chests filled with gems and jewelry. Place those and as your wealth increases have them enabled or disabled. That would solve the problem of too many references if you used individual coins or gems. Wouldn't fill to the ceiling but would look plenty rich.

Makes sense. How would the script work though? I'm assuming it involves making the items disabled until a set amount is placed, then have it activate and enable.

Link to comment
Share on other sites

Maybe have a chest with scripts with event OnItemAdded and also OnItemRemoved with the base object set to gold and use the item count to update a TotalWealth global variable. You don't want items popping in and out while you are looking so maybe have a script on the door that when activated to leave would check the global variable and depending on the value would enable and disable statics.

 

OnActivation

If wealth < 1000 disable pile 1, disable pile2, ..., disable pile20

if wealth >= 1001 and wealth <5000 enable pile1, disable pile2, disable pile 3, ..., disable pile20

and so on

 

Anyway, that's a first idea of how to approach it. Better scripters might have better ideas.

Link to comment
Share on other sites

Maybe have a chest with scripts with event OnItemAdded and also OnItemRemoved with the base object set to gold and use the item count to update a TotalWealth global variable. You don't want items popping in and out while you are looking so maybe have a script on the door that when activated to leave would check the global variable and depending on the value would enable and disable statics.

 

OnActivation

If wealth < 1000 disable pile 1, disable pile2, ..., disable pile20

if wealth >= 1001 and wealth <5000 enable pile1, disable pile2, disable pile 3, ..., disable pile20

and so on

 

Anyway, that's a first idea of how to approach it. Better scripters might have better ideas.

hmmm, there is that treasure vault mod someone made, maybe I can have a look at the script?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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