Skip to content

Several changes.

User Avatar
#28
Auto-translated
In the folder \GameMechanics\Spell\Creature_Abilities\Haven there is a file LayHands.xdb

inside it looks like this
Header<?xml version="1.0" encoding="UTF-8"?>
<Spell ObjectRecordID="16">
    <NameFileRef href="/Text/Game/Spells/Creature_Abilities/Haven/LayHands/Name.txt"/>
    <LongDescriptionFileRef href=""/>
    <Texture href="/Textures/RefMaps/negx.xdb#xpointer(/Texture)"/>
    <EffectTexture/>
    <SpellBookPredictions/>
    <CombatLogTexts>
        <Item href="/Text/CombatLog/Spells/AbilityLayHands.txt"/>
    </CombatLogTexts>
    <Level>0</Level>
    <MagicSchool>MAGIC_SCHOOL_SPECIAL</MagicSchool>
    <RequiredHeroLevel>0</RequiredHeroLevel>
    <IsAimed>true</IsAimed>
    <TrainedCost>0</TrainedCost>
    <damage/>
    <duration/>
    <sSpellCost>
        <Wood>0</Wood>
        <Ore>0</Ore>
        <Mercury>0</Mercury>
        <Crystal>0</Crystal>
        <Sulfur>0</Sulfur>
        <Gem>0</Gem>
        <Gold>0</Gold>
    </sSpellCost>
    <IsAreaAttack>false</IsAreaAttack>
    <CanSelectDead>false</CanSelectDead>
    <Target>TARGET_FRIEND</Target>
    <Element>ELEMENT_NONE</Element>
    <visuals>
        <Item href="LayHands.(SpellVisual).xdb#xpointer(/SpellVisual)"/>
    </visuals>
</Spell>


you need the line   <Texture href="/Textures/RefMaps/negx.xdb#xpointer(/Texture)"/> 

it contains a link to some placeholder, you can insert the path to the resurrection icon for example

if you want to make something of your own, then you need to extract an xdb texture file from somewhere....

take a look at how I did it here with the repair ability, if you have questions or problems, I'll help
Мои мини-моды

Мод RTF

Мои NCF существа

Statistics

Welcome our newest member: artem

Users Online 1 users 1722 guests