Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 5 - Modders Workshop > Thread: Hero not visible in selection list after model edit
Thread: Hero not visible in selection list after model edit
Arkathor
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>

____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Hayven
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? ^^
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Arkathor
Arkathor

Tavern Dweller
posted October 09, 2014 07:44 PM

Thanks man, editing this line realy works.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0222 seconds