|
||
|
|||||||
| Script Support Get support for modifying RunUO Scripts, or writing your own! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Lurker
Join Date: Jul 2008
Posts: 5
|
First things, I'm french so my english is not perfect.
Second, I've got a big trouble scripting somethings, the heck is that the shard I'm working on is on RC1 so it's difficult to find help. Here my prob, I've made custom wood for my shard, all work great except one things: I've try to modify addon because i want them to keep hue from the wood they are create from. The deed is always in the good hue but when it's comme to put the deed on the map, the bed (just an exemple) stay the same colour. I suppose I need to do a "GetHue" but i've difficulty programming it. Also another guys on my shard have try to make a flip system for addon. The heck is that he delete the item and add another to make the flip, so i need to make another "get hue" that make the new item the same color of the old one. Thanks a lot to help me Opakoi a scripter in need |
|
|
|
|
|
#3 (permalink) |
|
Lurker
Join Date: Jul 2008
Posts: 5
|
in fact i need help modifying the base addon script
i've already manage to make the deed having the right hue and resource and also to make the addon hue to change if we change is resource in his proprety the only things i'm needing is to know how to make the system transfer the resource of the deed to the addon component |
|
|
|
|
|
#4 (permalink) |
|
Forum Master
|
look in baseaddon and the baseaddon deed
in there yopu can add in for the item to take on a certain hue when placed, if hue other than 0 is used (remember addons that are colored different hues will then also take on new hue) also there is a spot in there for the deed to retain the hue of the addon, when it is chopped up (it is a true/false setting), so it goes back to the same hue again
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#6 (permalink) |
|
Forum Master
|
look in baseaddon
when it makes the addon, set it so if the hue of the deed is other than 0, the addon will take the color of the deed
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#10 (permalink) |
|
Forum Master
|
ok you need these lines added:
Code:
public virtual bool RetainDeedHue{ get{ return true; } }
public virtual bool ShareHue{ get{ return true; } }
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
![]() |
| Bookmarks |
| Tags |
| addon, deed, hue, resource, wood |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|