Pcgame 版 (精华区)

发信人: nosay (☆冰红茶⊙漂泊☆在夏天怀里凝望艾琳), 信区: Pcgame
标  题: 英雄无敌5修改英雄全解析教程!zz
发信站: 哈工大紫丁香 (Mon May 22 23:01:05 2006), 转信

全部路径以默认安装路径为准,请自行更改,实例为全新创造和自定义精灵族英雄Helpme。文件均从data.pak和texts.pak中解压缩出来。
修改好的实例请参见此贴:http://game.ali213.net/thread-954954-1-1.html
注意:以下路径中data\后面的部分均在data.pak文件中,解压缩出来对应的即可,或者把我做的实例先放进去就都有了,我的教程就是根据那个实例写的。

1。
C:\Program Files\Ubisoft\Heroes of Might and Magic V\data\MapObjects\Preserve 这里存放的是精灵族英雄的基本信息数据文件。

创建英雄文件Helpme.(AdvMapHeroShared).xdb

<?xml version="1.0" encoding="UTF-8"?>
<AdvMapHeroShared ObjectRecordID="225">                                                 英雄的ID,不知道有没有上限
        <Model href="/Characters/Heroes/Ranger_LOD.xdb#xpointer(/Model)"/>
        <AnimSet href="/Characters/Heroes/Ranger_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=""/>
        <TerrainAligned>false</TerrainAligned>
        <FlyPassable>true</FlyPassable>
        <AdventureSoundEffect/>
        <InternalName>Helpme</InternalName>
        <Class>HERO_CLASS_RANGER</Class>
        <Specialization>HERO_SPEC_ELVES</Specialization>
        <PrimarySkill>
                <Mastery>MASTERY_BASIC</Mastery>                                                        英雄的种族特有技能
                <SkillID>HERO_SKILL_AVENGER</SkillID>                                                   英雄的种族特有技能
        </PrimarySkill>
        <SpecializationNameFileRef href="/Text/Game/Heroes/Specializations/Inferno/Furious/Name.txt"/>         英雄本人的独特特技
        <SpecializationDescFileRef href="/Text/Game/Heroes/Specializations/Inferno/Furious/Description.txt"/>     英雄本人的独特特技
        <SpecializationIcon href="/Textures/HeroScreen/Specializations/Inferno/Furious.xdb#xpointer(/Texture)"/>      英雄本人的独特特技
        <FaceTexture href="/Textures/Icons/Heroes/Preserve/Preserve_Helpme_128x128.(Texture).xdb#xpointer(/Texture)"/>       英雄的头像数据地址
        <FaceTextureSmall href="/Textures/Icons/Heroes/Preserve/Preserve_Helpme_128x128_64.(Texture).xdb#xpointer(/Texture)"/>英雄的头像数据地址
        <HeroCharacterArena href="/Characters/Heroes/Ranger.(Character).xdb#xpointer(/Character)"/>          英雄的类型
        <HeroCharacterArenaMelee/>
        <HeroCharacterAdventure href="/Characters/Heroes/Ranger_LOD.(Character).xdb#xpointer(/Character)"/>      英雄的类型
        <HeroIndividualCamera/>
        <CombatVisual href="/GameMechanics/CreatureVisual/Heroes/Ranger.xdb#xpointer(/CreatureVisual)"/>                 英雄的类型
        <TownType>TOWN_PRESERVE</TownType>
        <Editable>
                <NameFileRef href="/Text/Game/Heroes/Persons/Preserve/Helpme/Name.txt"/>                            英雄的名字信息地址
                <BiographyFileRef href="/Text/Game/Heroes/Persons/Preserve/Helpme/Bio.txt"/>                        英雄的个人介绍信息地址 
                <Offence>5</Offence>                                                                                 英雄的4围 
                <Defence>5</Defence>                                                                                 英雄的4围
                <Spellpower>5</Spellpower>                                                                           英雄的4围
                <Knowledge>5</Knowledge>                                                                             英雄的4围
                <skills>
                        <Item>
                                <Mastery>MASTERY_EXTRA_EXPERT</Mastery>                                            英雄的普通技能部分
                                <SkillID>HERO_SKILL_AVENGER</SkillID>                                              英雄的普通技能部分     
                        </Item>
                </skills>
                <perkIDs>
                        <Item>HERO_SKILL_IMBUE_ARROW</Item>                                                    英雄的普通技能部分
                        <Item>HERO_SKILL_MULTISHOT</Item>                                                       英雄的普通技能部分
                        <Item>HERO_SKILL_SNIPE_DEAD</Item>                                                     英雄的普通技能部分  
                        <Item>HERO_SKILL_ABSOLUTE_LUCK</Item>                                                  英雄的普通技能部分
                </perkIDs>
                <spellIDs/>
                <Ballista>true</Ballista>                                                                      3种战争机器
                <FirstAidTent>true</FirstAidTent>                                                               3种战争机器
                <AmmoCart>true</AmmoCart>                                                                       3种战争机器
                <FavoriteEnemies/>
        </Editable>
        <ArrowButtonState>0</ArrowButtonState>
        <Decal/>
        <Selection href="/_(Model)/Heroes/Ranger_Path/Symbol.xdb#xpointer(/Model)"/>
        <Trace href="/MapObjects/_(AdvMapHeroTraceSet)/Rampart.xdb#xpointer(/AdvMapHeroTraceSet)"/>
        <RaceTraitIcon/>
        <RaceTraitDescFileRef href=""/>
        <ScenarioHero>false</ScenarioHero>
        <AdventureMusic/>
</AdvMapHeroShared>

2
C:\Program Files\Ubisoft\Heroes of Might and Magic V\data\MapObjects\_(AdvMapSharedGroup)\Heroes\Any.xdb和Preserve.xdb
你自建英雄的登记在这里,不登记不给英雄牌照。

3
C:\Program Files\Ubisoft\Heroes of Might and Magic V\data\Text\Game\Heroes\Persons\Preserve\Helpme\Name.txt和Bio.txt
里面写你英雄的名字和个人介绍。注意,每个英雄一个文件夹。

4
C:\Program Files\Ubisoft\Heroes of Might and Magic V\data\Textures\Icons\Heroes\Preserve\
英雄的头像文件放这里,自定义头像方法请参见此贴:http://game.ali213.net/viewthrea ... page%3D2#pid8446003

5
C:\Program Files\Ubisoft\Heroes of Might and Magic V\data\Maps\Multiplayer
这里放的是地图文件夹,需要修改里面的一个文件把你的英雄登陆到这张地图,比如L2就在L2文件夹中找L2.xdb文件,在<AvailableHeroes></AvailableHeroes>部分中加入自己的英雄。目前所有可以这样做的自定义地图名字:L2,L4,S1,S2,S4,M1,M4,M5,M6,M8


--
 精灵族头号强援 水族最佳同盟

欢迎大家去IQrace版
                版主们欢迎您的到来和参与 
                                      名誉版主:lyjun pujialun ciel 
                                                ababyfish nosay dongyun


※ 来源:·哈工大紫丁香 bbs.hit.edu.cn·[FROM: 219.217.224.20]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:8.474毫秒