Custom Rune Colors

Status
Not open for further replies.

Redmoon

Citizen
This will require a re-compile, but I haven't had any issues with it and previous saves.
Scripts to change:
"Server\Map.cs" (this is the repo folder)
Code:
public static Map TerMur
{
get
{
return m_Maps[5];
}
}
//Custom Maps Start
public static Map Doinsiun
{
get
{
return m_Maps[32];
}
}
//Custom Map End
Change Doinsiun to your map name
Change "return m_Maps[32] to your new map number

"\Scripts\Items\Skill Items\Magical\Misc\RecallRune.cs"
Code:
 else if (this.m_TargetMap == Map.Tokuno)
this.Hue = (this.House != null ? 0x47F : 1154);
//Custom Rune Colors Start
else if (this.m_TargetMap == Map.Doinsiun)
this.Hue = (this.House != null ? 0x55F : 14);
//Custom Rune Colors End

EX: this.Hue = (this.House != null ? 0x55F: Hue #);



Here is what it will look like:
RuneColors.jpg
The purple one is in above example for my custom map "Doinsiun".

To add colors to the runebook:
"Scripts\Gumps\RunebookGump.cs"
Code:
  else if (map == Map.Tokuno)
return 1154;
//Custom Rune Colors Start
else if (map == Map.Doinsiun)
return 14;
//Custom Rune Colors End

change "return 14;" to whatever color you desire.

It will look like this:
Redmoon_9-26_17.01.jpg
 
Last edited:

SomeDude

Citizen
Very nice man thx for the share
 

Attachments

  • as17.postimg.org_at4lwuv67_128.png
    as17.postimg.org_at4lwuv67_128.png
    21.3 KB · Views: 33
  • as17.postimg.org_3ncuuc1hr_Capture.png
    as17.postimg.org_3ncuuc1hr_Capture.png
    29.3 KB · Views: 129
Status
Not open for further replies.