Aller au contenu

Photo

Scaling weapons


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

#1
BrownCracker

BrownCracker
  • Members
  • 2 messages
I've added a newly skinned longsword I've made to the camp's merchant. I was wondering if anyone knew of a way to make the weapon scale based on the player's level (ie: it would be iron at low levels and dragonbone at high levels). I can't seem to figure this out at all.

Thanks in advance.

#2
sillyrobot

sillyrobot
  • Members
  • 171 messages
There is a property on the uti called MaterialProgression. Change it to the progression you want to see like Weapon, Iron/Grey Iron/Steel/Silverite/Dragonbone.



The merchant has a variable called MERCHANT_IS_SCALED. Verify it is non-zero.



Call ScaleStoreItems() before OpenStore() in the script that opens the inventory..

#3
BrownCracker

BrownCracker
  • Members
  • 2 messages
The party camp merchant runs the merchant_core script and when I open that file all I see is the main() function with no actual script. Is there another script that I should be editing or am I doing something wrong? I did find the MERCHANT_IS_SCALED and did have to change that but that alone didn't work. Thanks for letting me know about that variable though.

#4
sillyrobot

sillyrobot
  • Members
  • 171 messages
The default script doesn't do anythig. You need to assign a script to the merchant if you want to have scaling. The wiki has a write up here

Modifié par sillyrobot, 22 décembre 2009 - 06:10 .


#5
PropagandaPanda

PropagandaPanda
  • Members
  • 11 messages
sillyrobot, what am I supposed to set the MERCHANT_IS_SCALED value to? I made the Tolby Storage mod, and I want him to scale Items, but It's not working...