invuln etc palette need hacked too.
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRa.Game.Orders;
|
using OpenRa.Game.Orders;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
|
using OpenRa.Game.Graphics;
|
||||||
|
|
||||||
namespace OpenRa.Game.Traits
|
namespace OpenRa.Game.Traits
|
||||||
{
|
{
|
||||||
@@ -109,7 +110,7 @@ namespace OpenRa.Game.Traits
|
|||||||
var f = 1 - (animationTick * 1.0f / animationLength);
|
var f = 1 - (animationTick * 1.0f / animationLength);
|
||||||
|
|
||||||
using (var bitmapCopy = new Bitmap(bmp))
|
using (var bitmapCopy = new Bitmap(bmp))
|
||||||
for (int j = 0; j < 8; j++)
|
for (int j = 0; j < (int)PaletteType.Chrome; j++)
|
||||||
for (int i = 0; i < bmp.Width; i++)
|
for (int i = 0; i < bmp.Width; i++)
|
||||||
{
|
{
|
||||||
var h = bitmapCopy.GetPixel(i, j).GetHue(); // 0-360
|
var h = bitmapCopy.GetPixel(i, j).GetHue(); // 0-360
|
||||||
|
|||||||
4
settings-netplay-local-aftermath.ini
Normal file
4
settings-netplay-local-aftermath.ini
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
[Settings]
|
||||||
|
NetworkHost=localhost
|
||||||
|
NetworkPort=1234
|
||||||
|
UseAftermath=yes
|
||||||
Reference in New Issue
Block a user