boobootang 发表于 2010-5-15 23:44:31

转贴:建筑特技随从修改

这是以前保存的修改学习资料,虽然不是三国用的,但很有参考价值,个人推荐。
另:如果别人发过,请版主删之。

罗马:全面战争-建筑特技随从修改

作者:jhd218

文件都在DATA目录下...........
建筑为export_descr_buildings.txt
特技为export_descr_character_traits.txt
随从为export_descr_ancillaries.txt
修改前先备份....................................
先是修改建筑,我是把学校改成一国所有,然后玩哪国就改哪国...
打开export_descr_buildings.txt,,,,搜索building academic....找到
我把注释**加进去
building academic
{
levels academy scriptorium ludus_magnus
*建造的升级为academy,scriptorium,ludus_magnus*
{
academy requires factions { ct_carthage, eastern, parthia, egyptian, greek, roman, } and building_present_min_level market market
*建造academy 需要国家ct_carthage, eastern, parthia, egyptian, greek, roman....以及至少最低市场等级market*
{
capability
*建筑能力.在下面括号中,可以参考其它有能力加成的建筑*
{
}
construction 3
*建造时间*
cost 1600
*建造花费*
settlement_min city
*建造academy至少需要城市等级为city*
upgrades
*这个建筑升级为括号中的scriptorium建筑*
{
scriptorium
}
}
scriptorium requires factions { ct_carthage, eastern, parthia, egyptian, greek, roman, } and building_present_min_level market forum
{
capability
{
}
construction 5
cost 3200
settlement_min large_city
upgrades
{
ludus_magnus
}
}
ludus_magnus requires factions { ct_carthage, eastern, parthia, egyptian, greek, roman, } and building_present_min_level market great_forum
{
capability
{
}
construction 6
cost 6400
settlement_min huge_city
upgrades
{
}
}
}
plugins
{
}
}

.......................
关于修改能造此建筑的国家
ct_carthage包括carthage,numidia,spain
eastern包括parthia,pontus,armenia
greek包括seleucid,greek_cities,macedon,thrace
barbarian包括gauls,germans,britons,dacia,scythia
roman包括romans_julii,romans_brutii,romans_scipii,romans_senate
还有个埃及egypt
以上...................................
把学校改成罗马朱利叶家族所专有就改成
academy requires factions { romans_julii, }
改scriptorium ludus_magnus 同理如上
.....................................................................
....................................................................
好.....下面改特技
我是改那个HP+6的特技为学校建筑升级到ludus_magnus百分百城市将领会学会
打开export_descr_character_traits.txt
搜索Trait HaleAndHearty
找到
Trait HaleAndHearty
Characters family
NoGoingBackLevel 3
AntiTraits Hypochondriac

Level In_The_Pink
Description In_The_Pink_desc
EffectsDescription In_The_Pink_effects_desc
Threshold 1

Effect HitPoints 2

Level In_Rude_Health
Description In_Rude_Health_desc
EffectsDescription In_Rude_Health_effects_desc
Threshold 2

Effect HitPoints 4

Level Hale_and_Hearty
Description Hale_and_Hearty_desc
EffectsDescription Hale_and_Hearty_effects_desc
Threshold 3

Effect HitPoints 6
上面是Trait HaleAndHearty的数值......然后我们再找能引发Trait HaleAndHearty的事件
搜索HaleAndHearty
呵呵....有好几个事件都能加Trait HaleAndHearty
我们只需修改其中的一个.....我是改
Trigger temple_of_healing_vnv_trigger
WhenToTest CharacterTurnEnd

Condition EndedInSettlement
and RemainingMPPercentage = 100
and SettlementBuildingExists >= temple_of_healing_temple

Affects HaleAndHearty 1 Chance 10
Affects Hypochondriac 1 Chance 10
改成
Trigger temple_of_healing_vnv_trigger
WhenToTest CharacterTurnEnd

Condition EndedInSettlement
and RemainingMPPercentage = 100
and SettlementBuildingExists >= ludus_magnus

Affects HaleAndHearty 1 Chance 100
意思我就不解释了......你们应该看的懂
好....这样一来只要你把学校升级到ludus_magnus....那么你城市中的将领就能马上学会Trait HaleAndHearty......这样战斗很难死掉了...尤其是委任战斗
...................................
...................................
最后修改随从....我是改了archimedes和nicander这两个随从的能力和出现条件........出现条件当然是拥有ludus_magnus....
打开export_descr_ancillaries.txt
先改随从能力...搜索archimedes和nicander
我是改成
Ancillary archimedes
Image older_man_ancillary.tga
ExcludedAncillaries archimedes
Description archimedes_desc
EffectsDescription archimedes_effects_desc
Effect SiegeAttack 1
Effect SiegeDefence 1
Effect LineOfSight 10
Effect MovementPoints 10
Effect SiegeEngineering 100

Ancillary nicander
Image older_man_ancillary.tga
ExcludedAncillaries nicander
Description nicander_desc
EffectsDescription nicander_effects_desc
Effect BodyguardValour 1
Effect PersonalSecurity 1
Effect Fertility 10
Effect Health 10
Effect BattleSurgery 100
.................
我去掉了
Unique*唯一....只能有一个*

ExcludeCultures barbarian, carthaginian, eastern, egyptian, roman
*barbarian, carthaginian, eastern, egyptian, roman这些国家无法招募*
这两个限制
增加了些其它能力.....注意这些能力无法在游戏中随从提示上显示....但修改的能力是存在的
................
然后改出现这两个随从的事件
搜索Trigger trigger_archimedes
改成
Trigger trigger_archimedes
WhenToTest CharacterTurnEnd
Condition EndedInSettlement
and RemainingMPPercentage = 100
and SettlementBuildingExists >= ludus_magnus
and IsGeneral

AcquireAncillary archimedes chance 100

搜索Trigger trigger_nicander
改成
Trigger trigger_nicander
WhenToTest CharacterTurnEnd
Condition EndedInSettlement
and RemainingMPPercentage = 100
and SettlementBuildingExists >= ludus_magnus
and IsGeneral

AcquireAncillary nicander chance 100





好了...............只要你建造了ludus_magnus.....你城市里的将军就会学会HP+6特技和拥有archimedes,nicander
两个随从

xxxsunjunxxx 发表于 2010-5-29 21:53:22

不错,很好很强大

huanghongshui 发表于 2010-7-4 01:39:24

学习了。。。。

qw232698727 发表于 2011-8-13 08:36:50

很好的想法~! 改的也很不错 不过是原版的~!
页: [1]
查看完整版本: 转贴:建筑特技随从修改