Smith |
Holy smoke...! This is AMAZING...! (Moderator: BAH_Strike) | Previous Topic | Next Topic |
Page 2 of 2 | Goto page Previous 1, 2 |
case "bry0.3do":
return new Color4(1.0, 0.45, 0.25); case "str0.3do": return new Color4(1.0, 0.45, 0.25); case "rpt0.3do": return new Color4(1.0, 1.0, 0.45); case "bow0.3do": return new Color4(0.25, 1.0, 0.45); case "bow1.3do": return new Color4(0.25, 1.0, 0.45); |
Material mat = Resource.GetMaterial(SaberMaterialSide);
if (mat != null) { System.Drawing.Bitmap bmp, embmp; mat.GenerateBitmap(out bmp, out embmp, Resource.GetColormap(Sector != null ? Sector.ColormapName : "dflt.cmp")); saberColor = new Color4(bmp.GetPixel(11 * bmp.Width / 32, 0)); bmp.Dispose(); if (embmp != null) embmp.Dispose(); } |
Page 2 of 2 | Goto page Previous 1, 2 |
Holy smoke...! This is AMAZING...! (Moderator: BAH_Strike) | Previous Topic | Next Topic |