中世紀(jì)2全面戰(zhàn)爭完整修改_第1頁
中世紀(jì)2全面戰(zhàn)爭完整修改_第2頁
中世紀(jì)2全面戰(zhàn)爭完整修改_第3頁
中世紀(jì)2全面戰(zhàn)爭完整修改_第4頁
中世紀(jì)2全面戰(zhàn)爭完整修改_第5頁
已閱讀5頁,還剩20頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)

文檔簡介

首先從兵種文件說起.export_descr_unit文件以封建騎士為例:type FeudalKnights(建筑文件對應(yīng)出的名)dictionary Feudal_Knights(漢化,貼圖對應(yīng)的名) ;FeudalKnights(注釋,簡介出的名)category cavalry(兵種類型:如步兵,騎兵)class heavy(兵的類型)voice_type Heavy(兵的響聲)bannerfaction main_cavalry(兵種旗幟)bannerholy crusade_cavalry(加入十字或圣戰(zhàn)后的旗幟)soldier Feudal_Knights,(兵種骨骼)32,(兵種數(shù)量,公式: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(遠(yuǎn)程武器名),0(射程),0(彈藥),melee(交戰(zhàn)類型),melee_blade(武器類型),piercing(武器聲音),spear(武器類型),25(動作時間),1(武器切換速度);stat_pri_ex0,0,0(武器升級變化)stat_pri_attr no(是否破甲)stat_sec 11(近戰(zhàn)肉搏傷害),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(勞累速度,數(shù)據(jù)越大累的越快)stat_ground 0(灌木叢能力加乘),-2(沙漠能力加乘),-4(森林能力加乘),0(雪地能力加乘0stat_mental 9,(士氣)impetuous,(紀(jì)律)trained(訓(xùn)練)stat_charge_dist45(沖鋒的碼數(shù),進入多少距離開使沖鋒)stat_fire_delay0(部隊整隊時間)stat_food60,300stat_cost 1(造兵回合),730(會戰(zhàn)里買的錢),250(會戰(zhàn)里維護費),120(升級武器費),95(升級盔甲費),730(自定義戰(zhàn)役費用),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(凡是前面帶;號數(shù)據(jù)無效)常用的兵種屬性:sea_faring能上船can_withdraw可以撤退mercenary_unit雇傭兵hide_forest能隱藏在森林中hide_improved_forest能良好的隱藏在森林中hide_anywhere能隱藏在任何地方hardy耐力良好very_hardy耐力極佳can_formed_charge可列隊沖鋒knight騎士free_upkeep_unit在城鎮(zhèn)中可免維護費cantabrian_circle環(huán)形射擊general_unit將軍單位general_unit_upgrade后期將軍單位gunpowder_unit有火槍裝彈動作fire_by_rank多列輪流射擊gunmen火槍手,只有第一排可以射擊guncavalry龍騎兵,只有第一排可以射擊crossbow十字弓,只有第一排可以射擊start_not_skirmishing默認(rèn)關(guān)閉自動閃避stakes可放置木樁pike超長槍frighten_mounted驚嚇馬匹frighten_foot驚嚇步兵can_run_amok會發(fā)瘋druid德魯依,增加友軍士氣artillery炮兵(武器)Ucannon加農(nóng)炮(武器)rocket火箭(武器名)mortar迫擊炮(武器)explode會爆氣kstandard軍旗部隊(加士氣)is_peasant城市免費座騎列表:fastpony(輕快速馬)heavyhorse(健壯的馬)mailedhorse天主教初期戰(zhàn)馬(如封建騎的)bardedhorse游俠戰(zhàn)馬(如俠義騎的)armouredhorse西歐鐵騎(如重裝槍騎兵騎的)easternarmouredhorse東方鐵騎(如馬路小坦克騎的)camel駱駝elephant槍象elephant_cannon炮象elephant_rocket火箭戰(zhàn)象接著是/data/world/maps/campaign/imperial_campaign/descr_strat(開局文件,最好別亂改,否則會跳,重開檔方會生效)playable(游戲開始時選擇勢力)england 英格蘭france 法蘭西hre 神圣羅馬帝國spain 西班牙venice 威尼斯可以添加新勢力endunlockable(游戲通關(guān)后選擇勢力)sicily西西里milan米蘭scotland蘇格蘭byzantium 拜占庭russia俄羅斯moors摩爾turks土耳其egypt埃及denmark丹麥portugal葡萄牙poland波蘭hungary匈牙利endnonplayable(不可以選擇勢力)papalstates(教皇國)aztecs阿茲特克mongols蒙古timurids帖木兒slave叛軍endstart_date1080summer帝國會戰(zhàn)起始時間end_date1530winter帝國會戰(zhàn)結(jié)束時間timescale0.5回合數(shù)(會影響事件發(fā)生時間,如需變動1年2回合為0.5,4回合0.25,以此類推)brigand_spawn_valueXX叛軍的出現(xiàn)幾率,數(shù)字越大幾率越低pirate_spawn_valueXX海盜的出現(xiàn)幾率,數(shù)字越大幾率越低faction(派系)france,(法國)balancedsmith(外交政策:中2外交政策甭需改動)ai_label(政策引用跟descr_campaign_ai_db文件相關(guān))catholic(寬容)default(簡單)papal_faction(教皇專用)slave_faction(叛軍專用)denari 8000(起始勢力金錢數(shù),可以更改數(shù)量,注意防止腐?。ヾenari_kings_purse 1500(起始國王金庫)settlement城市)(可以改為城堡,不過注意城堡和城市建筑物單詞有區(qū)別,下面有明細(xì)){level(級別)large_town(城市,可以更改級別)region(區(qū)域)Paris(巴黎)—Province(?。﹜ear_founded(建立年代)0population3800(人口數(shù),可以改動)plan_setdefault_setfaction_creator(起始派另U)france(法國)building(建筑){type(類型)core_building(城市城墻)wooden_wall(木墻,可以更改級別)}building{type(類型)barracks(城市兵營)town_guard(民兵軍營,可以更改級別)}building{type(添加新的建筑物名稱)(添加新的建筑物級別)}}settlementcastle(城堡)(可以改為城市,不過注意城堡和城市建筑物單詞有區(qū)別,下面有明細(xì)){level(級別)town(木堡,可以更改級別)region(區(qū)域)Angers(昂熱)_Province(省)year_founded(建立年代)0population1800(人口數(shù),可以改動)plan_setdefault_setfaction_creator(起始派另U)france(法國)building{type(類型)core_castle_building(城堡)wooden_castle(木堡)}building{type(類型)equestrian(城堡馬廄)stables(馬廄)

}building{type(添加新的建筑物名稱)(添加新的建筑物級別)}}character(描述) Philip(將軍名),namedcharacter(只有家族成員需要),male(男性),leader(領(lǐng)袖),age(年齡)40,x(橫向坐標(biāo))113,y(豎向坐標(biāo))131traits(屬性)Factionleader(派系領(lǐng)袖)1(級別),GoodCommander(優(yōu)秀指揮官)2(級別),Intelligent聰明)2(級別),添加新屬性級別(注意格式)ancillaries(隨從)holy_grail(圣杯),chevalier_de_bayard(巴亞爾騎士),添加新的隨從(隨從最多8個,注意格式)exp9(經(jīng)驗值)exp9(經(jīng)驗值)armour3(盔甲級)exp6(經(jīng)驗值)armour0(盔甲級)exp0(經(jīng)驗值)armour0(盔甲級)exp0(經(jīng)驗值)armour0(盔甲級)unit(單位) NEBodyguard(早期將軍衛(wèi)隊)weapon_lvl3(武器級)unit(單位) PeasantArchers(平民弓箭手)weapon_lvl0(武器級)unit(單位) SpearMilitia(長矛民兵)weapon_lvl0(武器級)unit(單位) SpearMilitia(長矛民兵)weapon_lvl0(武器級)unit 添加新兵種(每個將軍帶隊數(shù)上限20支) expXarmourXweapon_lvlarmyunitunitunitunitunitXcharacter Pierre(將軍名),general(一般),male,age20,x121,armyunitunitunitunitunitXGendarmes(憲兵騎士) exp5armour1weapon_lvl1FrenchMountedArchers(法蘭西弓騎兵) exp4armour1weapon_lvl0ScotsGuard(蘇格蘭衛(wèi)隊) exp4armour0weapon_lvl0Aventurier(冒險者弩兵) exp4armour0weapon_lvl0添加新兵種(每個將軍帶隊數(shù)上限20支) expXarmourXweapon_lvlcharacter GuillemotdeLyon(將軍名),admiral(海軍),male,age20,x113,y99traits(屬性)Sailor(傳奇海軍將領(lǐng))5(級別)armyunitunitunitXancillaries(隨從)shipwright(船舶工匠),naval_gunner(戰(zhàn)艦炮長),naval_navigator(可靠導(dǎo)航員armyunitunitunitXcarrack(卡拉克戰(zhàn)艦) exp7armour3weapon_lvl3carrack(卡拉克戰(zhàn)艦) exp7armour3weapon_lvl3添加新船只(每個將軍帶隊數(shù)上限20支) expXarmourXweapon_lvlcharacterEtienneTristram,priest(主教),male,age20,x101,y115traits(屬性)NaturalPriestSkill(自然教士技巧)3,添加新屬性,注意格式ancillaries(隨從)witch_hunter(女巫獵人),royal_seminarian(皇家神學(xué)家),添加新隨從,最多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歲;方法把最后年齡排序上調(diào)過來即可.或哥哥也成年歲數(shù)>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(以上指每回合所屬國家對相對國家的外交度,負(fù)數(shù)為下降)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"(出兵名字,對應(yīng)dictionary) 1(可出數(shù)) 0.4(每回合補充率)30(經(jīng)驗)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次升級要求的點數(shù),把數(shù)字分別改小就可以降低難度了.如全部公會改小則體現(xiàn)不出你想要公會的出現(xiàn)率.data/world/maps/campaign/imperial_campaign/descr_mercenaries(雇傭兵文件)poolEgypt(地區(qū)名:埃及)

regionsAlexandria_ProvinceCairo_ProvinceGaza_Provinceunitmercgalley,exp0(經(jīng)驗值)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代表可以把隨從轉(zhuǎn)讓別人0代表不可以)Imagesex_expensivewoman.tga(圖片引用)ExcludeCulturesmiddle_eastern(排除派系中東)Descriptionadultress_desc(描述引用)EffectsDescriptionadultress_effects_descEffectChivalry-1 (騎士美德-1)EffectPiety-1 (虔誠-1)(情婦觸發(fā)條件)(時間為回合結(jié)束)(條件待在城里)

((情婦觸發(fā)條件)(時間為回合結(jié)束)(條件待在城里)

(移動力滿)Triggeradultress_vnv_triggerWhenToTestCharacterTurnEndConditionEndedInSettlementandRemainingMPPercentage=100(狀態(tài)一般)(已婚)(老婆的屬性魅力<3)(騎士美德(狀態(tài)一般)(已婚)(老婆的屬性魅力<3)(騎士美德<1)100 (以上條件全部滿足后觸發(fā)幾率為andIsMarriedandSpouseAttributeCharm<3andAttributeChivalry<1AcquireAncillaryadultresschance100)/data/export_descr_character_traits(人物屬性文件)TraitGoodCommander (屬性優(yōu)秀指揮官)CharactersfamilyAntiTraitsBadCommander(相反屬性糟糕指揮官)LevelPromising_Commander(級別優(yōu)秀的指揮官)DescriptionPromising_Commander_descEffectsDescriptionPromising_Commander_effects_descGainMessagePromising_Commander_gain_descLoseMessagePromising_Commander_lose_descThreshold1EffectCommand1(屬性統(tǒng)帥+1)LevelAspiring_Commander(級別卓越的指揮官)DescriptionAspiring_Commander_descEffectsDescriptionAspiring_Commander_effects_descGainMessageAspiring_Commander_gain_descLoseMessageAspiring_Commander_lose_descThreshold2EffectCommand2(屬性統(tǒng)帥+2)TriggerV0090_Standard_Battle_Any_Victory_VnV_TriggerWhenToTestPostBattle(戰(zhàn)斗時觸發(fā))ConditionIsGeneral (條件是將軍)andWonBattle (贏取戰(zhàn)斗)andBattleOdds<2.25(戰(zhàn)前勢力比小于2:2.5)AffectsGoodCommander1Chance100(滿足以上條件觸發(fā)優(yōu)秀的指揮官幾率為100,這里的1指的是該技能的等級)后代子孫成年時屬性修改Triggerrandom_birth_france (特性法國派系任意發(fā)生)WhenToTestCharacterComesOfAge(發(fā)生時間為成年)ConditionFactionTypefranceAffectsHaleAndHearty2Chance100(強壯技能2級的觸發(fā)幾率為100)AffectsIntelligent2Chance100(聰明技能2級的觸發(fā)幾率為100)Affects添加新技能新技能等級Chance觸發(fā)幾率注意:最多不可超過10個技能,每個技能等級有限制,高出等級限制=沒有此技能將軍腐敗修改:查找Triggercorruption1和Triggercorruption2和Triggercorruption4把andTreasury>50000,的數(shù)字改大,因為這個數(shù)字代表到達(dá)這個金錢數(shù)將軍會腐敗把AffectsCorrupt1Chance0 數(shù)字改為0,意思是觸發(fā)這幾種腐敗類型的幾率AffectsAesthetic1Chance0AffectsExpensiveTastes1Chance0AffectsEpicurean1Chance0AffectsEmbezzler1Chance0改成0腐敗也會出現(xiàn)/data/descr_campaign_db(將領(lǐng)年齡修改)vfamily_tree>vmax_ageuint="90"/>最大年齡的歲數(shù)vmax_age_for_marriage_for_maleuint="75"/>男的最大結(jié)婚年齡vmax_age_for_marriage_for_femaleuint="40"/>女的最大結(jié)婚年齡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"/>最小家族人員能收養(yǎng)養(yǎng)子的年齡vmax_adoption_ageuint="30"/>最大家族人員能收養(yǎng)養(yǎng)子的年齡vmax_age_for_conceptionuint="50"/>最大的懷孕年齡vage_of_manhood_closeuint="14"/>最小有生殖能力的男性為14歲vmax_number_of_childrenuint="4"/>家族每人可生小孩的最大數(shù)為4海戰(zhàn)修改:最小俘虜幾率最大俘虜幾率海戰(zhàn)沉沒幾率最小俘虜幾率最大俘虜幾率海戰(zhàn)沉沒幾率(最高100)海戰(zhàn)逃跑幾率(最低0)海戰(zhàn)敗方沉沒最大幾率<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火器的出現(xiàn)date160170(最小發(fā)生回合/最大發(fā)生回合)movieevent/gunpowder_invented.bikeventhistoricmongols_invasion_warn蒙古入侵date 128144eventhistoricworld_is_round 地球是圓的(發(fā)現(xiàn)美洲)date 320328把回合數(shù)改成2就會變成第二回合發(fā)生.因游戲一開始就已經(jīng)為1回合,故修改時最低時間是2.注意,蒙古入侵的時間和回合數(shù)有關(guān),注意間隔,不然會跳出.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"/>意思是:城市/城堡級別,升到該級需要的人口數(shù),升到下級需要的人口數(shù),招兵的最小人口數(shù),城鎮(zhèn)人口上限注意:每一級別城市或城堡的人口上限都不能低于前一級的.另外人口數(shù)大了,治安和快樂還有健康,也要做相應(yīng)修改,在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狗可招募后面數(shù)字就是價值,X商人的屬性=每回合產(chǎn)生的金錢

爆心攻擊力<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(反應(yīng)時間)max_scale 8(最大規(guī)模)max_particle_scale2.7(最大粒子規(guī)模)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(碎片,注意,燒機子?。?4,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再把遠(yuǎn)處部隊的主武器射成你修改的炮就行了.下面是模型的修改battle_models.modeldb文件:22serialization::archive3000070500這個是很重要的一行,并且是很容易出錯的部分。22代表“serialization::archive”這段話的字節(jié)數(shù),自己可以數(shù)數(shù)。數(shù)字錯了會跳的.3000070500這個之中最重要的'應(yīng)該是705了'這個是本文件含有的單位模型數(shù)量,你每添加一個單位,這個數(shù)字就要+1以蘇格蘭衛(wèi)隊為例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字節(jié)不包括這3個數(shù)字。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(遠(yuǎn)景模型,會引發(fā)“鬼兵”問題)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(重點注釋:該修改很麻煩,如果機子不好或者不是很需要的朋友不要隨意修改,會跳的)關(guān)于如何修改將領(lǐng)衛(wèi)隊和衛(wèi)隊是農(nóng)民問題首先修改兵種屬性文件:以條頓騎士為例復(fù)制整段條頓騎士的數(shù)據(jù)在最底下新起typedictionarycategoryclassvoice_typejiang(對應(yīng)名,別和原來的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向上面那樣修改,你就有了一個可做將領(lǐng)衛(wèi)隊的條頓騎士然后打開MedievalIITotalWar\mods\teutonic\data\world\maps\campaign\imperial_campaign里的descr_strat文件以開局總團長為例characterGunther(將領(lǐng)名:總團長貢特爾)vonSchwarzenburg,namedcharacter,male,leader,age45,battle_modelTeutonic_Hochmeister,x60,y36traitsFactionleader1,GoodCommander2,PublicFaith1,BattleChivalry4,ReligionStarter1****unitjiang(這是總團長將領(lǐng)衛(wèi)隊,注意要有g(shù)eneral_unit的才能做將領(lǐng)衛(wèi)隊) 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修改早期將領(lǐng)衛(wèi)隊為其它兵種時原來的那個國家所屬的所有將領(lǐng)衛(wèi)隊單位要去掉或改為該國家不可用,也就是該國除了這一對將領(lǐng)衛(wèi)隊外沒其它有可做該國將領(lǐng)衛(wèi)隊的屬性,那么以后招將領(lǐng)時就是這種兵作為將領(lǐng)衛(wèi)隊了如何修改易北河的BT型騎兵:拿條頓精英騎士為例,原數(shù)據(jù)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找到原數(shù)據(jù):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:代表馬的盔甲,數(shù)據(jù)越低,騎兵就越難死,靈活度加大,能讓騎兵更容易從沖鋒后的陣?yán)锩摮鰜?越大的話沖鋒效果越強x_radius:騎兵的間隔,也是易北河騎兵間隔大的原因y_offset:沖破陣的幅度mass:沖撞的效果,賤踏效果,令你的騎兵擁有大象的賤踏.遠(yuǎn)射武器列表:弓箭arrow火箭arrow_fiery弩兵steel_crossbow_bolt弩炮ballista拿法nahptha_bomb龍騎pistol_bullet火槍musket_bullet風(fēng)琴炮ribault_shot管炮monster_ribault_shot火箭rocket槍象arquebus_bullet炮象elephant_cannon_shot火箭戰(zhàn)象elephant_rocket5mortar炮mortar_shot攻城炮bombard_shot蜥炮culverin_shot蛇炮basilisk_shot加農(nóng)炮serpentine_shot射石炮grand_bombard_shot巨炮monster_bombard_shot拋石車catapult(拋射)拋石器trebuchet(拋射,可燃)exploding_culverin_shot開花彈(蜥炮)exploding_basilisk_shot開花彈(蛇炮)exploding_cannon_shot開花彈(加農(nóng)炮)flaming_grand_bombard_shot燃燒彈(攻城炮)flaming_bombard_shot燃燒彈(攻城炮)fiery_norman_catapult燃燒彈僅做參考關(guān)于如何添加兵牌,打開MedievalIITotalWar\data在里面新建個ui文件夾,再在里面新建unit_info文件夾(大兵牌)和units文件夾(小兵牌)然后按比例小兵牌48乘64,大兵牌191乘280.找到圖大兵牌改名為兵種屬性文件dictionary里對應(yīng)的名如type GrandMasterUlrichdictionaryGrand_Master_Ulrich;GrandMasterUlrich要改一下,如下:type GrandMasterUlrichdictionaryshenluo(別對應(yīng)原來就行了) ;GrandMasterUlrich找到想做兵牌的圖,改名為shenluo_info的tga圖片放到unit_info里,這個是神羅的兵,所以還要在unit_info里新建個hre(代表神羅引用)的文件夾,把圖放hre里.

小貼圖也按照上面一樣,名改為#shenluo,然后tga格式放units里新建的hre文件夾里再注意一個,如何你dictionary起的名是shen(空格)luo那么要加—,如shen_luo貼圖也要對應(yīng)dictionary下面是蒙古的強化和貼貼的(貼貼的對照蒙古的行了)打開MedievalIITotalWar\data\world\maps\campaign\imperial_campaign文件里的campaign_script文件:;;;MONGOLINVASION1SCRIPTspawn_****factionmongolscharacterJebe,(將領(lǐng)名)namedcharacter,age30(出現(xiàn)時的年齡),x292,(橫座標(biāo))y166,(縱座標(biāo))family;command8,dread9,loyalty7,piety1traitsEasternWarlord3,GoodCommander2,Bloodthirsty2,BattleDread4,StrategyDread2,PublicFaith1,Loyal2,ContentGeneral3;command8,dread9,loyalty7,piety1(全是屬性)unitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitMongolBodyguard(第一隊將領(lǐng)衛(wèi)隊)exp6armour0weapon_lvl0MongolInfantryexp6armour0weapon_lvl0(下面的分別是對應(yīng)帶的人馬)MongolInfantryMongolInfantryunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitunitMongolBodyguard(第一隊將領(lǐng)衛(wèi)隊)exp6armour0weapon_lvl0MongolInfantryexp6armour0weapon_lvl0(下面的分別是對應(yīng)帶的人馬)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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論