Full Version : The challenge game gumps
xmlspawner >>XMLPoints Discussion >>The challenge game gumps


<< Prev | Next >>

Grimhawk- 05-01-2006
Arte what would I need to change and where to make the gumps for the CTF, Deathball and other xml game gumps transparent? The players love the games just don't like the gumps popping up blocking thier viewing, figured making them transparent should solve that problem.

Thanks for any help.

Grim

ArteGordon- 05-01-2006
if you look in the various gump scripts like TeamLMSGump.cs in the gump constructor near the beginning of the script, there is code there for transparency. Just look for the AddAlphaRegion line and uncomment it and I think that should do it

QUOTE

  public TeamLMSGump( TeamLMSGauntlet gauntlet, Mobile from, int page ) : base( 20, 30 )
  {

  if(from == null || gauntlet == null || gauntlet.Deleted || gauntlet.Challenger == null) return;

  from.CloseGump(typeof(TeamLMSGump));

  m_gauntlet = gauntlet;

  viewpage = page;

            int height = 500;

  AddBackground( 0, 0, 350, height, 0xDAC );
  //AddAlphaRegion( 0, 0, 340, height );