|
Thread: Hero not visible in selection list after model edit | |
|
Arkathor
Tavern Dweller
|
posted October 09, 2014 11:55 AM |
|
|
Hero not visible in selection list after model edit
Hi
I wanted to create a simple mod which changes Ylaya`s model to the unmounted 1 and the animations to the of the matron. I am also using the mod which allows me use campaign heroes during normal maps, but the problem is, when i use this modification i cant choose Ylaya because she is not visible at character selection list, i tried to do the same with another hero(Yrbeth) and it was working for her without any problems. I also know this mod works, because when i put ylaya manual on map in editor the model and animations are correct. Can someone help me? Here are files:
Shadwin_DS_test.(Character).xdb
<?xml version="1.0" encoding="UTF-8"?>
<Character>
<Model href="Shadwin_DS_U.xdb#xpointer(/Model)"/>
<ArenaAnimSet href="/Characters/Creatures/Dungeon/Matron-arena.xdb#xpointer(/AnimSet)"/>
<AdvMapAnimSet href="Shadwin_DS_U-arena.xdb#xpointer(/AnimSet)"/>
<ColourModels/>
</Character>
and
Shadwyn.(AdvMapHeroShared).xdb
<?xml version="1.0" encoding="UTF-8"?>
<AdvMapHeroShared ObjectRecordID="22">
<Model href="/Characters/Heroes/Ilaya_LOD.xdb#xpointer(/Model)"/>
<AnimSet href="/Characters/Heroes/Ilaya_LOD-adv.xdb#xpointer(/AnimSet)"/>
<blockedTiles/>
<holeTiles/>
<activeTiles>
<Item>
<x>0</x>
<y>0</y>
</Item>
</activeTiles>
<passableTiles/>
<PossessionMarkerTile>
<x>0</x>
<y>0</y>
</PossessionMarkerTile>
<Effect/>
<EffectWhenOwned/>
<messagesFileRef/>
<WaterBased>false</WaterBased>
<ApplyHeroTrace>false</ApplyHeroTrace>
<SoundEffect/>
<flybyMessageFileRef href=""/>
<ObjectTypeFileRef href="/Text/Visibility_Types/Units.txt"/>
<TerrainAligned>false</TerrainAligned>
<FlyPassable>true</FlyPassable>
<AdventureSoundEffect/>
<RazedStatic/>
<Icon128/>
<InternalName>Shadwyn</InternalName>
<Class>HERO_CLASS_WARLOCK</Class>
<Specialization>HERO_SPEC_DARK_ACOLYTE</Specialization>
<PrimarySkill>
<Mastery>MASTERY_BASIC</Mastery>
<SkillID>HERO_SKILL_INVOCATION</SkillID>
</PrimarySkill>
<SpecializationNameFileRef href="/Text/Game/Heroes/Specializations/Dungeon/Dark_Acolyte/Name.txt"/>
<SpecializationDescFileRef href="/Text/Game/Heroes/Specializations/Dungeon/Dark_Acolyte/Description.txt"/>
<SpecializationIcon href="/Textures/HeroScreen/Specializations/Dungeon/Dark_Acolyte.xdb#xpointer(/Texture)"/>
<FaceTexture href="/UI/H5A1/Icons/Heroes/Portrets128x128/Shadwyn.(Texture).xdb#xpointer(/Texture)"/>
<FaceTextureSmall/>
<HeroCharacterArena href="/Characters/Heroes/DS/Shadwin_DS_test.(Character).xdb#xpointer(/Character)"/>
<HeroCharacterArenaMelee/>
<HeroCharacterAdventure href="/Characters/Heroes/DS/Shadwin_DS_test.(Character).xdb#xpointer(/Character)"/>
<HeroIndividualCamera/>
<CombatVisual href="/GameMechanics/CreatureVisual/Heroes/Warlock.xdb#xpointer(/CreatureVisual)"/>
<TownType>TOWN_DUNGEON</TownType>
<Editable>
<NameFileRef href="/Text/Game/Heroes/Persons/Dungeon/Shadwyn/Name.txt"/>
<BiographyFileRef href="/Text/Game/Heroes/Persons/Dungeon/Shadwyn/Bio.txt"/>
<Offence>1</Offence>
<Defence>0</Defence>
<Spellpower>3</Spellpower>
<Knowledge>1</Knowledge>
<skills>
<Item>
<Mastery>MASTERY_BASIC</Mastery>
<SkillID>HERO_SKILL_OFFENCE</SkillID>
</Item>
</skills>
<perkIDs>
<Item>HERO_SKILL_DARK_RITUAL</Item>
</perkIDs>
<spellIDs/>
<Ballista>false</Ballista>
<FirstAidTent>false</FirstAidTent>
<AmmoCart>true</AmmoCart>
<FavoriteEnemies/>
<TalismanLevel>0</TalismanLevel>
</Editable>
<ArrowButtonState>0</ArrowButtonState>
<Decal/>
<Selection href="/_(Model)/Heroes/Warlock_Path/Symbol.xdb#xpointer(/Model)"/>
<Trace href="/MapObjects/_(AdvMapHeroTraceSet)/Dungeon.xdb#xpointer(/AdvMapHeroTraceSet)"/>
<RaceTraitIcon/>
<RaceTraitDescFileRef href=""/>
<ScenarioHero>true</ScenarioHero>
<AdventureMusic href="/Sounds/_(Music)/AdvMap-Heroes/a1-Shadwyn-Ylaya.xdb#xpointer(/Music)"/>
<HideInEditor>false</HideInEditor>
<PresetMinimalAttributes>
<Offence>2</Offence>
<Defence>2</Defence>
<Spellpower>2</Spellpower>
<Knowledge>2</Knowledge>
</PresetMinimalAttributes>
</AdvMapHeroShared>
____________
|
|
Hayven
Famous Hero
|
posted October 09, 2014 06:05 PM |
|
|
Mwahahaha, man
I apologise for that and it's my very fault... the solution is silly. Really silly. And simple as well.
Do you see "Shadwyn.(AdvMapHeroShared)" file?
If yes, open it. You have <ScenarioHero>true</ScenarioHero> line in it. Change 'true' param to 'false' so that she will appear on standard maps ^^
And... were you able to hire her in the Tavern or not? ^^
____________
|
|
Arkathor
Tavern Dweller
|
posted October 09, 2014 07:44 PM |
|
|
Thanks man, editing this line realy works.
____________
|
|
|
|