Sorcerer King 英雄屬性及建築物修改方法

16 7 月

廣告

來源:遊俠論壇

作者:luyongchen

這個遊戲相當好玩,不過在遊戲中還是有些難度的,而我又不想粗暴的使用修改器加錢。
以下是幾個破壞遊戲性的修改方法。

1,英雄屬性


可以看到這個英雄已經被我改成每升一級增加10點血量上限和5點物理攻擊

具體修改方式為:
用記事本打開Sorcerer King\data\English\CoreUnits_Champs.xml
然後ctrl+F 查找英雄姓名,

可以找到如下資訊
<UnitType InternalName=”Unit_Kingdom_RangerChampion1″>
<DisplayName>Peregan the Ranger</DisplayName>
<UnitDisplayName>Peregan the Ranger</UnitDisplayName>
<Description>Hailing from a quiet woodland people, this heroic ranger is renowned for his mastery of the bow.</Description>
<Class>Ranger</Class>
<RaceType>Race_Type_Altarians</RaceType>
<CanBeDesigned>1</CanBeDesigned>
<Gender>Male</Gender>
<AdditionalTrainingTurns>20</AdditionalTrainingTurns>
<IsChampion>1</IsChampion>
<IsSovereign>0</IsSovereign>
<IsStartingUnitType>1</IsStartingUnitType>
<AllowGrouping>0</AllowGrouping>
<SpawnRating>1</SpawnRating>
<GameModifier>
<ModType>Map</ModType>
<Attribute>SummonUnit</Attribute>
<StrVal>Ben</StrVal>
<UnitClass>Unit_Misc_CaveBear</UnitClass>
</GameModifier>
<GameModifier>
<ModType>Map</ModType>
<Attribute>SummonUnit</Attribute>
<StrVal>Bill</StrVal>
<UnitClass>Unit_Misc_BlackWidow</UnitClass>
</GameModifier>
<GameModifier>
<ModType>Resource</ModType>
<Attribute>ChampionCounter</Attribute>
<Value>1</Value>
</GameModifier>
<Base_UnitStat_Accuracy>90</Base_UnitStat_Accuracy>
<Base_UnitStat_Attack_Physical>8</Base_UnitStat_Attack_Physical>
<Base_UnitStat_CombatSpeed>26</Base_UnitStat_CombatSpeed>
<Base_UnitStat_ChanceToCrit>1</Base_UnitStat_ChanceToCrit>
<Base_UnitStat_Dodge>40</Base_UnitStat_Dodge>
<Base_UnitStat_Defense_Physical>4</Base_UnitStat_Defense_Physical>
<Base_UnitStat_HitPoints>17</Base_UnitStat_HitPoints>
<Base_UnitStat_Moves>3</Base_UnitStat_Moves>
<Base_UnitStat_Sight>3</Base_UnitStat_Sight>
<BonusPerLevel_UnitStat_Attack_Physical>5</BonusPerLevel_UnitStat_Attack_Physical>
<BonusPerLevel_UnitStat_HitPoints>10</BonusPerLevel_UnitStat_HitPoints>
<SelectedAbilityBonusOption>Counterattack</SelectedAbilityBonusOption>
<SelectedAbilityBonusOption>RangerSkillTree</SelectedAbilityBonusOption>
<SelectedAbilityBonusOption>HiddenDagger</SelectedAbilityBonusOption>
<SelectedAbilityBonusOption>DodgeMissiles</SelectedAbilityBonusOption>
<SelectedAbilityBonusOption>Leadership1</SelectedAbilityBonusOption>
<SelectedAbilityBonusOption>RainOfArrows</SelectedAbilityBonusOption>
<SelectedAbilityBonusOption>LethalShot</SelectedAbilityBonusOption>
<SelectedAbilityBonusOption>CanEquipBows</SelectedAbilityBonusOption>
<AutoCreateEquipment>Bow_RangerChampion</AutoCreateEquipment>
<Prereq>
<Type>Race</Type>
<Attribute>Race_Type_Altarians</Attribute>
</Prereq>
<Backstory>TXT_UNIT_FACTION_ALTAR_BACKSTORY</Backstory>
<Medallions InternalName=””>
<All>Unit_Kingdom_RangerChampion_Portrait.png</All>
</Medallions>
<AnimationPack>KingdomArcherAnimationPack</AnimationPack>
<BattleAnimationBehavior>Melee</BattleAnimationBehavior>
<ClothMapScale>0</ClothMapScale>
<ClothPoseIndex>9</ClothPoseIndex>
<Color_Hair>147,102,67,255</Color_Hair>
<CutSceneDataPack>DefaultUnitCutscenePack</CutSceneDataPack>
<EyeTexture>gfx\eyes\blinks\eyeblink_m1_brwn.png</EyeTexture>
<InfoCardBackground>BG_KingdomRugged</InfoCardBackground>
<ModelPath>Gfx\HKB\Units\Unit_Kingdom_RangerChampion_Mesh.hkb</ModelPath>
<ModelScale>2.1</ModelScale>
<MovingSFX>TEMP_KnightMarching1</MovingSFX>
<OnHitParticleName>Bloody_OnHit</OnHitParticleName>
<SkeletonPath>Gfx\HKB\Units\Unit_Kingdom_Archer_Skeleton.hkb</SkeletonPath>
<SoundPack>SoundPack_ArcherT3</SoundPack>
<TacticalModelScale>3.3</TacticalModelScale>
<Texture_Eyes>gfx\eyes\blinks\eyeblink_m1_brwn.png</Texture_Eyes>
<Texture_Skin>Unit_Kingdom_RangerChampion.dds</Texture_Skin>
<UnitModelType>KingdomMale</UnitModelType>
<SkillTreeImage>champ_bg_picture.png</SkillTreeImage>
<SkillTreeLinesImage>Champ_Skilltree_Lines_Peregan.png</SkillTreeLinesImage>
<IsCustomSovStartingPartyLeader>1</IsCustomSovStartingPartyLeader>
</UnitType>

