【翻译作品】Custom Trait自定义的特效/辅助属性+隐藏属性
本帖最后由 ﹃抹高傲旳笑 于 2012-4-30 21:19 编辑Custom Trait/Ancillary Attributes + Hidden Attribute
(以下可以忽略,只有一个重要部分)
First I'll thank Gigantus for having me look at this phenomenon more closely since I'd thought of investigating it but for various reasons it was put aside to do other more pressing concerns.
Anyway, someone made note of a bug in ATVTW (for M2TW) in which the Attribute Combat_V_Faction_Ireland was being recorded as incorrect. Gigantus reminded me that in the exe for M2TW/Kingdoms didn't specifically list the faction and religions for the Combat_V_Faction_XXX and the Comabat_V_Religion_YYY attributes. I already knew this was the case for the Combat_V_ZZZ attributes in Rome.
尽管如此,有人在ATVTW里写了一个关于BUG Attribute Combat_V_Faction_Ireland记录错了的NOTE。Gigantus提醒了我在M2TW/Kingdoms exe.的文件里没有特别的列下Combat_V_Faction_XXX和Comabat_V_Religion_YYY attributes的势力以及宗教。我已经知道这是一个在罗马里Combat_V_ZZZ部落的情况。
So I did an experiment, I create a trait with a custom attribute:
所以,我做了一个实验,建立一个特定的自创部落:
Code:
Trait TestCombatTrait
Characters all
;Hidden
Level Immobile
Description Immobile_desc
EffectsDescription Immobile_effects_desc
Threshold 1
Effect Combat_V_adfjeil 1
And a trigger to test the attribute:
并对这个添加了一个触发器:
Code:
Trigger TestCombatTrigger
WhenToTest CharacterTurnStart
Condition Attribute Combat_V_adfjeil = 1
Affects BattleScarred1Chance 100
I gave the trait to a starting character in descr_strat, and checked his traits and stuff in game, and he had the first level of the BattleScarred trait. I did a second test by adding the effect to an ancillary (and leaving the trigger in EDCT), removing the trait and adding the ancillary in descr_strat, and again I started the game and he again had the first level of BattleScarred.
我给出了这个特定到一个在descr_strat的开始人物,并且检查了他的特性和在游戏里的东东,他有着等级1的BattleScarred特性。我做了一个第二次的测验以添加配套效率,移除这个特性并且添加了这个配套到descr_strat,然后又一次的开始这个游戏并且他又有着等级1的BattleScarred特性。
This is very significant as it allows 100% accuracy in seeing if a character has a particular ancillary, and unlike current methods this can be used for all ancillaries by giving them a unique Combat_V_ZZZ attribute.
这时很显而易见的当他允许100%准确度在查看一个角色的特定配套,并不像现在的方法,这可以被全部配套使用当给予他们一个指定的Combat_V_ZZZ部落。
This has left me with an interesting and answered question. How does the engine determine if the Combat_V_ attribute corresponds to an actual culture to give a command bonus?
这留给我了一个很感兴趣的问题。引擎是怎么得出来的如果Combat_V_ attribute相对应一个真实的文化去给予指挥加成?
There's also a hidden attribute that is recognized by the exe: FootInTheDoor, you can assign it as an effect to traits/ancillaries but I haven't figure out what it does.
那里有一个隐藏的部落:FootInTheDoor,
你可以指令它一个效果但我还没有找出他到底干什么。 表示 看不懂嘿嘿 .... 路过,顶个 能不能在详细的介绍介绍啊?!
页:
[1]