|
||
|
|||||||
| Modification Suggestions This is where you can suggest a modifcation to RunUO! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
God of Security
|
how would someone go about making runes for tokuno have a color both in the book and the rune its self, i know how to do it for the other facets but i see nothing i can change to add tokuno to this atm? or is this something that will be address with the next release?
__________________
"Recite as much as is comfortable for paper burns and stone crumbles to dust. Recite as much as is comfortable and it shall be remembered". |
|
|
|
|
|
#2 (permalink) |
|
Forum Expert
|
open recallrune.cs and find this line
Code:
else if ( m_TargetMap == Map.Malas )
Hue = (House != null ? 0x55F : 1102);
and add after it Code:
else if ( m_TargetMap == Map.Tokuno ) Hue = (House != null ? 0x55F : 123); |
|
|
|
|
|
#3 (permalink) |
|
P3'c Orion Aviator
Join Date: Sep 2004
Age: 30
Posts: 1,272
|
That is a logical statement using the ? operator
(House != null ? 0x55F : 123) is like Code:
if ( House != null)
{
Hue = 0x55F;
}
else
{
Hue = 123;
}
-Jamie |
|
|
|
|
|
#8 (permalink) | |
|
Quote:
"House Runes" though maked while INSIDE the house by default target @2 tiles in front of the House Sign. The idea originated when people started leaving Rune to their Vendors outside Brit Bank. It was a great way to get customers without standing there Spamming all day. Problem was, some people would mark runes to some QUITE NASTY places and name them "Bob's Discount Wares". Needless to say unsuspecting people made some shopping errors. If you're "In" the house the rune will be Hued the First color. If the Rune is marked standing "Outside" the boundaries of a house. (i.e. outside a dungeon, middle of town, favorite taming spot) they would have the second hue. I would suggest keeping the two different colors. For the reason meantioned above. |
||
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|