PARALYSIS:
FREE ACTION:
CONTINUOUS DAMAGE:
ELEMENTAL RESISTANCE:
PS - Unfortunately I dont know how to install them into the game, so this is for someone who can make that kind of comment.
Code: Select all
Graphics.CopyTexture with a region will not copy readable texture data for compressed formats (source texture format 12)
Graphics.CopyTexture can only copy between same texture format groups (OpenGL internal formats: src=33779, blockSize=16 ; dst=32856, blockSize=4)
Code: Select all
diff --git a/Assets/Scripts/Game/UserInterface/SpellIconCollection.cs b/Assets/Scripts/Game/UserInterface/SpellIconCollection.cs
index 58731630..9cd6fbc5 100644
--- a/Assets/Scripts/Game/UserInterface/SpellIconCollection.cs
+++ b/Assets/Scripts/Game/UserInterface/SpellIconCollection.cs
@@ -174,13 +174,17 @@ namespace DaggerfallWorkshop.Game.UserInterface
spellIcons.Clear();
// Get source atlas
- Texture2D spellIconAtlas = DaggerfallUI.GetTextureFromImg(spellIconsFile);
- if (spellIconAtlas == null)
+ Texture2D loadSpellIconAtlas = DaggerfallUI.GetTextureFromImg(spellIconsFile);
+ if (loadSpellIconAtlas == null)
{
Debug.LogWarning("SpellIconCollection: Could not load spell icons atlas texture. Arena2 path might not be set yet.");
return;
}
+ Texture2D spellIconAtlas = new Texture2D(loadSpellIconAtlas.width, loadSpellIconAtlas.height, TextureFormat.ARGB32, false);
+ spellIconAtlas.SetPixels(loadSpellIconAtlas.GetPixels());
+ spellIconAtlas.Apply();
+
// Derive dimension of each icon from atlas width
const int rowCount = 20;
int dim = spellIconAtlas.width / rowCount;
Uuugghhhh, that wasnt what I was aiming at....hmm maybe I should rethink using this style for the icons...
So, DFU needs some slight modification for this to work, because currently the atlas, when loaded from external resource (not classic Daggerfall .IMG file), is compressed in memory and then it gets in the way of splitting the atlas into individual icons. Even unchecking "compressed modded textures" in options doesn't seem to work, because this is done very early when DFU starts, even before the options screen (?).
As I said before, there's no strong tie in classic, given the player can remap the icons of the his/her spells at any time.
debuffs:Jumping - Jumping
Nimbleness - Fortify Attribute (Agility)
Orc Strength - Fortify Attribute (Strength)
Resist Poison - Elemental Resistance (Poison)
Spell Shield - Spell Resistance
Troll's Blood - Regenerate
others:Hand of Sleep - Continuous Damage (Fatigue)
2.Cure Poison - Cure (Poison)
Fenrik's Door Jam - Lock
Force Bolt - Damage (Health)
Recall - Teleport
Spell Drain - Damage (Spell Points)
Wizard Lock - Lock
debuffs:Buoyancy - Water Walking
Chameleon - Chameleon (Normal)
Free Action - Cure (Paralyzation) [makes you immune to paralysis for as long as it lasts, so it's a buff]
Invisibility - Invisibility (Normal)
Levitate - Levitate
Light - Light
Resist Cold - Elemental Resistance (Frost)
Resist Fire - Elemental Resistance (Fire)
Resist Shock - Elemental Resistance (Shock)
Shield - Shield
Water Walking - Water Walking
others:Far Silence - Silence
Medusa's Gaze - Paralyze
Paralysis - Paralyze
Silence - Silence
Sleep - Continuous Damage (Fatigue)
Spider Touch - Paralyze
Strength Leech - Drain (Strength)
Vampiric Touch - Transfer (Health) [could be considered as a buff for you, but it's applied on the victim]
Wild Fire - Continuous Damage (Health)
3.Banish Deadra - Dispel (Daedra)
Calm Humanoid - Pacify (Humanoid)
Cure Disease - Cure (Disease)
Fireball - Damage (Health)
Fire Storm - Damage (Health)
Frostbite - Damage (Health)
Gods' Fire - Damage (Health)
Ice Bolt - Damage (Health)
Ice Storm - Damage (Health)
Open - Open
Quiet Undead - Pacify (Undead)
Shock - Damage (Health)
Sphere of Negation - Disintegrate
Tame - Pacify (Animal)
Toxic Cloud - Damage (Health)
Wizard Rend - Damage (Health)
Wizard's Fire - Damage (Health)
4.Balyna's Balm - Heal (Health)
Heal - Heal (Health)
Lightning - Damage (Health)
Stamina - Heal (Fatigue)
5.Jack of Trades - Fortify Attribute (Luck)
6.Wisdom - Fortify Attribute (Intelligence)
others:Water Breathing - Water Breathing
9.Charm Mortal - Charm
11.Spell Reflection - Spell Reflection
12.Spell Resistance - Spell Resistance
13.Holy Touch - Dispel (Undead)
Holy Word - Dispel (Undead)
15.Slowfalling - Slowfall
25.Shadow Form - Shadow (Normal)
31.Feet of Notorgo - Fortify Attribute (Speed)
Spell Absorption - Spell Absorption
33.Null Magicka - Dispel (Magic)
36.Energy Leech - Transfer (Fatigue) [could be considered as a buff for you, but it's applied on the victim]
39.Soul Trap - Soul Trap
44.Hand of Decay - Disintegrate
45.Charisma - Fortify Attribute (Personality)
Tongues - Comprehend Languages
47.Iron Will - Fortify Attribute (Willpower)
debuffs:Fortitude - Fortify Attribute (Endurance)
Shalidor's Mirror - Spell Reflection
49.Magicka Leech - Continuous Damage (Spell Points)
Then there's Detect buff that is not used in any circinate spell, so never had an official icon.Balyna's Antidote - Cure (Poison)