中世纪2全面战争完整修改_第1页
中世纪2全面战争完整修改_第2页
中世纪2全面战争完整修改_第3页
中世纪2全面战争完整修改_第4页
中世纪2全面战争完整修改_第5页
已阅读5页,还剩20页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

首先从兵种文件说起.export_descr_unit文件以封建骑士为例:type FeudalKnights(建筑文件对应出的名)dictionary Feudal_Knights(汉化,贴图对应的名) ;FeudalKnights(注释,简介出的名)category cavalry(兵种类型:如步兵,骑兵)class heavy(兵的类型)voice_type Heavy(兵的响声)bannerfaction main_cavalry(兵种旗帜)bannerholy crusade_cavalry(加入十字或圣战后的旗帜)soldier Feudal_Knights,(兵种骨骼)32,(兵种数量,公式:32除2乘5)0(人马合一),1(冲锋的穿透能力,简言之是冲锋时间)mount bardedhorse(骑的座骑)mount_effect elephant-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_pri 10(冲锋伤害),6(冲锋加乘),no(远程武器名),0(射程),0(弹药),melee(交战类型),melee_blade(武器类型),piercing(武器声音),spear(武器类型),25(动作时间),1(武器切换速度);stat_pri_ex0,0,0(武器升级变化)stat_pri_attr no(是否破甲)stat_sec 11(近战肉搏伤害),4(冲锋加乘),no,0,0,melee,melee_blade,piercing,sword,25,1(下面的同上);stat_sec_ex0,0,0(副武器升级变化)stat_sec_attr no(是否破甲)stat_pri_armour7(甲防),5(计防),4(盾防),metal;stat_armour_ex7,&0,0,5,4,4,metal(防御升级变化)stat_sec_armour0,0,flesh(座骑防御变化)stat_heat 5(劳累速度,数据越大累的越快)stat_ground 0(灌木丛能力加乘),-2(沙漠能力加乘),-4(森林能力加乘),0(雪地能力加乘0stat_mental 9,(士气)impetuous,(纪律)trained(训练)stat_charge_dist45(冲锋的码数,进入多少距离开使冲锋)stat_fire_delay0(部队整队时间)stat_food60,300stat_cost 1(造兵回合),730(会战里买的钱),250(会战里维护费),120(升级武器费),95(升级盔甲费),730(自定义战役费用),4(多于几队开始罚钱),180(罚钱的多少)armour_ug_levels3,4(盔甲升级要求铁匠等级)armour_ug_modelsFeudal_Knights,(无盔甲升级时第1个模形)Feudal_Knights_ugl(升了一点防后的模形)ownershipengland,scotland,france,hre,denmark,spain,portugal,milan,venice,

hungary(哪国在papal_states,hungary,slave(hungary(哪国在era0 england,france,hre,denmark,spain,portugal,milan,venice,哪个时期有,era0为初期;era1为中期;era2为后期)era1 scotland(同上);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 威尼斯可以添加新势力endunlockable(游戏通关后选择势力)sicily西西里milan米兰scotland苏格兰byzantium 拜占庭russia俄罗斯moors摩尔turks土耳其egypt埃及denmark丹麦portugal葡萄牙poland波兰hungary匈牙利endnonplayable(不可以选择势力)papalstates(教皇国)aztecs阿兹特克mongols蒙古timurids帖木儿slave叛军endstart_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(叛军专用)denari 8000(起始势力金钱数,可以更改数量,注意防止腐败)denari_kings_purse 1500(起始国王金库)settlement城市)(可以改为城堡,不过注意城堡和城市建筑物单词有区别,下面有明细){level(级别)large_town(城市,可以更改级别)region(区域)Paris(巴黎)—Province(省)year_founded(建立年代)0population3800(人口数,可以改动)plan_setdefault_setfaction_creator(起始派另U)france(法国)building(建筑){type(类型)core_building(城市城墙)wooden_wall(木墙,可以更改级别)}building{type(类型)barracks(城市兵营)town_guard(民兵军营,可以更改级别)}building{type(添加新的建筑物名称)(添加新的建筑物级别)}}settlementcastle(城堡)(可以改为城市,不过注意城堡和城市建筑物单词有区别,下面有明细){level(级别)town(木堡,可以更改级别)region(区域)Angers(昂热)_Province(省)year_founded(建立年代)0population1800(人口数,可以改动)plan_setdefault_setfaction_creator(起始派另U)france(法国)building{type(类型)core_castle_building(城堡)wooden_castle(木堡)}building{type(类型)equestrian(城堡马厩)stables(马厩)

}building{type(添加新的建筑物名称)(添加新的建筑物级别)}}character(描述) Philip(将军名),namedcharacter(只有家族成员需要),male(男性),leader(领袖),age(年龄)40,x(横向坐标)113,y(竖向坐标)131traits(属性)Factionleader(派系领袖)1(级别),GoodCommander(优秀指挥官)2(级别),Intelligent聪明)2(级别),添加新属性级别(注意格式)ancillaries(随从)holy_grail(圣杯),chevalier_de_bayard(巴亚尔骑士),添加新的随从(随从最多8个,注意格式)exp9(经验值)exp9(经验值)armour3(盔甲级)exp6(经验值)armour0(盔甲级)exp0(经验值)armour0(盔甲级)exp0(经验值)armour0(盔甲级)unit(单位) NEBodyguard(早期将军卫队)weapon_lvl3(武器级)unit(单位) PeasantArchers(平民弓箭手)weapon_lvl0(武器级)unit(单位) SpearMilitia(长矛民兵)weapon_lvl0(武器级)unit(单位) SpearMilitia(长矛民兵)weapon_lvl0(武器级)unit 添加新兵种(每个将军带队数上限20支) expXarmourXweapon_lvlarmyunitunitunitunitunitXcharacter Pierre(将军名),general(一般),male,age20,x121,armyunitunitunitunitunitXGendarmes(宪兵骑士) exp5armour1weapon_lvl1FrenchMountedArchers(法兰西弓骑兵) exp4armour1weapon_lvl0ScotsGuard(苏格兰卫队) exp4armour0weapon_lvl0Aventurier(冒险者弩兵) exp4armour0weapon_lvl0添加新兵种(每个将军带队数上限20支) expXarmourXweapon_lvlcharacter GuillemotdeLyon(将军名),admiral(海军),male,age20,x113,y99traits(属性)Sailor(传奇海军将领)5(级别)armyunitunitunitXancillaries(随从)shipwright(船舶工匠),naval_gunner(战舰炮长),naval_navigator(可靠导航员armyunitunitunitXcarrack(卡拉克战舰) exp7armour3weapon_lvl3carrack(卡拉克战舰) exp7armour3weapon_lvl3添加新船只(每个将军带队数上限20支) expXarmourXweapon_lvlcharacterEtienneTristram,priest(主教),male,age20,x101,y115traits(属性)NaturalPriestSkill(自然教士技巧)3,添加新属性,注意格式ancillaries(随从)witch_hunter(女巫猎人),royal_seminarian(皇家神学家),添加新随从,最多8个,注意格式characterAubertFebre,spy(间谍),male,age20,x122,y120traits(属性)GoodSpy5,添加新属性,注意格式ancillaries(随从)spyglass,添加新随从,最多8个,注意格式characterAubertFebre,assassin(刺客),male,age20,x122,y120traits(属性)GoodAssassin5,添加新属性,注意格式ancillaries(随从)accomplice,添加新随从,最多8个,注意格式characterRainaldErlach,diplomat(外卜交官),male,age20,x11&y120traits(属性)GoodDiplomat5,添加新属性,注意格式ancillaries(随从)translator,添加新随从,最多8个,注意格式characterPedroDescriua,merchant(商人),male,age20,x111,y120traits(属性)GoodMerchant4,添加新属性,注意格式ancillaries(随从)trick_abacus,添加新随从,最多8个,注意格式character Constance,princess(公主),female(女性),age19,x112,y131traits(属性)IAmPrincess1,添加新属性,注意格式ancillaries(随从)strapping_stallion,添加新随从,最多8个,注意格式character_record(家族描述) Michiel(名字), male(男性),age(年龄)2,alive(存活),never_a_leader(这里指未成年)character_record Henry(名字),male(男性),age(年龄)1,alive(存活),never_a_leader(这里指未成年)character_record BertradadeMontfort(名字), female(女性),age(年龄)52,alive(存活),never_a_leader(这里指皇后)relative Philip, Bertrada deMontfort, Louis,Constance,Michiel,Henry, end(这行意思按家族年龄顺序排列)(如果你想你的王室成员游戏一开始就成年且满属性,把家族描述这个人的一行去掉,在将军上面另起一行,格式按上面介绍的添加,例如:想让Henry亨利一开始就16岁,格式如下:)注意:年龄必须按顺序排列好,也就是你把小儿子搞成年了,而他的哥哥才2岁;方法把最后年龄排序上调过来即可.或哥哥也成年岁数>16岁.characterHenry,namedcharacter,male,age16,x114,y133traits添加属性ancillaries添加随从armyunitNEBodyguard exp9armour3weapon_lvl3;>>>>startofdiplomacysection<<<<faction_standings(派别) england,(国家) -0.2france,scotlandfaction_standingsengland,-1.0slavefaction_standingsscotland,-0.2englandfaction_standingsscotland,0.2francefaction_standingsscotland,-1.0slavefaction_standingsfrance,-0.2england(每回合对英格兰卜交度下降0.2)faction_standingsfrance,0.2scotland(每回合对苏格兰外交度增加0.2)faction_standingsfrance,-1.0slavefaction_standingsvenice,-0.2byzantiumfaction_standingsfaction_standingsvenice, -0.45 milan,hrevenice, -1.0 slave(以上指每回合所属国家对相对国家的外交度,负数为下降)faction_relationshipsfaction_relationshipsengland, at_war_with slavefrance,at_war_with slave(叛军)接着是令一个重要文件/data/export_descr_buildings(不用重开档)wooden_wallcityrequiresfactions{northern_european,mesoamerican,middle_eastern,eastern_european,greek,southern_european,}{(括号里为可造派系,如北欧,中东,东欧,希腊,南欧,对叛军出兵重要)convert_to2capability{recruit_pool"Conquistadores"(出兵名字,对应dictionary) 1(可出数) 0.4(每回合补充率)30(经验)requiresfactions{spain,portugal,}(可出国家)andhidden_resourceamericarecruit_pool"DismountedConquistadores"1 0.4 30requiresfactions{spain,portugal,}andhidden_resourceamericarecruit_pool"TownMilitia"1 0.2 2 0requiresfactions{england,scotland,france,hre,denmark,spain,portugal,Normans,}recruit_pool"ItalianMilitia"1 0.2 20requiresfactions{milan,venice,papal_states,sicily,}happiness_bonusbonus1()recruitment_slots9(一回合造9个格的兵)}materialwoodenconstruction1(建筑建造所需回合)cost1200 (所需金钱)settlement_mintownupgrades公会修改:/data/export_descr_guilds文件Guildassassins_guild(名称刺客公会)buildingguild_assassins_guild(建筑刺客公会)levels100250500levels代表公会分3次升级要求的点数,把数字分别改小就可以降低难度了.如全部公会改小则体现不出你想要公会的出现率.data/world/maps/campaign/imperial_campaign/descr_mercenaries(雇佣兵文件)poolEgypt(地区名:埃及)

regionsAlexandria_ProvinceCairo_ProvinceGaza_Provinceunitmercgalley,exp0(经验值)cost200(买所需金钱)replenish0.36-1.0(每回合补充率)max2initial1religions{islam}(派系)crusadingunitmercgalley,exp0cost1040replenish0.06-0.18max1initial1unitBedouinCavalryexp0cost630replenish0.04-0.13max2initial1religions{islam}unitGhazisexp0cost100replenish0.18-0.5max6initial1religions{islam}crusadingunitMutatawwi'aexp0cost60replenish0.08-0.25max4initial1religions{islam}crusadingunitTurkomansMercsexp0cost740replenish0.04-0.13max2initial1religions{islam}unitSudaneseTribesmenMercsexp0cost440replenish0.04-0.13max2initial1/data/export_descr_ancillaries(随从文件)Ancillaryadultress(随从情妇)TypeSex(类型性)Transferable1(这里1代表可以把随从转让别人0代表不可以)Imagesex_expensivewoman.tga(图片引用)ExcludeCulturesmiddle_eastern(排除派系中东)Descriptionadultress_desc(描述引用)EffectsDescriptionadultress_effects_descEffectChivalry-1 (骑士美德-1)EffectPiety-1 (虔诚-1)(情妇触发条件)(时间为回合结束)(条件待在城里)

((情妇触发条件)(时间为回合结束)(条件待在城里)

(移动力满)Triggeradultress_vnv_triggerWhenToTestCharacterTurnEndConditionEndedInSettlementandRemainingMPPercentage=100(状态一般)(已婚)(老婆的属性魅力<3)(骑士美德(状态一般)(已婚)(老婆的属性魅力<3)(骑士美德<1)100 (以上条件全部满足后触发几率为andIsMarriedandSpouseAttributeCharm<3andAttributeChivalry<1AcquireAncillaryadultresschance100)/data/export_descr_character_traits(人物属性文件)TraitGoodCommander (属性优秀指挥官)CharactersfamilyAntiTraitsBadCommander(相反属性糟糕指挥官)LevelPromising_Commander(级别优秀的指挥官)DescriptionPromising_Commander_descEffectsDescriptionPromising_Commander_effects_descGainMessagePromising_Commander_gain_descLoseMessagePromising_Commander_lose_descThreshold1EffectCommand1(属性统帅+1)LevelAspiring_Commander(级别卓越的指挥官)DescriptionAspiring_Commander_descEffectsDescriptionAspiring_Commander_effects_descGainMessageAspiring_Commander_gain_descLoseMessageAspiring_Commander_lose_descThreshold2EffectCommand2(属性统帅+2)TriggerV0090_Standard_Battle_Any_Victory_VnV_TriggerWhenToTestPostBattle(战斗时触发)ConditionIsGeneral (条件是将军)andWonBattle (赢取战斗)andBattleOdds<2.25(战前势力比小于2:2.5)AffectsGoodCommander1Chance100(满足以上条件触发优秀的指挥官几率为100,这里的1指的是该技能的等级)后代子孙成年时属性修改Triggerrandom_birth_france (特性法国派系任意发生)WhenToTestCharacterComesOfAge(发生时间为成年)ConditionFactionTypefranceAffectsHaleAndHearty2Chance100(强壮技能2级的触发几率为100)AffectsIntelligent2Chance100(聪明技能2级的触发几率为100)Affects添加新技能新技能等级Chance触发几率注意:最多不可超过10个技能,每个技能等级有限制,高出等级限制=没有此技能将军腐败修改:查找Triggercorruption1和Triggercorruption2和Triggercorruption4把andTreasury>50000,的数字改大,因为这个数字代表到达这个金钱数将军会腐败把AffectsCorrupt1Chance0 数字改为0,意思是触发这几种腐败类型的几率AffectsAesthetic1Chance0AffectsExpensiveTastes1Chance0AffectsEpicurean1Chance0AffectsEmbezzler1Chance0改成0腐败也会出现/data/descr_campaign_db(将领年龄修改)vfamily_tree>vmax_ageuint="90"/>最大年龄的岁数vmax_age_for_marriage_for_maleuint="75"/>男的最大结婚年龄vmax_age_for_marriage_for_femaleuint="40"/>女的最大结婚年龄vmax_age_before_deathuint="105"/>最长寿命的年龄vmax_age_of_childuint="10"/>10岁以下称为小孩的年龄vold_ageuint="60"/>60岁以上称为老者的年龄vage_of_manhooduint="16"/>最小有生值能力的年岭vdaughters_age_of_consentuint="16"/>公主的成年年龄vdaughters_retirement_ageuint="40"/>公主进修道院的年龄vage_difference_minint="-10"/>求婚者的最小年龄比家族未婚者小10岁vage_difference_maxint="30"/>求婚者的最小年龄比家族未婚者大30岁vparent_to_child_min_age_diffuint="12"/>相隔生最大的孩子和最小的孩子的年龄差距vmin_adoption_ageuint="20"/>最小家族人员能收养养子的年龄vmax_adoption_ageuint="30"/>最大家族人员能收养养子的年龄vmax_age_for_conceptionuint="50"/>最大的怀孕年龄vage_of_manhood_closeuint="14"/>最小有生殖能力的男性为14岁vmax_number_of_childrenuint="4"/>家族每人可生小孩的最大数为4海战修改:最小俘虏几率最大俘虏几率海战沉没几率最小俘虏几率最大俘虏几率海战沉没几率(最高100)海战逃跑几率(最低0)海战败方沉没最大几率<min_capture_percentfloat="0.0"/><max_capture_percentfloat="60.0"/><lopsided_threshfloat="1.5"/><lopsided_hn_modfloat="3.0"/><separation_missile_adduint="1"/><naval_sink_modifierfloat="85.0"/><naval_sink_offsetfloat="15.0"/><naval_sink_maxfloat="100.0"/>/data/world/maps/campaign/imperial_campaign/descr_events(历史事件修改); COREGAMEEVENT eventhistoricgunpowder_discovered火器的出现date160170(最小发生回合/最大发生回合)movieevent/gunpowder_invented.bikeventhistoricmongols_invasion_warn蒙古入侵date 128144eventhistoricworld_is_round 地球是圆的(发现美洲)date 320328把回合数改成2就会变成第二回合发生.因游戏一开始就已经为1回合,故修改时最低时间是2.注意,蒙古入侵的时间和回合数有关,注意间隔,不然会跳出.data/descr_character文件:starting_action_points 80(为所有部队行军范围,可做更改) ;defaultvalueforallcharactersandpathfindingcalculationsactionsmoving_normal,moving_quickmarch,garrison,assault,attack,besiege,entrench,ambush,diplomacy,bribe,exchange,building_fort,building_watchtowerwage_base40starting_action_points 15(家族成员移动范围,可做修改)faction venice(威尼斯)dictionary 15strat_model southern_generalbattle_modelNorthern_Generalbattle_equipgladius,chainmailshirthelmetandrectangularshield(以上为将军部队的单位行为,模型,工资,装备,哪些国家和移动力的描述.其中异教徒,女巫,审查官是不可以招募的)请参照事物官名字修改,简单的说是:type namedcharacter(将军部队)general(一般部队)spy(间谍)assassin(刺客)diplomat(外交官)admiral(海军)princess(公主)merchant(商人)priest(教士)heretic(异教徒)witch(女巫)inquisitor(审查官)wage_base100(每回合维护费)starting_action_points15(移动力)data/descr_settlement_mechanics文件:descr_settlement_mechanics.xmlSPF代表settlementpopulationfactor(解决人口因素)SOF代表settlementorderfactor(解决次序因素)SIF代表settlementincomefactor(解决收入因素)<!--city-->(城市)<levelname="village"base="400"upgrade="400"min="400"max="1500"/><levelname="town"base="400"upgrade="2000"min="400"max="3500"/><levelname="large_town"base="2000"upgrade="6000"min="400"max="9000"/><levelname="city"base="6000"upgrade="12000"min="400"max="18000"/><levelname="large_city"base="12000"upgrade="24000"min="400"max="36000"/><levelname="huge_city"base="24000"min="400"max="72000"/><!--castle-->(城堡)<levelname="moot_and_bailey"base="400"upgrade="0"min="400"max="1500"/><levelname="wooden_castle"base="400"upgrade="0"min="400"max="3500"/><levelname="castle"base="1500"upgrade="4500"min="400"max="9000"/><levelname="fortress"base="4500"upgrade="9000"min="400"max="13500"/><levelname="citadel"base="9000"upgrade="18000"min="400"max="18000"/>意思是:城市/城堡级别,升到该级需要的人口数,升到下级需要的人口数,招兵的最小人口数,城镇人口上限注意:每一级别城市或城堡的人口上限都不能低于前一级的.另外人口数大了,治安和快乐还有健康,也要做相应修改,在export_descr_buildings文件.TOC\o"1-5"\h\zdata/descr_sm_resources文件:(资源修改)gold 金 价值 20silver 银 价值 12fish 鱼 价值 5furs毛皮价值3grain谷物价值5timber木材价值6iron 钢 价值 9ivory象牙价值12wine酒价值8slaves奴隶价值8chocolate巧克力价值15marble大理石价值10textiles纺织品价值8dyes染料价值8tobacco烟草价值15silk丝绸价值12sugar糖价值10sulfur硫磺价值5tin锡价值6spices香料价值12cotton棉花价值8amber琥珀价值12coal煤价值4wool羊毛价值6elephants大象可招募camels骆驼可招募dogs狗可招募后面数字就是价值,X商人的属性=每回合产生的金钱

爆心攻击力<fiery>0</fiery></area_effect>好,下面是最重要最震撼人心的光影效果修改!descr_effect_impacts.txt文件:impacteffectexplosive_fiery_cloud_culvern{typeexplosion{;mainexplosion(爆破方式)modelmodels_effects/explosive_cloud_firey.CASsort_for_speedanim_time2.6(反应时间)max_scale 8(最大规模)max_particle_scale2.7(最大粒子规模)scale_time_bias0.9alpha_time_bias0.95;clr_adjust_by_ambient_intensity;debrisdebris_modeldebris_num_particlesdebris_lifetime_rangedebris_emit_angledebris_time_biasmodels_effects/debris_fire.casdebris_modeldebris_num_particlesdebris_lifetime_rangedebris_emit_angledebris_time_bias40(碎片,注意,烧机子!)14,60(14是碎片,60有效光影效果范围,这个最重要)90;degrees(溅射角度)debris_velocity_range12.5,6.5(溅射速度)0.1 (时间debris_velocity_range12.5,6.5(溅射速度)debris_scale_range 0.1,0.5再把远处部队的主武器射成你修改的炮就行了.下面是模型的修改battle_models.modeldb文件:22serialization::archive3000070500这个是很重要的一行,并且是很容易出错的部分。22代表“serialization::archive”这段话的字节数,自己可以数数。数字错了会跳的.3000070500这个之中最重要的'应该是705了'这个是本文件含有的单位模型数量,你每添加一个单位,这个数字就要+1以苏格兰卫队为例15noble_swordsmen1(代表只有1个国家拥有)3(指不同的视觉距离下,有3个层次的骨骼连接)60unit_models/_Units/EN_Pplate_Plate/noble_swordsmen_lod0.mesh12160unit_models/_Units/EN_Pplate_Plate/noble_swordsmen_lod1.mesh122560unit_models/_Units/EN_Pplate_Plate/noble_swordsmen_lod2.mesh6400这是分别在121,1225,6400'距离下'连接的骨骼文件路径'其中的60字节不包括这3个数字。18scotland(苏格兰使用的纹理)75unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_scotland.texture73unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture48unit_sprites/scotland_Noble_Swordsmen_sprite.spr(远景模型,会引发“鬼兵”问题)18scotland68unit_models/AttachmentSets/FinalSpecialHeads_scotland_diff.texture(脸的模型)68unit_models/AttachmentSets/FinalSpecialHeads_scotland_norm.texture0(衣服模型,这就是为啥你见到中2里士兵不一的样)14None(无座骑)19MTW2_Slow_Swordsman0218MTW2_Sword_Primary14fs_test_shield0(使用的装备与攻击类型)16-0.09000000400-0.349999990.800000010.60000002(重点注释:该修改很麻烦,如果机子不好或者不是很需要的朋友不要随意修改,会跳的)关于如何修改将领卫队和卫队是农民问题首先修改兵种属性文件:以条顿骑士为例复制整段条顿骑士的数据在最底下新起typedictionarycategoryclassvoice_typejiang(对应名,别和原来的Ritterbruder就行了,不然跳)Ritterbruder ;Ritterbr黡ercavalryheavyHeavybannerfactionmain_cavalrysoldiermountRitterbruder,32,0,20armouredhorsemount_effectelephant-4,camel-4attributes将军单位)formationstat_healthstat_prisea_faring,hide_forest,can_formed_charge,frighten_foot,general_unit(,可做very_hardy2,4.4,3,6,2,square5,120,12,no,0,0,melee,melee_blade,piercing,spear,25,1,area

;stat_pri_ex0,0,0stat_pri_attrapstat_sec 50,3,no,0,0,melee,melee_blade,piercing,sword,25,1;stat_sec_ex 0,0,0stat_sec_attrarea,launching,apstat_pri_armour10,10,10,metal;stat_armour_ex7,9,0,0,5,8,8,metalstat_sec_armour0,0,fleshstat_heat8stat_ground 0,0,0,2stat_mental20,normal,trainedstat_charge_dist35stat_fire_delay0stat_food60,300stat_cost1,10,0,85,205,970,2,290armour_ug_levels5,6armour_ug_modelsRitterbruder_ug1ownershipteutonic_orderera0 teutonic_orderera1 teutonic_orderera2 teutonic_order;unit_info11,0,20recruit_priority_offset90向上面那样修改,你就有了一个可做将领卫队的条顿骑士然后打开MedievalIITotalWar\mods\teutonic\data\world\maps\campaign\imperial_campaign里的descr_strat文件以开局总团长为例characterGunther(将领名:总团长贡特尔)vonSchwarzenburg,namedcharacter,male,leader,age45,battle_modelTeutonic_Hochmeister,x60,y36traitsFactionleader1,GoodCommander2,PublicFaith1,BattleChivalry4,ReligionStarter1****unitjiang(这是总团长将领卫队,注意要有general_unit的才能做将领卫队) exp9armour0weapon_lvl0unitunitunitunitunitunitunitunitunitunitRitterbruder(我自己改的,是总团长开局带的兵) exp9armour0weapon_lvl0unitunitunitunitunitunitunitunitunitunitRitterbruderexp9armour0weapon_lvl0Ritterbruderexp9armour0weapon_lvl0DismountedRitterbruderexp9armour0weapon_lvl0DismountedRitterbruderDismountedRitterbruderDismountedRitterbruderDismountedRitterbruderexp9armour0weapon_lvl0DismountedRitterbruderexp9armour0weapon_lvl0TOC\o"1-5"\h\znu exp9armour0weapon_lvl 0nu exp9armour0weapon_lvl 0nu exp9armour0weapon_lvl 0

nuexp9armournuexp9armour0weapon_lvl0unitunitLivonianAuxiliariesunitLivonianAuxiliariesunitLivonianAuxiliariesunitLivonianAuxiliariesunitLivonianAuxiliariesunitLivonianAuxiliariesunitLivonianAuxiliariesunitLivonianAuxiliariesexp9armour0weapon_lvl0exp9armour0weapon_lvl0exp9armour0weapon_lvl0exp9armour0weapon_lvl0exp9armour0weapon_lvl0exp9armour0weapon_lvl0exp9armour0weapon_lvl0exp9armour0weapon_lvl0修改早期将领卫队为其它兵种时原来的那个国家所属的所有将领卫队单位要去掉或改为该国家不可用,也就是该国除了这一对将领卫队外没其它有可做该国将领卫队的属性,那么以后招将领时就是这种兵作为将领卫队了如何修改易北河的BT型骑兵:拿条顿精英骑士为例,原数据typeRitterbruderdictionaryRitterbruder;Ritterbr黡ercategorycavalryclassheavyvoice_typeHeavybannerfactionmain_cavalrysoldierRitterbruder,24,0,1mountbardedhorsemount_effectelephant-4,camel-4attributessea_faring,hide_forest,can_withdraw,can_formed_charge,frighten_footformation2,4.4,3,6,2,squarestat_health1,0stat_pri11,7,no,0,0,melee,melee_blade,piercing,spear,25,1;stat_pri_ex0,0,0stat_pri_attrnostat_sec12,3,no,0,0,melee,melee_blade,piercing,sword,25,1;stat_sec_ex0,0,0stat_sec_attrnostat_pri_armour7,5,8,metal;stat_armour_ex7,9,0,0,5,8,8,metalstat_sec_armour0,0,fleshstat_heat8stat_ground0,0,0,2stat_mental11,impetuous,highly_trainedstat_charge_dist45stat_fire_delay0stat_food60,300stat_cost1,970,240,85,205,970,2,290armour_ug_levels5,6armour_ug_modelsRitterbruder,Ritterbruder_ug1ownershipteutonic_orderera0teutonic_orderera1teutonic_orderera2teutonic_order;unit_info11,0,20recruit_priority_offset90修改后:typeRitterbruderdictionaryRitterbruder;Ritterbr黡ercategorycavalryclassheavyvoice_typeHeavybannerfactionmain_cavalrysoldierRitterbruder,24,0,20(这个1和20代表骑士的穿透能力,直冲到最后一排.)mountbardedhorsemount_effectelephant-4,camel-4attributessea_faring,hide_forest,can_withdraw,can_formed_charge,frighten_footformation2,4.4,3,6,2,squarestat_health1,0stat_pri11,12(加强冲锋威力),no,0,0,melee,melee_blade,piercing,spear,25,1,area(拥有贱踏效果);stat_pri_ex0,0,0stat_pri_attrnostat_sec12,3,no,0,0,melee,melee_blade,piercing,sword,25,1;stat_sec_ex0,0,0stat_sec_attrnostat_pri_armour7,5,8,metal;stat_armour_ex7,9,0,0,5,8,8,metalstat_sec_armour0,0,fleshstat_heat8stat_ground0,0,0,2stat_mental11,impetuous,highly_trainedstat_charge_dist45stat_fire_delay0stat_food60,300stat_cost1,970,240,85,205,970,2,290armour_ug_levels5,6armour_ug_modelsRitterbruder,Ritterbruder_ug1ownershipteutonic_orderera0teutonic_orderera1teutonic_orderera2teutonic_order;unit_info11,0,20下面是座骑的修改,打开descr_mount.txt文件:条顿骑的马是bardedhorse找到原数据:typebardedhorseclasshorsemodelMount_Barded_Horseradius1.8x_radius0.8y_offset0.7height2.5mass3.5banner_height0bouyancy_offset1.8water_trail_effecthorse_water_trailroot_node_height1.0;rider_offset0.0,0.45,0.35rider_offset0.0,0.38,0.70修改后:typebardedhorseclasshorsemodelMount_Barded_Horseradius1.45x_radius0.8y_offset3height2.5mass40banner_height0bouyancy_offset1.8water_trail_effecthorse_water_trailroot_node_height1.0;rider_offset0.0,0.45,0.35rider_offset0.0,0.38,0.70E文解释: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_rocket5mortar炮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燃烧弹仅做参考关于如何添加兵牌,打开MedievalIITotalWar\data在里面新建个ui文件夹,再在里面新建unit_info文件夹(大兵牌)和units文件夹(小兵牌)然后按比例小兵牌48乘64,大兵牌191乘280.找到图大兵牌改名为兵种属性文件dictionary里对应的名如type GrandMasterUlrichdictionaryGrand_Master_Ulrich;GrandMasterUlrich要改一下,如下:type GrandMasterUlrichdictionaryshenluo(别对应原来就行了) ;GrandMasterUlrich找到想做兵牌的图,改名为shenluo_info的tga图片放到unit_info里,这个是神罗的兵,所以还要在unit_info里新建个hre(代表神罗引用)的文件夹,把图放hre里.

小贴图也按照上面一样,名改为#shenluo,然后tga格式放units里新建的hre文件夹里再注意一个,如何你dictionary起的名是shen(空格)luo那么要加—,如shen_luo贴图也要对应dictionary下面是蒙古的强化和贴贴的(贴贴的对照蒙古的行了)打开MedievalIITotalWar\data\world\maps\campaign\imperial_campaign文件里的campaign_script文件:;;;MONGOLINVASION1SCRIPTspawn_****factionmongolscharacterJebe,(将领名)namedcharacter,age30(出现时的年龄),x292,(横座标)y166,(纵座标)family;command8,dread9,loyalty7,piety1traitsEasternWarlord3,GoodCommander2,Bloodthirsty2,BattleDread4,StrategyDread2,PublicFaith1,Loyal2,ContentGeneral3;command8,dread9,loyalty7,piety1(全是属性)unitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitMongolBodyguard(第一队将领卫队)exp6armour0weapon_lvl0MongolInfantryexp6armour0weapon_lvl0(下面的分别是对应带的人马)MongolInfantryMongolInfantryunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitMongolBodyguard(第一队将领卫队)exp6armour0weapon_lvl0MongolInfantryexp6armour0weapon_lvl0(下面的分别是对应带的人马)MongolInfantryMongolInfantryMongolInfantryexp6armour0weapon_lvl0exp6armour0weapon_lvl0exp6armour0weapon_lvl0DismountedLightLancersDismountedLightLancersDismountedHeavyLancersDismountedHeavyLancersDismountedHeavyArchersDismountedHeavyArchersexp3armour0weapon_lvl0exp3armour0weapon_lvl0exp3armour0weapon_lvl0exp6armour0weapon_lvl0exp3armour0weapon_lvl0exp3armour0weapon_lvl0MongolFootArchersexp6armour0weapon_lvl0MongolFootArchersexp3armour0weapon_lvl0MongolHeavyLancersexp6armour0weapon_lvl0MongolHeavyLancersexp6armour0weapon_lvl0MongolLightLancersexp6armour0weapon_lvl0MongolLightLancersexp3armour0weapon_lvl0MongolHeavyLancersexp3armour0weapon_lvl0MongolHeavyLancersexp3armour0weapon_lvl0MongolHeavyArchersexp3armour0weapon_lvl0MongolHeavyArchersexp3armour0weapon_lvl0endspawn_****factionmongolscharacterAradai,namedcharacter,age22,x290,y168,family;command6,dread7,loyalty7,piety1traitsEasternWarlord2,Anger3,BattleDread2,StrategyDread2,PublicFaith1,Loyal2,ContentGeneral3;command6,dread7,loyalty7,piety1unitMongolBodyguardexp6armour0weapon_lvl0unitMongolInfantryexp6armour0weapon_lvl0unitMongolInfantryexp3armour0weapon_lvl0unitMongolInfantryexp3armour0weapon_lvl0unitDismountedLightLancersexp3armour0weapon_lvl0unitDismountedLightLancersexp3armour0weapon_lvl0unitMongolFootArchersexp6armour0weapon_lvl0unitMongolFootArchersexp6armour0weapon_lvl0unitMongolFootArchersexp3armour0weapon_lvl0unitMongolHeavyArchersexp3armour0weapon_lvl0unitMongolHeavyArchersexp3armour0weapon_lvl0unitMongolHeavyLancersexp6armour0weapon_lvl0unitMongolHeavyLancersexp6armour0weapon_lvl0unitMongolLightL

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论