wilwhitt56 Posted December 22, 2022 Share Posted December 22, 2022 I'm curious, is there any tutorials of any kind that tell you how to make treasure vaults? Like placing your gold and jewels in it will make the loot pile up until it reaches the ceiling. Link to comment Share on other sites More sharing options...
Sphered Posted December 22, 2022 Share Posted December 22, 2022 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 More sharing options...
greyday01 Posted December 22, 2022 Share Posted December 22, 2022 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 More sharing options...
wilwhitt56 Posted December 22, 2022 Author Share Posted December 22, 2022 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 More sharing options...
greyday01 Posted December 23, 2022 Share Posted December 23, 2022 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. OnActivationIf wealth < 1000 disable pile 1, disable pile2, ..., disable pile20if wealth >= 1001 and wealth <5000 enable pile1, disable pile2, disable pile 3, ..., disable pile20and 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 More sharing options...
wilwhitt56 Posted December 23, 2022 Author Share Posted December 23, 2022 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. OnActivationIf wealth < 1000 disable pile 1, disable pile2, ..., disable pile20if wealth >= 1001 and wealth <5000 enable pile1, disable pile2, disable pile 3, ..., disable pile20and 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 More sharing options...
Recommended Posts