Jump to content

Photo

Stalhrim Mine Ore Script Editing

stalhrim mining ore scripts script mine dragonborn dlc

  • Please log in to reply
6 replies to this topic

#1
AldenTemple

AldenTemple

    Journeyman

  • Premium Member
  • 22 posts

I am trying to change the amount of stalhrim samples given by deposits from 3 to 6. I used leveled item to make this work with geode veins for grand soul gems, but this doesn't seem to work with stalhrim. Any ideas as to how I can increase the number of ore samples stalhrim deposits give? Do I need to change something in the MineOreScript? If so, how?



#2
agerweb

agerweb

    Faithful poster

  • Premium Member
  • 2,044 posts

The MineOreScript has a property ResourceCountTotal which is set to 3 by default, have you tried changing that?



#3
BigAndFlabby

BigAndFlabby

    Faithful poster

  • Premium Member
  • 1,813 posts

It's also worth noting that changing the property value of that for the script won't affect any ore veins that have already spawned.



#4
AldenTemple

AldenTemple

    Journeyman

  • Premium Member
  • 22 posts

Okay BigAndFlabby.  Thanks for the tip. So I guess I'd have to create a new ore vein and place it in the world. That works. agerweb, how do I change the property ResourceCountTotal?



#5
agerweb

agerweb

    Faithful poster

  • Premium Member
  • 2,044 posts

On the MineOre activator for Stalhrim (ie the ore vein you are going to place) go into properties for the MineOreScript script that's attached to it and change ResourceCountTotal to the number you want.

 

Your best bet is to duplicate DLC2MineOreStalhrim and change the duplicate. And then place your own version in the world. Generally best to stay away from changing vanilla assets if you don't need to.



#6
AldenTemple

AldenTemple

    Journeyman

  • Premium Member
  • 22 posts

Alright, thanks. I'll give it a go.



#7
AldenTemple

AldenTemple

    Journeyman

  • Premium Member
  • 22 posts

Okay, so changing the ResourceCountTotal and placing my own ore deposit in the world worked. Interesting enough, I created a stalhrim ore deposit that just keeps on going until you stop it, lol. It gives six portions of stalhrim after six hits with a nordic pick-axe and will continue every six strikes, unless halted. 

 

Thanks again.







Also tagged with one or more of these keywords: stalhrim, mining, ore, scripts, script, mine, dragonborn, dlc

Page loaded in: 1.113 seconds