
中世纪女巫魔法 女巫之王
康乐设施-荒唐皇帝
2023年3月3日发(作者:廉洁文化进校园内容)首先从兵种文件说起.
export_descr_unit文件
以封建骑士为例:
typeFeudalKnights(建筑文件对应出的名)
dictionaryFeudal_Knights(汉化,贴图对应的名);FeudalKnights(注释,简介出的
名)
categorycavalry(兵种类型:如步兵,骑兵)
classheavy(兵的类型)
voice_typeHeavy(兵的响声)
bannerfactionmain_cavalry(兵种旗帜)
bannerholycrusade_cavalry(加入十字或圣战后的旗帜)
soldierFeudal_Knights,(兵种骨骼)32,(兵种数量,公式:32除2乘5)0(人马合一),
1(冲锋的穿透能力,简言之是冲锋时间)
mountbardedhorse(骑的座骑)
mount_effectelephant-4,(对大象减4点士气)camel-4(对骆驼减4点士气)
attributessea_faring,hide_forest,hardy,can_withdraw,can_formed_charge,knight(兵
的各种能力)
formation2,4.4,3,6,2,square,wedge(阵型,行列)
stat_health1,0(1为人的生命,0为座骑生命)
stat_pri10(冲锋伤害),6(冲锋加乘),no(远程武器名),0(射程),0(弹药),melee(交战
类型),melee_blade(武器类型),piercing(武器声音),spear(武器类型),25(动作时间),1(武
器切换速度)
;stat_pri_ex0,0,0(武器升级变化)
stat_pri_attrno(是否破甲)
stat_sec11(近战肉搏伤害),4(冲锋加乘),no,0,0,melee,melee_blade,piercing,
sword,25,1(下面的同上)
;stat_sec_ex0,0,0(副武器升级变化)
stat_sec_attrno(是否破甲)
stat_pri_armour7(甲防),5(计防),4(盾防),metal
;stat_armour_ex7,8,0,0,5,4,4,metal(防御升级变化)
stat_sec_armour0,0,flesh(座骑防御变化)
stat_heat5(劳累速度,数据越大累的越快)
stat_ground0(灌木丛能力加乘),-2(沙漠能力加乘),-4(森林能力加乘),0(雪地能力加
乘0
stat_mental9,(士气)impetuous,(纪律)trained(训练)
stat_charge_dist45(冲锋的码数,进入多少距离开使冲锋)
stat_fire_delay0(部队整队时间)
stat_food60,300
stat_cost1(造兵回合),730(会战里买的钱),250(会战里维护费),120(升级武器费),
95(升级盔甲费),730(自定义战役费用),4(多于几队开始罚钱),180(罚钱的多少)
armour_ug_levels3,4(盔甲升级要求铁匠等级)
armour_ug_modelsFeudal_Knights,(无盔甲升级时第1个模形)Feudal_Knights_ug1(升了
一点防后的模形)
ownershipengland,scotland,france,hre,denmark,spain,portugal,milan,venice,
papal_states,hungary,slave(能造的国家)
era0england,france,hre,denmark,spain,portugal,milan,venice,hungary(哪国在
哪个时期有,era0为初期;era1为中期;era2为后期)
era1scotland(同上)
;unit_info10,0,16(凡是前面带;号数据无效)
常用的兵种属性:
sea_faring能上船
can_withdraw可以撤退
mercenary_unit雇佣兵
hide_forest能隐藏在森林中
hide_improved_forest能良好的隐藏在森林中
hide_anywhere能隐藏在任何地方
hardy耐力良好
very_hardy耐力极佳
can_formed_charge可列队冲锋
knight骑士
free_upkeep_unit在城镇中可免维护费
cantabrian_circle环形射击
general_unit将军单位
general_unit_upgrade后期将军单位
gunpowder_unit有火枪装弹动作
fire_by_rank多列轮流射击
gunmen火枪手,只有第一排可以射击
guncavalry龙骑兵,只有第一排可以射击
crossbow十字弓,只有第一排可以射击
start_not_skirmishing默认关闭自动闪避
stakes可放置木桩
pike超长枪
frighten_mounted惊吓马匹
frighten_foot惊吓步兵
can_run_amok会发疯
druid德鲁依,增加友军士气
artillery炮兵(武器)
Ucannon加农炮(武器)
rocket火箭(武器名)
mortar迫击炮(武器)
explode会爆气
kstandard军旗部队(加士气)
is_peasant城市免费
座骑列表:
fastpony(轻快速马)
heavyhorse(健壮的马)
mailedhorse天主教初期战马(如封建骑的)
bardedhorse游侠战马(如侠义骑的)
armouredhorse西欧铁骑(如重装枪骑兵骑的)
easternarmouredhorse东方铁骑(如马路小坦克骑的)
camel骆驼
elephant枪象
elephant_cannon炮象
elephant_rocket火箭战象
接着是/data/world/maps/campaign/imperial_campaign/descr_strat
(开局文件,最好别乱改,否则会跳,重开档方会生效)
playable(游戏开始时选择势力)
england英格兰
france法兰西
hre神圣罗马帝国
spain西班牙
venice
可以添加新势力
end
unlockable(游戏通关后选择势力)
sicily西西里
milan米兰
scotland苏格兰
byzantium拜占庭
russia俄罗斯
moors摩尔
turks土耳其
egypt埃及
denmark丹麦
portugal葡萄牙
poland波兰
hungary匈牙利
end
nonplayable(不可以选择势力)
papal_states(教皇国)
aztecs阿兹特克
mongols蒙古
timurids帖木儿
slave叛军
end
start_date1080summer帝国会战起始时间
end_date1530winter帝国会战结束时间
timescale0.5回合数(会影响事件发生时间,如需变动1年2回合为0.5,4
回合0.25,以此类推)
brigand_spawn_valueXX叛军的出现几率,数字越大几率越低
pirate_spawn_valueXX海盗的出现几率,数字越大几率越低
faction(派系)france,(法国)balancedsmith(外交政策:中2外交政策甭需改动)
ai_label(政策引用跟descr_campaign_ai_db文件相关)catholic(宽容)default(简单)
papal_faction(教皇专用)slave_faction(叛军专用)
denari8000(起始势力金钱数,可以更改数量,注意防止腐败)
denari_kings_purse1500(起始国王金库)
settlement(城市)(可以改为城堡,不过注意城堡和城市建筑物单词有区别,下面有明细)
{
level(级别)large_town(城市,可以更改级别)
region(区域)Paris(巴黎)_Province(省)
year_founded(建立年代)0
population3800(人口数,可以改动)
plan_setdefault_set
faction_creator(起始派别)france(法国)
building(建筑)
{
type(类型)core_building(城市城墙)wooden_wall(木墙,可以更改级别)
}
building
{
type(类型)barracks(城市兵营)town_guard(民兵军营,可以更改级别)
}
building
{
type(添加新的建筑物名称)(添加新的建筑物级别)
}
}
settlementcastle(城堡)(可以改为城市,不过注意城堡和城市建筑物单词有区别,下面有明
细)
{
level(级别)town(木堡,可以更改级别)
region(区域)Angers(昂热)_Province(省)
year_founded(建立年代)0
population1800(人口数,可以改动)
plan_setdefault_set
faction_creator(起始派别)france(法国)
building
{
type(类型)core_castle_building(城堡)wooden_castle(木堡)
}
building
{
type(类型)equestrian(城堡马厩)stables(马厩)
}
building
{
type(添加新的建筑物名称)(添加新的建筑物级别)
}
}
character(描述)Philip(将军名),namedcharacter(只有家族成员需要),male(男性),
leader(领袖),age(年龄)40,x(横向坐标)113,y(竖向坐标)131
traits(属性)Factionleader(派系领袖)1(级别),GoodCommander(优秀指挥官)2(级别),
Intelligent(聪明)2(级别),添加新属性级别(注意格式)
ancillaries(随从)holy_grail(圣杯),chevalier_de_bayard(巴亚尔骑士),添加新的随从(随从
最多8个,注意格式)
army(军队)
unit(单位)NEBodyguard(早期将军卫队)exp9(经验值)armour3(盔甲级)
weapon_lvl3(武器级)
unit(单位)PeasantArchers(平民弓箭手)exp6(经验值)armour0(盔甲级)
weapon_lvl0(武器级)
unit(单位)SpearMilitia(长矛民兵)exp0(经验值)armour0(盔甲级)
weapon_lvl0(武器级)
unit(单位)SpearMilitia(长矛民兵)exp0(经验值)armour0(盔甲级)
weapon_lvl0(武器级)
unit添加新兵种(每个将军带队数上限20支)expXarmourXweapon_lvl
X
characterPierre(将军名),general(一般),male,age20,x121,y126
army
unitGendarmes(宪兵骑士)exp5armour1weapon_lvl1
unitFrenchMountedArchers(法兰西弓骑兵)exp4armour1weapon_lvl0
unitScotsGuard(苏格兰卫队)exp4armour0weapon_lvl0
unitAventurier(冒险者弩兵)exp4armour0weapon_lvl0
unit添加新兵种(每个将军带队数上限20支)expXarmourXweapon_lvl
X
characterGuillemotdeLyon(将军名),admiral(海军),male,age20,x113,y99
traits(属性)Sailor(传奇海军将领)5(级别)
ancillaries(随从)shipwright(船舶工匠),naval_gunner(战舰炮长),naval_navigator(可靠导
航员)
army
unitcarrack(卡拉克战舰)exp7armour3weapon_lvl3
unitcarrack(卡拉克战舰)exp7armour3weapon_lvl3
unit添加新船只(每个将军带队数上限20支)expXarmourXweapon_lvl
X
characterEtienneTristram,priest(主教),male,age20,x101,y115
traits(属性)NaturalPriestSkill(自然教士技巧)3,添加新属性,注意格式
ancillaries(随从)witch_hunter(女巫猎人),royal_seminarian(皇家神学家),添加新随从,最
多8个,注意格式
characterAubertFebre,spy(间谍),male,age20,x122,y120
traits(属性)GoodSpy5,添加新属性,注意格式
ancillaries(随从)spyglass,添加新随从,最多8个,注意格式
characterAubertFebre,assassin(刺客),male,age20,x122,y120
traits(属性)GoodAssassin5,添加新属性,注意格式
ancillaries(随从)accomplice,添加新随从,最多8个,注意格式
characterRainaldErlach,diplomat(外交官),male,age20,x118,y120
traits(属性)GoodDiplomat5,添加新属性,注意格式
ancillaries(随从)translator,添加新随从,最多8个,注意格式
characterPedroDescriua,merchant(商人),male,age20,x111,y120
traits(属性)GoodMerchant4,添加新属性,注意格式
ancillaries(随从)trick_abacus,添加新随从,最多8个,注意格式
characterConstance,princess(公主),female(女性),age19,x112,y131
traits(属性)IAmPrincess1,添加新属性,注意格式
ancillaries(随从)strapping_stallion,添加新随从,最多8个,注意格式
character_record(家族描述)Michiel(名字),male(男性),age(年龄)2,alive(存活),
never_a_leader(这里指未成年)
character_recordHenry(名字),male(男性),age(年龄)1,alive(存活),
never_a_leader(这里指未成年)
character_recordBertradadeMontfort(名字),female(女性),age(年龄)52,
alive(存活),never_a_leader(这里指皇后)
relativePhilip,Bertradade
Montfort,Louis,Constance,Michiel,Henry,end(这行意思按
家族年龄顺序排列)
(如果你想你的王室成员游戏一开始就成年且满属性,把家族描述这个人的一行去掉,在
将军上面另起一行,格式按上面介绍的添加,例如:想让Henry亨利一开始就16岁,格式如
下:)注意:年龄必须按顺序排列好,也就是你把小儿子搞成年了,而他的哥哥才2岁;方法把
最后年龄排序上调过来即可.或哥哥也成年岁数>16岁.
characterHenry,namedcharacter,male,age16,x114,y133
traits添加属性
ancillaries添加随从
army
unitNEBodyguardexp9armour3weapon_lvl3
;>>>>startofdiplomacysection<<<<
faction_standings(派别)england,(国家)-0.2france,scotland
faction_standingsengland,-1.0slave
faction_standingsscotland,-0.2england
faction_standingsscotland,0.2france
faction_standingsscotland,-1.0slave
faction_standingsfrance,-0.2england(每回合对英格兰外交度下降0.2)
faction_standingsfrance,0.2scotland(每回合对苏格兰外交度增加
0.2)
faction_standingsfrance,-1.0slave
faction_standingsvenice,-0.2byzantium
faction_standingsvenice,-0.45milan,hre
faction_standingsvenice,-1.0slave
(以上指每回合所属国家对相对国家的外交度,负数为下降)
faction_relationshipsengland,at_war_withslave
faction_relationshipsfrance,at_war_withslave(叛军)
接着是令一个重要文件/data/export_descr_buildings(不用重开档)
wooden_wallcityrequiresfactions{northern_european,mesoamerican,
middle_eastern,eastern_european,greek,southern_european,}
{(括号里为可造派系,如北欧,中东,东欧,希腊,南欧,对叛军出兵重要)
convert_to2
capability
{
recruit_pool\"Conquistadores\"(出兵名字,对应dictionary)1(可出数)0.4
(每回合补充率)30(经验)requiresfactions{spain,portugal,}(可出国家)and
hidden_resourceamerica
recruit_pool\"DismountedConquistadores\"10.430requiresfactions
{spain,portugal,}andhidden_resourceamerica
recruit_pool\"TownMilitia\"10.220requiresfactions{england,
scotland,france,hre,denmark,spain,portugal,Normans,}
recruit_pool\"ItalianMilitia\"10.220requiresfactions{milan,venice,
papal_states,sicily,}
happiness_bonusbonus1()
recruitment_slots9(一回合造9个格的兵)
}
materialwooden
construction1(建筑建造所需回合)
cost1200(所需金钱)
settlement_mintown
upgrades
公会修改:/data/export_descr_guilds文件
Guildassassins_guild(名称刺客公会)
buildingguild_assassins_guild(建筑刺客公会)
levels100250500
levels代表公会分3次升级要求的点数,把数字分别改小就可以降低难度了.如全部公会
改小则体现不出你想要公会的出现率.
data/world/maps/campaign/imperial_campaign/descr_mercenaries(雇佣兵文件)
poolEgypt(地区名:埃及)
regionsAlexandria_ProvinceCairo_ProvinceGaza_Province
unitmercgalley,exp0(经验值)cost200(买所需金钱)replenish0.36-1.0(每回合补
充率)max2initial1religions{islam}(派系)crusading
unitmercgalley,exp0cost1040replenish0.06-0.18max1initial1
unitBedouinCavalryexp0cost630replenish0.04-0.13max2initial1religions
{islam}
unitGhazisexp0cost100replenish0.18-0.5max6initial1religions{islam}
crusading
unitMutatawwi\'aexp0cost60replenish0.08-0.25max4initial1religions{islam}
crusading
unitTurkomansMercsexp0cost740replenish0.04-0.13max2initial1religions
{islam}
unitSudaneseTribesmenMercsexp0cost440replenish0.04-0.13max2initial1
/data/export_descr_ancillaries(随从文件)
Ancillaryadultress(随从情妇)
TypeSex(类型性)
Transferable1(这里1代表可以把随从转让别人0代表不可以)
Imagesex_(图片引用)
ExcludeCulturesmiddle_eastern(排除派系中东)
Descriptionadultress_desc(描述引用)
EffectsDescriptionadultress_effects_desc
EffectChivalry-1(骑士美德-1)
EffectPiety-1(虔诚-1)
EffectTroopMorale-1(部队士气-1)
EffectFertility-2(生育能力-2)
;------------------------------------------
Triggeradultress_vnv_trigger(情妇触发条件)
WhenToTestCharacterTurnEnd(时间为回合结束)
ConditionEndedInSettlement(条件待在城里)
andRemainingMPPercentage=100(移动力满)
andSettlementBuildingExists>=coaching_house(需要建筑物等级>=旅店)
andIsGeneral(状态一般)
andIsMarried(已婚)
andSpouseAttributeCharm<3(老婆的属性魅力<3)
andAttributeChivalry<1(骑士美德<1)
AcquireAncillaryadultresschance100(以上条件全部满足后触发几率为
100)
/data/export_descr_character_traits(人物属性文件)
TraitGoodCommander(属性优秀指挥官)
Charactersfamily
AntiTraitsBadCommander(相反属性糟糕指挥官)
LevelPromising_Commander(级别优秀的指挥官)
DescriptionPromising_Commander_desc
EffectsDescriptionPromising_Commander_effects_desc
GainMessagePromising_Commander_gain_desc
LoseMessagePromising_Commander_lose_desc
Threshold1
EffectCommand1(属性统帅+1)
LevelAspiring_Commander(级别卓越的指挥官)
DescriptionAspiring_Commander_desc
EffectsDescriptionAspiring_Commander_effects_desc
GainMessageAspiring_Commander_gain_desc
LoseMessageAspiring_Commander_lose_desc
Threshold2
EffectCommand2(属性统帅+2)
;------------------------------------------
TriggerV0090_Standard_Battle_Any_Victory_VnV_Trigger
WhenToTestPostBattle(战斗时触发)
ConditionIsGeneral(条件是将军)
andWonBattle(赢取战斗)
andBattleOdds<2.25(战前势力比小于2:2.5)
AffectsGoodCommander1Chance100(满足以上条件触发优秀的指挥官几率为
100,这里的1指的是该技能的等级)
后代子孙成年时属性修改
Triggerrandom_birth_france(特性法国派系任意发生)
WhenToTestCharacterComesOfAge(发生时间为成年)
ConditionFactionTypefrance
AffectsHaleAndHearty2Chance100(强壮技能2级的触发几率为100)
AffectsIntelligent2Chance100(聪明技能2级的触发几率为100)
Affects添加新技能新技能等级Chance触发几率
注意:最多不可超过10个技能,每个技能等级有限制,高出等级限制=没有此技能
将军腐败修改:
查找Triggercorruption1和Triggercorruption2和Triggercorruption4
把andTreasury>50000,的数字改大,因为这个数字代表到达这个金钱数将军会腐败
把AffectsCorrupt1Chance0数字改为0,意思是触发这几种腐败类型的几
率
AffectsAesthetic1Chance0
AffectsExpensiveTastes1Chance0
AffectsEpicurean1Chance0
AffectsEmbezzler1Chance0
改成0腐败也会出现
/data/descr_campaign_db(将领年龄修改)
最大年龄的岁数
男的最大结婚年龄
女的最大结婚年龄
最长寿命的年龄
10岁以下称为小孩的年龄
60岁以上称为老者的年龄
最小有生值能力的年岭
公主的成年年龄
公主进修道院的年龄
求婚者的最小年龄比家族未婚者小10岁
求婚者的最小年龄比家族未婚者大30岁
相隔生最大的孩子和最小的孩子的年龄差距
最小家族人员能收养养子的年龄
最大家族人员能收养养子的年龄
最大的怀孕年龄
最小有生殖能力的男性为14岁
家族每人可生小孩的最大数为4
海战修改:
最小俘虏几率
最大俘虏几率
海战沉没几率(最高100)
海战逃跑几率(最低0)
海战败方沉没最大几率
/data/world/maps/campaign/imperial_campaign/descr_events(历史事件修改)
;------------COREGAMEEVENT--------------
eventhistoricgunpowder_discovered火器的出现
date160170(最小发生回合/最大发生回合)
movieevent/gunpowder_
eventhistoricmongols_invasion_warn蒙古入侵
date128144
eventhistoricworld_is_round地球是圆的(发现美洲)
date320328
把回合数改成2就会变成第二回合发生.因游戏一开始就已经为1回合,故修改时最低时
间是2.
注意,蒙古入侵的时间和回合数有关,注意间隔,不然会跳出.
data/descr_character文件:
starting_action_points80(为所有部队行军范围,可做更改);defaultvalueforall
charactersandpathfindingcalculations
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
typenamedcharacter(家族成员)
actionsmoving_normal,moving_quickmarch,garrison,assault,attack,
besiege,entrench,ambush,diplomacy,bribe,exchange,building_fort,building_watchtower
wage_base40
starting_action_points15(家族成员移动范围,可做修改)
factionvenice( )
dictionary15
strat_modelsouthern_general
battle_modelNorthern_General
battle_equipgladius,chainmailshirthelmetandrectangularshield
(以上为将军部队的单位行为,模型,工资,装备,哪些国家和移动力的描述.其中异教徒,女
巫,审查官是不可以招募的)
请参照事物官名字修改,简单的说是:
typenamedcharacter(将军部队)
general(一般部队)
spy(间谍)
assassin(刺客)
diplomat(外交官)
admiral(海军)
princess(公主)
merchant(商人)
priest(教士)
heretic(异教徒)
witch(女巫)
inquisitor(审查官)
wage_base100(每回合维护费)
starting_action_points15(移动力)
data/descr_settlement_mechanics文件:
descr_settlement_
SPF代表settlementpopulationfactor(解决人口因素)
SOF代表settlementorderfactor(解决次序因素)
SIF代表settlementincomefactor(解决收入因素)
(城市)
(城堡)
意思是:城市/城堡级别,升到该级需要的人口数,升到下级需要的人口数,招兵的最小
人口数,城镇人口上限
注意:每一级别城市或城堡的人口上限都不能低于前一级的.另外人口数大了,治安和快
乐还有健康,也要做相应修改,在export_descr_buildings文件.
data/descr_sm_resources文件:(资源修改)
gold金价值20
silver银价值12
fish鱼价值5
furs毛皮价值3
grain谷物价值5
timber木材价值6
iron钢价值9
ivory象牙价值12
wine酒价值8
slaves奴隶价值8
chocolate巧克力价值15
marble大理石价值10
textiles纺织品价值8
dyes染料价值8
tobacco烟草价值15
silk丝绸价值12
sugar糖价值10
sulfur硫磺价值5
tin锡价值6
spices香料价值12
cotton棉花价值8
amber琥珀价值12
coal煤价值4
wool羊毛价值6
elephants大象可招募
camels骆驼可招募
dogs狗可招募
后面数字就是价值,×商人的属性=每回合产生的金钱
爆心攻击力
0
好,下面是最重要最震撼人心的光影效果修改!
descr_effect_文件:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;culvernexplosionground
impact
effectexplosive_fiery_cloud_culvern
{
typeexplosion
{
;mainexplosion(爆破方式)
modelmodels_effects/explosive_cloud_
sort_for_speed
anim_time2.6(反应时间)
max_scale8(最大规模)
max_particle_scale2.7(最大粒子规模)
scale_time_bias0.9
alpha_time_bias0.95
;clr_adjust_by_ambient_intensity
;debris
debris_modelmodels_effects/debris_
debris_num_particles40(碎片,注意,烧机子!)
debris_lifetime_range14,60(14是碎片,60有效光影效果范围,这个最重要)
debris_emit_angle90;degrees(溅射角度)
debris_time_bias0.1(时间)
debris_velocity_range12.5,6.5(溅射速度)
debris_scale_range0.1,0.5
}
}
再把远处部队的主武器射成你修改的炮就行了.
下面是模型的修改
battle_b文件:
22serialization::archive3000070500
这个是很重要的一行,并且是很容易出错的部分。
22代表“serialization::archive”这段话的字节数,自己可以数数。数字错了会跳的.
3000070500
这个之中最重要的`应该是705了`这个是本文件含有的单位模型数量,你每添加一个单
位,这个数字就要+1
以苏格兰卫队为例
15noble_swordsmen
1(代表只有1个国家拥有)3(指不同的视觉距离下,有3个层次的骨骼连接)
60unit_models/_Units/EN_Pplate_Plate/noble_swordsmen_121
60unit_models/_Units/EN_Pplate_Plate/noble_swordsmen_1225
60unit_models/_Units/EN_Pplate_Plate/noble_swordsmen_6400
这是分别在121,1225,6400`距离下`连接的骨骼文件路径`其中的60字节不包括这3
个数字。
1
8scotland(苏格兰使用的纹理)
75unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_e
73unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_e
48unit_sprites/scotland_Noble_Swordsmen_(远景模型,会引发“鬼兵”问题)
1
8scotland
68unit_models/AttachmentSets/FinalSpecialHeads_scotland_e(脸的模型)
68unit_models/AttachmentSets/FinalSpecialHeads_scotland_e0(衣服模型,
这就是为啥你见到中2里士兵不一的样)
1
4None(无座骑)
19MTW2_Slow_Swordsman0
2
18MTW2_Sword_Primary
14fs_test_shield0(使用的装备与攻击类型)
16-0.-0.349999990.800000010.60000002
(重点注释:该修改很麻烦,如果机子不好或者不是很需要的朋友不要随意修改,会跳的)
关于如何修改将领卫队和卫队是农民问题
首先修改兵种属性文件:
以条顿骑士为例
复制整段条顿骑士的数据在最底下新起
typejiang(对应名,别和原来的Ritterbruder就行了,不然跳)
dictionaryRitterbruder;Ritterbr黡er
categorycavalry
classheavy
voice_typeHeavy
bannerfactionmain_cavalry
soldierRitterbruder,32,0,20
mountarmouredhorse
mount_effectelephant-4,camel-4
attributessea_faring,hide_forest,can_formed_charge,frighten_foot,general_unit,(可做
将军单位)very_hardy
formation2,4.4,3,6,2,square
stat_health5,1
stat_pri20,12,no,0,0,melee,melee_blade,piercing,spear,25,1,area
;stat_pri_ex0,0,0
stat_pri_attrap
stat_sec50,3,no,0,0,melee,melee_blade,piercing,sword,25,1
;stat_sec_ex0,0,0
stat_sec_attrarea,launching,ap
stat_pri_armour10,10,10,metal
;stat_armour_ex7,9,0,0,5,8,8,metal
stat_sec_armour0,0,flesh
stat_heat8
stat_ground0,0,0,2
stat_mental20,normal,trained
stat_charge_dist35
stat_fire_delay0
stat_food60,300
stat_cost1,10,0,85,205,970,2,290
armour_ug_levels5,6
armour_ug_modelsRitterbruder_ug1
ownershipteutonic_order
era0teutonic_order
era1teutonic_order
era2teutonic_order
;unit_info11,0,20
recruit_priority_offset90
向上面那样修改,你就有了一个可做将领卫队的条顿骑士
然后打开MedievalIITotal
Warmodsteutonicdataworldmapscampaignimperial_campaign里的descr_strat文件
以开局总团长为例
characterGunther(将领名:总团长贡特尔)vonSchwarzenburg,namedcharacter,male,
leader,age45,battle_modelTeutonic_Hochmeister,x60,y36
traitsFactionleader1,GoodCommander2,PublicFaith1,BattleChivalry4,ReligionStarter
1
****
unitjiang(这是总团长将领卫队,注意要有general_unit的才能做将领卫队)exp9
armour0weapon_lvl0
unitRitterbruder(我自己改的,是总团长开局带的兵)exp9armour0weapon_lvl0
unitRitterbruderexp9armour0weapon_lvl0
unitRitterbruderexp9armour0weapon_lvl0
unitDismountedRitterbruderexp9armour0weapon_lvl0
unitDismountedRitterbruderexp9armour0weapon_lvl0
unitDismountedRitterbruderexp9armour0weapon_lvl0
unitDismountedRitterbruderexp9armour0weapon_lvl0
unitnuexp9armour0weapon_lvl0
unitnuexp9armour0weapon_lvl0
unitnuexp9armour0weapon_lvl0
unitnuexp9armour0weapon_lvl0
unitLivonianAuxiliariesexp9armour0weapon_lvl0
unitLivonianAuxiliariesexp9armour0weapon_lvl0
unitLivonianAuxiliariesexp9armour0weapon_lvl0
unitLivonianAuxiliariesexp9armour0weapon_lvl0
unitLivonianAuxiliariesexp9armour0weapon_lvl0
unitLivonianAuxiliariesexp9armour0weapon_lvl0
unitLivonianAuxiliariesexp9armour0weapon_lvl0
unitLivonianAuxiliariesexp9armour0weapon_lvl0
修改早期将领卫队为其它兵种时原来的那个国家所属的所有将领卫队单位要去掉或改
为该国家不可用,也就是该国除了这一对将领卫队外没其它有可做该国将领卫队的属性,
那么以后招将领时就是这种兵作为将领卫队了
如何修改易北河的BT型骑兵:
拿条顿精英骑士为例,原数据
typeRitterbruder
dictionaryRitterbruder;Ritterbr黡er
categorycavalry
classheavy
voice_typeHeavy
bannerfactionmain_cavalry
soldierRitterbruder,24,0,1
mountbardedhorse
mount_effectelephant-4,camel-4
attributessea_faring,hide_forest,can_withdraw,can_formed_charge,frighten_foot
formation2,4.4,3,6,2,square
stat_health1,0
stat_pri11,7,no,0,0,melee,melee_blade,piercing,spear,25,1
;stat_pri_ex0,0,0
stat_pri_attrno
stat_sec12,3,no,0,0,melee,melee_blade,piercing,sword,25,1
;stat_sec_ex0,0,0
stat_sec_attrno
stat_pri_armour7,5,8,metal
;stat_armour_ex7,9,0,0,5,8,8,metal
stat_sec_armour0,0,flesh
stat_heat8
stat_ground0,0,0,2
stat_mental11,impetuous,highly_trained
stat_charge_dist45
stat_fire_delay0
stat_food60,300
stat_cost1,970,240,85,205,970,2,290
armour_ug_levels5,6
armour_ug_modelsRitterbruder,Ritterbruder_ug1
ownershipteutonic_order
era0teutonic_order
era1teutonic_order
era2teutonic_order
;unit_info11,0,20
recruit_priority_offset90
修改后:
typeRitterbruder
dictionaryRitterbruder;Ritterbr黡er
categorycavalry
classheavy
voice_typeHeavy
bannerfactionmain_cavalry
soldierRitterbruder,24,0,20(这个1和20代表骑士的穿透能力,直冲到最后一排.)
mountbardedhorse
mount_effectelephant-4,camel-4
attributessea_faring,hide_forest,can_withdraw,can_formed_charge,frighten_foot
formation2,4.4,3,6,2,square
stat_health1,0
stat_pri11,12(加强冲锋威力),no,0,0,melee,melee_blade,piercing,spear,25,1,area(拥有
贱踏效果)
;stat_pri_ex0,0,0
stat_pri_attrno
stat_sec12,3,no,0,0,melee,melee_blade,piercing,sword,25,1
;stat_sec_ex0,0,0
stat_sec_attrno
stat_pri_armour7,5,8,metal
;stat_armour_ex7,9,0,0,5,8,8,metal
stat_sec_armour0,0,flesh
stat_heat8
stat_ground0,0,0,2
stat_mental11,impetuous,highly_trained
stat_charge_dist45
stat_fire_delay0
stat_food60,300
stat_cost1,970,240,85,205,970,2,290
armour_ug_levels5,6
armour_ug_modelsRitterbruder,Ritterbruder_ug1
ownershipteutonic_order
era0teutonic_order
era1teutonic_order
era2teutonic_order
;unit_info11,0,20
recruit_priority_offset90
下面是座骑的修改,打开descr_文件:
条顿骑的马是bardedhorse
找到原数据:
typebardedhorse
classhorse
modelMount_Barded_Horse
radius1.8
x_radius0.8
y_offset0.7
height2.5
mass3.5
banner_height0
bouyancy_offset1.8
water_trail_effecthorse_water_trail
root_node_height1.0
;rider_offset0.0,0.45,0.35
rider_offset0.0,0.38,0.70
修改后:
typebardedhorse
classhorse
modelMount_Barded_Horse
radius1.45
x_radius0.8
y_offset3
height2.5
mass40
banner_height0
bouyancy_offset1.8
water_trail_effecthorse_water_trail
root_node_height1.0
;rider_offset0.0,0.45,0.35
rider_offset0.0,0.38,0.70
E文解释:
radius:代表马的盔甲,数据越低,骑兵就越难死,灵活度加大,能让骑兵更容易从冲锋后的阵
里脱出来,越大的话冲锋效果越强
x_radius:骑兵的间隔,也是易北河骑兵间隔大的原因
y_offset:冲破阵的幅度
mass:冲撞的效果,贱踏效果,令你的骑兵拥有大象的贱踏.
远射武器列表:
弓箭arrow
火箭arrow_fiery
弩兵steel_crossbow_bolt
弩炮ballista
拿法nahptha_bomb
龙骑pistol_bullet
火枪musket_bullet
风琴炮ribault_shot
管炮monster_ribault_shot
火箭rocket
枪象arquebus_bullet
炮象elephant_cannon_shot
火箭战象elephant_rocket5
mortar炮mortar_shot
攻城炮bombard_shot
蜥炮culverin_shot
蛇炮basilisk_shot
加农炮serpentine_shot
射石炮grand_bombard_shot
巨炮monster_bombard_shot
抛石车catapult(抛射)
抛石器trebuchet(抛射,可燃)
exploding_culverin_shot开花弹(蜥炮)
exploding_basilisk_shot开花弹(蛇炮)
exploding_cannon_shot开花弹(加农炮)
flaming_grand_bombard_shot燃烧弹(攻城炮)
flaming_bombard_shot燃烧弹(攻城炮)
fiery_norman_catapult燃烧弹
仅做参考
关于如何添加兵牌,打开MedievalIITotalWardata
在里面新建个ui文件夹,再在里面新建unit_info文件夹(大兵牌)和units文件夹(小兵
牌)
然后按比例小兵牌48乘64,大兵牌191乘280.找到图大兵牌改名为兵种属性文件
dictionary里对应的名
如typeGrandMasterUlrich
dictionaryGrand_Master_Ulrich;GrandMasterUlrich
要改一下,如下:
typeGrandMasterUlrich
dictionaryshenluo(别对应原来就行了);GrandMasterUlrich
找到想做兵牌的图,改名为shenluo_info的tga图片放到unit_info里,这个是神罗的兵,所
以还要在unit_info里新建个
hre(代表神罗引用)的文件夹,把图放hre里.
小贴图也按照上面一样,名改为#shenluo,然后tga格式放units里新建的hre文件夹里
再注意一个,如何你dictionary起的名是shen(空格)luo那么要加_,如shen_luo
贴图也要对应dictionary
下面是蒙古的强化和贴贴的(贴贴的对照蒙古的行了)
打开MedievalIITotalWardataworldmapscampaignimperial_campaign文件里的
campaign_script文件:
;;;MONGOLINVASION1SCRIPT
spawn_****
factionmongols
characterJebe,(将领名)namedcharacter,age30(出现时的年龄),x292,(横座标)y
166,(纵座标)family;command8,dread9,loyalty7,piety1
traitsEasternWarlord3,GoodCommander2,Bloodthirsty2,BattleDread4,
StrategyDread2,PublicFaith1,Loyal2,ContentGeneral3;command8,dread9,loyalty7,
piety1(全是属性)
unitMongolBodyguard(第一队将领卫队)exp6armour0weapon_lvl0
unitMongolInfantryexp6armour0weapon_lvl0(下面的分别是对应带的人马)
unitMongolInfantryexp6armour0weapon_lvl0
unitMongolInfantryexp6armour0weapon_lvl0
unitMongolInfantryexp6armour0weapon_lvl0
unitDismountedLightLancersexp3armour0weapon_lvl0
unitDismountedLightLancersexp3armour0weapon_lvl0
unitDismountedHeavyLancersexp3armour0weapon_lvl0
unitDismountedHeavyLancersexp6armour0weapon_lvl0
unitDismountedHeavyArchersexp3armour0weapon_lvl0
unitDismountedHeavyArchersexp3armour0weapon_lvl0
unitMongolFootArchersexp6armour0weapon_lvl0
unitMongolFootArchersexp3armour0weapon_lvl0
unitMongolHeavyLancersexp6armour0weapon_lvl0
unitMongolHeavyLancersexp6armour0weapon_lvl0
unitMongolLightLancersexp6armour0weapon_lvl0
unitMongolLightLancersexp3armour0weapon_lvl0
unitMongolHeavyLancersexp3armour0weapon_lvl0
unitMongolHeavyLancersexp3armour0weapon_lvl0
unitMongolHeavyArchersexp3armour0weapon_lvl0
unitMongolHeavyArchersexp3armour0weapon_lvl0
end
spawn_****
factionmongols
characterAradai,namedcharacter,age22,x290,y168,family;command6,dread7,
loyalty7,piety1
traitsEasternWarlord2,Anger3,BattleDread2,StrategyDread2,PublicFaith1,Loyal
2,ContentGeneral3;command6,dread7,loyalty7,piety1
unitMongolBodyguardexp6armour0weapon_lvl0
unitMongolInfantryexp6armour0weapon_lvl0
unitMongolInfantryexp3armour0weapon_lvl0
unitMongolInfantryexp3armour0weapon_lvl0
unitDismountedLightLancersexp3armour0weapon_lvl0
unitDismountedLightLancersexp3armour0weapon_lvl0
unitMongolFootArchersexp6armour0weapon_lvl0
unitMongolFootArchersexp6armour0weapon_lvl0
unitMongolFootArchersexp3armour0weapon_lvl0
unitMongolHeavyArchersexp3armour0weapon_lvl0
unitMongolHeavyArchersexp3armour0weapon_lvl0
unitMongolHeavyLancersexp6armour0weapon_lvl0
unitMongolHeavyLancersexp6armour0weapon_lvl0
unitMongolLightLancersexp3armour0weapon_lvl0
unitMongolLightLancersexp3armour0weapon_lvl0
unitMongolHorseArchersexp3armour0weapon_lvl0
unitMongolHorseArchersexp6armour0weapon_lvl0
unitMongolHorseArchersexp6armour0weapon_lvl0
end
spawn_****
factionmongols
characterBayan,namedcharacter,age21,x292,y162,family;command6,dread7,
loyalty7,piety1
traitsEasternWarlord2,Anger3,BattleDread2,StrategyDread2,PublicFaith1,Loyal2,
ContentGeneral3;command6,dread7,loyalty7,piety1
unitMongolBodyguardexp6armour0weapon_lvl0
unitMongolInfantryexp6armour0weapon_lvl0
unitMongolInfantryexp6armour0weapon_lvl0
unitMongolInfantryexp0armour0weapon_lvl0
unitMongolFootArchersexp6armour0weapon_lvl0
unitMongolFootArchersexp6armour0weapon_lvl0
unitMongolFootArchersexp0armour0weapon_lvl0
unitDismountedLightLancersexp3armour0weapon_lvl0
unitDismountedLightLancersexp3armour0weapon_lvl0
unitDismountedLightLancersexp3armour0weapon_lvl0
unitDismountedLightLancersexp3armour0weapon_lvl0
unitMongolHeavyArchersexp6armour0weapon_lvl0
unitMongolHeavyArchersexp3armour0weapon_lvl0
unitMongolHeavyLancersexp3armour0weapon_lvl0
unitMongolHeavyLancersexp6armour0weapon_lvl0
unitMongolLightLancersexp6armour0weapon_lvl0
unitMongolHorseArchersexp3armour0weapon_lvl0
unitMongolHorseArchersexp3armour0weapon_lvl0
unitMongolHorseArchersexp3armour0weapon_lvl0
unitMongolHorseArchersexp3armour0weapon_lvl0
end(全部同上!)
;;;movethemtolocationoffirstinvasion
ifI_CompareCountermongols_sarkel=1
reposition_characterJebe,280,136(Jebe出现的第1个随机点)
reposition_characterAradai,277,133(Aradai出现的第1个随机点)
reposition_characterBayan,278,131(Bayan出现的第1个随机点)
end_if
ifI_CompareCountermongols_yerevan=1
reposition_characterJebe,291,109(Jebe出现的第2个随机点)
reposition_characterAradai,289,108(Aradai出现的第2个随机点)
reposition_characterBayan,291,107(Bayan出现的第2个随机点)
end_if
ifI_CompareCountermongols_baghdad=1
reposition_characterJebe,292,58(Jebe出现的第3个随机点)
reposition_characterAradai,290,60(Aradai出现的第3个随机点)
reposition_characterBayan,293,63(Bayan出现的第3个随机点)
如果你想修改出的军队数,就把原数据复制一次,贴在第1至3波随便一波的里面,注意要
修改座标,否则跳(不用在意将领,他会重复出现同一个将领的)
还有蒙古出现的历史事件是和回合有很大关系的,你如果把年数设成1回合1年的话会跳
的
蒙古加强这个也是个很容易出错的东西,我在游侠看了一些修改蒙古时出现问题贴,很多
是莫名其妙的跳出,而且是按教程修改的,可是有的人成功有的失败.所以建议别自己修改,
打补丁吧
关于如何修改出步行哥特骑士:(以及自己想出的兵)
拿马安作代表:
MedievalIITotalWardata里的export_descr_buildings文件:
找到马安的数据:
buildingequestrian
{
levelsstablesknights_stablesbarons_stablesearls_stableskings_stables
{
stablescastlerequiresfactions{northern_european,middle_eastern,eastern_european,
greek,southern_european,}
{
capability
{
recruit_pool\"Hobilars\"10.540requiresfactions{england,}
recruit_pool\"BorderHorse\"10.540requiresfactions{scotland,}
recruit_pool\"MountedSergeants\"10.540requiresfactions{france,hre,milan,
venice,papal_states,sicily,}
recruit_pool\"Scouts\"10.540requiresfactions{denmark,}
recruit_pool\"Jinetes\"10.540requiresfactions{spain,portugal,}
recruit_pool\"PolishShooters\"10.540requiresfactions{poland,}
recruit_pool\"Kazaks\"10.540requiresfactions{russia,}
recruit_pool\"MagyarCavalry\"10.540requiresfactions{hungary,}
recruit_pool\"Skythikon\"10.540requiresfactions{byzantium,}
recruit_pool\"AztecPeasants\"1190requiresfactions{aztecs,}
recruit_pool\"AztecSpearmen\"10.760requiresfactions{aztecs,}
recruit_pool\"AztecArchers\"10.760requiresfactions{aztecs,}
recruit_pool\"AztecSpearThrowers\"10.760requiresfactions{aztecs,}
recruit_pool\"AztecWarriors\"10.760requiresfactions{aztecs,}
recruit_pool\"JaguarWarriors\"10.430requiresfactions{aztecs,}
recruit_pool\"EagleWarriors\"10.430requiresfactions{aztecs,}
recruit_pool\"Cuahchiqueh\"10.430requiresfactions{aztecs,}
recruit_pool\"CoyotePriests\"10.430requiresfactions{aztecs,}
recruit_pool\"ArrowWarriors\"10.430requiresfactions{aztecs,}
recruit_pool\"DesertCavalry\"10.540requiresfactions{moors,egypt,}
recruit_pool\"TurkishHorseArchers\"10.540requiresfactions{turks,
timurids,}
recruit_pool\"MongolHorseArchers\"10.540requiresfactions{mongols,}
recruit_pool\"MailedKnights\"10.540requiresfactions{Normans,}
}
materialwooden
construction2
cost1200
settlement_mintown
upgrades
{
knights_stables
}
在:
recruit_pool\"TurkishHorseArchers\"10.540requiresfactions{turks,
timurids,}
recruit_pool\"MongolHorseArchers\"10.540requiresfactions{mongols,}
recruit_pool\"MailedKnights\"10.540requiresfactions{Normans,}
下面新加
例:
recruit_pool\"TurkishHorseArchers\"10.540requiresfactions{turks,
timurids,}
recruit_pool\"MongolHorseArchers\"10.540requiresfactions{mongols,}
recruit_pool\"MailedKnights\"10.540requiresfactions{Normans,}
recruit_pool\"DismountedGothicKnights\"(你要出的兵的名)5(可招数)0.2(补充
率)29(经验)requiresfactions{hre,}(该兵对应的国家)
这样就帝国会战里神罗的马安就能出步行哥特了
补充文件的解释
[audio]音频
enable=1启动
master_vol=100主控音量
music_vol=66音乐音量
provider=MilesFast2DPositionalAudio音频驱动
sfx_vol=100声效音量
speech_enable=1语音启动开关
speech_vol=100语音音量
sub_faction_accents=1
[camera]摄像机
default_in_battle=rts战役默认视角
move=59移动速度
restrict=0限制视角
rotate=61旋转速度
[controls]
campaign_scroll_max_zoom=30战略画面放大画面速度
campaign_scroll_min_zoom=30战略画面缩小画面速度
keyset=0自定义快捷键
[game]游戏
advanced_stats_always=0总是显示顾问
advisor_verbosity=0顾问的帮助等级
ai_factions=skip电脑派系(略过)
allusers=1
auto_save=0自动保存
blind_advisor=0禁止顾问
campaign_map_game_speed=99战略画面时单位移动的速度
campaign_map_speed_up=0加速战略画面时单位的速度
campaign_num_time_play=248游戏时间
chat_msg_duration=10000聊天发言段数
disable_arrow_markers=1关闭战斗时单位脚下的箭头标记
disable_events=0关闭战略画面的事件
english=0
event_cutscenes=1战略画面发生事件时,出现事件画面
fatigue=1真实疲劳模式
first_time_play=0第一次游戏
label_characters=0人物标签
label_settlements=1城市标签
micromanage_all_settlements=1是否手动控制所有城市
morale=1真实士气模式
mute_advisor=0无顾问
no_campaign_battle_time_limit=1无战役时间限制
pref_factions_played=15
tutorial_battle_played=1指南战役
tutorial_path=norman_prologue/battle_of_hastings
unit_size=large部队单位大小
use_quickchat=0使用聊天
[multiplayer]多人模式
hotseat_autoresolve_battles=0
hotseat_disable_console=1
hotseat_disable_papal_elections=0
hotseat_save_prefs=0
hotseat_update_ai_camera=0
hotseat_validate_diplomacy=1
[network]
use_ip=
use_port=27750
[ui]
SA_cards=show半自动显示
buttons=show按钮显示
full_battle_HUD=0
radar=show雷达显示
show_tooltips=1情报显示
unit_cards=show兵牌显示
[video]视频
anisotropic_level=2各向异性级别
anti_alias_mode=off
antialiasing=0抗锯齿
assassination_movies=1暗杀动画
autodetect=0自动探测
battle_resolution=1024768战役分辨力
bloom=1光晕效果
building_detail=low建筑物细节
campaign_resolution=1024768战略分辨力
depth_shadows=0阴影
depth_shadows_resolution=0阴影清晰度
effect_quality=normal效果品质
event_movies=1事件影片
gamma=134灰度系数
grass_distance=0草地可视距离
infiltration_movies=1潜入影片
no_background_fmv=0无背景动态影像
reflection=0反射
sabotage_movies=1破坏设施影片
shader=2就是那个version1/version2两种效果模式
show_banners=1显示旗帜
show_package_litter=0
skip_mip_levels=1
splashes=1溅射
stencil_shadows=0模板阴影(如建筑)
subtitles=1字幕
terrain_quality=custom地形精细度
texture_filtering=1品质过滤
unit_detail=high部队细节
vegetation=1植物
vegetation_quality=high植物精细度
vsync=1垂直同步
widescreen=0宽频
在widescreen=0下面新起个windowed=1,则为窗口化
要永久窗口化添加了windowed=1后把文件改为只读