可以清楚的看到,紅字部分就是升級所加屬性,而紅字上方是初始屬性包括移動力,視野這些。
而紅字下方則是初始攜帶的技能,也是可以增加和修改的。
至於再下面則是英雄類別還有模型有關的了。

2,修改建築產出

如圖:可以看到工作營地的錘子產出已經被我改到了+12
接下來的說明和第一個相似,文件所在位置為
Sorcerer King\data\English\Core Improvements\CoreImprovements.xml
(插一句嘴,因為沒想到這個檔是在資料夾裡,我把english下所有檔都看了兩邊都沒找到建築物屬性)


接下來就很簡單了 照例用記事本打開然後查找workcamp得到如下:
<ImprovementType InternalName=”WorkCamp”>
<DisplayName>Work Camp</DisplayName>
<Description>Provides +2 Production per City Level.</Description>
<RequiresCity>1</RequiresCity>
<ReqCityLevel>1</ReqCityLevel>
<LaborToBuild>100</LaborToBuild>
<GameModifier>
<ModType>Resource</ModType>
<Attribute>TileYieldMaterials</Attribute>
<PerTurn>1</PerTurn>
<Provides>+12 Production per City Level</Provides>
<Calculate InternalName=”Calc” ValueOwner=”OwnerCity”>
<Expression><![CDATA[[CityLevel]*2]]></Expression>
</Calculate>
<Calculate InternalName=”Value” ValueOwner=”OwnerCity”>
<Expression><![CDATA[[Calc]]]></Expression>
</Calculate>
</GameModifier>
<AIData AIPersonality=”AI_General”>
<AIPriority>5</AIPriority>
<AITag>Workshop</AITag>
</AIData>
<ArtDef>Art_WorkCamp</ArtDef>
</ImprovementType>



其中紅字部分就是產出。我已改為+12
最上面的屬性從上至下依次是
顯示名稱
文字描述
建造所需城市等級
!不懂
建造花費

 

 


發佈留言

發佈留言必須填寫的電子郵件地址不會公開。