Added inline character icons, used for Birthright
This commit is contained in:
1 parent
ed89a6227e
commit
9f2283f633
5 files changed
+114
-1
No files matched your search
@@ -301,6 +301,49 @@ EID.InlineIcons = {
|
||||
["AngelChanceAB"] = {"Stats", 18, 16, 16, 7, 6},
|
||||
["DevilChanceAB"] = {"Stats", 19, 16, 16, 7, 6},
|
||||
["TearsizeAB"] = {"Stats", 20, 16, 16, 7, 6},
|
||||
|
||||
-- Player Icons for Birthright
|
||||
["Player0"] = {"Players", 0, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player1"] = {"Players", 1, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player2"] = {"Players", 2, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player3"] = {"Players", 3, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player4"] = {"Players", 4, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player5"] = {"Players", 5, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player6"] = {"Players", 6, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player7"] = {"Players", 7, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player8"] = {"Players", 8, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player9"] = {"Players", 9, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player10"] = {"Players", 10, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player11"] = {"Players", 11, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player12"] = {"Players", 12, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player13"] = {"Players", 13, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player14"] = {"Players", 14, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player15"] = {"Players", 15, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player16"] = {"Players", 16, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player17"] = {"Players", 17, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player18"] = {"Players", 18, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player19"] = {"Players", 19, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player20"] = {"Players", 20, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player21"] = {"Players", 21, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player22"] = {"Players", 22, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player23"] = {"Players", 23, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player24"] = {"Players", 24, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player25"] = {"Players", 25, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player26"] = {"Players", 26, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player27"] = {"Players", 27, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player28"] = {"Players", 28, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player29"] = {"Players", 29, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player30"] = {"Players", 30, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player31"] = {"Players", 31, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player32"] = {"Players", 32, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player33"] = {"Players", 33, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player34"] = {"Players", 34, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player35"] = {"Players", 35, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player36"] = {"Players", 36, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player37"] = {"Players", 37, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player38"] = {"Players", 38, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player39"] = {"Players", 39, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
["Player40"] = {"Players", 40, 12, 12, -1, 1, EID.PlayerSprite},
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ local game = Game()
|
||||
local birthrightDesc = EID:getDescriptionEntry("birthright", playerID+1)
|
||||
if birthrightDesc ~=nil then
|
||||
local playerName = birthrightDesc[1] or player:GetName()
|
||||
EID:appendToDescription(descObj, "{{CustomTransformation}} {{ColorGray}}"..playerName.."{{CR}}#"..birthrightDesc[3].."#")
|
||||
EID:appendToDescription(descObj, (EID:getIcon("Player"..playerID) ~= EID.InlineIcons["ERROR"] and "{{Player"..playerID.."}}" or "{{CustomTransformation}}").." {{ColorGray}}"..playerName.."{{CR}}#"..birthrightDesc[3].."#")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -45,6 +45,9 @@ EID.CardPillSprite:Load("gfx/eid_cardspills.anm2", true)
|
||||
EID.ItemSprite = Sprite()
|
||||
EID.ItemSprite:Load("gfx/005.100_collectible.anm2", true)
|
||||
|
||||
EID.PlayerSprite = Sprite()
|
||||
EID.PlayerSprite:Load("gfx/eid_player_icons.anm2", true)
|
||||
|
||||
local ArrowSprite = Sprite()
|
||||
ArrowSprite:Load("gfx/eid_transform_icons.anm2", true)
|
||||
ArrowSprite:Play("Arrow", false)
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
<AnimatedActor>
|
||||
<Info CreatedBy="trtv" CreatedOn="2022-01-16 01:41:31" Version="8" Fps="30"/>
|
||||
<Content>
|
||||
<Spritesheets>
|
||||
<Spritesheet Path="eid_player_icons.png" Id="0"/>
|
||||
</Spritesheets>
|
||||
<Layers>
|
||||
<Layer Name="Main" Id="0" SpritesheetId="0"/>
|
||||
<Layer Name="Arrows" Id="1" SpritesheetId="0"/>
|
||||
</Layers>
|
||||
<Nulls/>
|
||||
<Events/>
|
||||
</Content>
|
||||
<Animations DefaultAnimation="Players">
|
||||
<Animation Name="Players" FrameNum="60" Loop="false">
|
||||
<RootAnimation>
|
||||
<Frame XPosition="0" YPosition="0" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
</RootAnimation>
|
||||
<LayerAnimations>
|
||||
<LayerAnimation LayerId="0" Visible="true">
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="0" YCrop="0" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="32" YCrop="0" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="64" YCrop="0" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="96" YCrop="0" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="128" YCrop="0" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="160" YCrop="0" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="0" YCrop="32" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="32" YCrop="32" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="64" YCrop="32" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="96" YCrop="32" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="128" YCrop="32" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="64" YCrop="32" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="96" YCrop="128" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="160" YCrop="32" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="0" YCrop="64" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="32" YCrop="64" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="64" YCrop="64" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="64" YCrop="64" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="96" YCrop="64" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="128" YCrop="64" Width="32" Height="32" XScale="50" YScale="50" Delay="2" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="0" YCrop="128" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="32" YCrop="128" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="64" YCrop="128" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="96" YCrop="128" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="128" YCrop="128" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="160" YCrop="128" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="0" YCrop="160" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="32" YCrop="160" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="64" YCrop="160" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="96" YCrop="160" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="128" YCrop="160" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="160" YCrop="160" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="0" YCrop="192" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="32" YCrop="192" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="64" YCrop="192" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="96" YCrop="192" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="128" YCrop="192" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="64" YCrop="160" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="128" YCrop="192" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPosition="0" YPosition="0" XPivot="4" YPivot="6" XCrop="64" YCrop="192" Width="32" Height="32" XScale="50" YScale="50" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
</LayerAnimation>
|
||||
</LayerAnimations>
|
||||
<NullAnimations/>
|
||||
<Triggers/>
|
||||
</Animation>
|
||||
</Animations>
|
||||
</AnimatedActor>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Reference in new issue
Block a user