fix utilty remap, remapped flag/poweroff to d2k.pal
This commit is contained in:
committed by
Chris Forbes
parent
8607575e2b
commit
1aafc9f726
4
.gitignore
vendored
4
.gitignore
vendored
@@ -55,4 +55,6 @@ OpenRA.Launcher.Mac/OpenRA.xcodeproj/*.mode1v3
|
||||
*.config
|
||||
*.resources
|
||||
|
||||
*.kate-swp
|
||||
# KDE crap
|
||||
*.kate-swp
|
||||
*.directory
|
||||
@@ -372,14 +372,14 @@ namespace OpenRA.Utility
|
||||
for (var i = 0; i < 4; i++)
|
||||
remap[i] = i;
|
||||
|
||||
var srcMod = Enum<string>.Parse(args[1].Split(':')[0]);
|
||||
var srcMod = args[1].Split(':')[0];
|
||||
Game.modData = new ModData(srcMod);
|
||||
FileSystem.LoadFromManifest(Game.modData.Manifest);
|
||||
Rules.LoadRules(Game.modData.Manifest, new Map());
|
||||
var srcPaletteInfo = Rules.Info["player"].Traits.Get<PlayerColorPaletteInfo>();
|
||||
int[] srcRemapIndex = srcPaletteInfo.RemapIndex;
|
||||
|
||||
var destMod = Enum<string>.Parse(args[2].Split(':')[0]);
|
||||
var destMod = args[2].Split(':')[0];
|
||||
Game.modData = new ModData(destMod);
|
||||
FileSystem.LoadFromManifest(Game.modData.Manifest);
|
||||
Rules.LoadRules(Game.modData.Manifest, new Map());
|
||||
|
||||
BIN
mods/d2k/bits/flagfly.shp
Normal file
BIN
mods/d2k/bits/flagfly.shp
Normal file
Binary file not shown.
BIN
mods/d2k/bits/fpls.shp
Normal file
BIN
mods/d2k/bits/fpls.shp
Normal file
Binary file not shown.
BIN
mods/d2k/bits/poweroff.shp
Normal file
BIN
mods/d2k/bits/poweroff.shp
Normal file
Binary file not shown.
@@ -937,7 +937,6 @@ powerdown:
|
||||
disabled: speed
|
||||
Start: 3
|
||||
|
||||
#TODO: falls back to RA, different palette
|
||||
poweroff:
|
||||
offline:
|
||||
Start: 0
|
||||
@@ -962,7 +961,6 @@ overlay:
|
||||
target-invalid:
|
||||
Start: 1
|
||||
|
||||
#TODO: falls back to RA, different palette
|
||||
rallypoint:
|
||||
flag:flagfly
|
||||
Start: 0
|
||||
|
||||
Reference in New Issue
Block a user