【Rimworld v0.15.1284】你知道琦玉老师吗?游戏本体数据修改教程②——人物特性
人物特性文件在以下路径:X:\RimWorld\Mods\Core\Defs\TraitDefs
X为游戏所在盘符。
找到名为 Traits_Spectrum 的文件,记事本打开。
目前只找到一部分特性的修改方法,其他的以后会贴出。以下为可修改的代码的分析部分:
<?xml version="1.0" encoding="utf-8" ?>
<TraitDefs>
<TraitDef>
<defName>SpeedOffset</defName>
<commonality>1</commonality>
<degreeDatas>
<li>
<label>slowpoke</label> 对应特性【慢半拍】
<description>NAME is always falling behind the group whenever HE goes anywhere.</description>
<degree>-1</degree>
<statOffsets>
<MoveSpeed>-0.20</MoveSpeed> 移动速度-0.2格每秒
</statOffsets>
</li>
<li>
<label>fast walker</label> 对应特性【走路很快】
<description>NAME likes to be where HE's going. HECAP walks quicker than most people.</description>
<degree>1</degree>
<statOffsets>
<MoveSpeed>0.20</MoveSpeed> 移动速度+0.2格每秒
</statOffsets>
</li>
<li>
<label>jogger</label> 对应特性【慢跑者】
<description>NAME always moves with a sense of urgency - so much so that others often fail to keep up.</description>
<degree>2</degree>
<statOffsets>
<MoveSpeed>0.40</MoveSpeed> 移动速度+0.4格每秒
</statOffsets>
</li>
</degreeDatas>
</TraitDef>
<TraitDef>
<defName>Nerves</defName>
<commonality>1</commonality>
<degreeDatas>
<li>
<label>iron-willed</label> 对应特性【钢铁意志】
<description>NAME's will is an iron shield. HECAP keeps going through thick and thin, when others broke down long before.</description>
<degree>2</degree>
<statOffsets>
<MentalBreakThreshold>-0.18</MentalBreakThreshold> 崩溃临界值-18%
</statOffsets>
</li>
<li>
<label>steadfast</label> 对应特性【坚定】
<description>NAME is mentally tough and won't break down under stresses that would crack most people.</description>
<degree>1</degree>
<statOffsets>
<MentalBreakThreshold>-0.09</MentalBreakThreshold> 崩溃临界值-9%
</statOffsets>
</li>
<li>
<label>volatile</label> 对应特性【动荡不定】
<description>NAME is on a hair-trigger all the time. HECAP is the first to break in any tough situation.</description>
<degree>-2</degree>
<statOffsets>
<MentalBreakThreshold>0.15</MentalBreakThreshold> 崩溃临界值+15%
</statOffsets>
</li>
</degreeDatas>
</TraitDef>
<TraitDef>
<defName>Neurotic</defName>
<commonality>0.5</commonality>
<degreeDatas>
<li>
<label>neurotic</label> 对应特性【焦虑】
<description>NAME likes to have things squared away. HECAP will work harder than most to attain this state of affairs, but HIS nerves can get the better of HIM.</description>
<degree>1</degree>
<statOffsets>
<WorkSpeedGlobal>0.20</WorkSpeedGlobal> 全局工作速度+20%
<MentalBreakThreshold>0.08</MentalBreakThreshold> 崩溃临界值+8%
</statOffsets>
</li>
<li>
<label>very neurotic</label> 对应特性【严重焦虑症】
<description>NAME feels constantly nervous about everything that has to get done. HECAP will work extremely hard to attain this state of affairs, but HIS nerves can easily get the better of HIM.</description>
<degree>2</degree>
<statOffsets>
<WorkSpeedGlobal>0.40</WorkSpeedGlobal> 全局工作速度+40%
<MentalBreakThreshold>0.14</MentalBreakThreshold> 崩溃临界值+14%
</statOffsets>
</li>
</degreeDatas>
</TraitDef>
<TraitDef>
<defName>Industriousness</defName>
<commonality>1</commonality>
<degreeDatas>
<li>
<label>industrious</label> 对应特性【勤劳】
<description>NAME has an easy time staying on-task and focused, and gets things done much faster than the average person.</description>
<degree>2</degree>
<statOffsets>
<WorkSpeedGlobal>0.35</WorkSpeedGlobal> 全局工作速度+35%
</statOffsets>
</li>
<li>
<label>hard worker</label> 对应特性【勤工】
<description>NAME is a natural hard worker and will finish tasks faster than most.</description>
<degree>1</degree>
<statOffsets>
<WorkSpeedGlobal>0.20</WorkSpeedGlobal> 全局工作速度+20%
</statOffsets>
</li>
<li>
<label>lazy</label> 对应特性【懒惰】
<description>NAME is a little bit lazy.</description>
<degree>-1</degree>
<statOffsets>
<WorkSpeedGlobal>-0.20</WorkSpeedGlobal> 全局工作速度-20%
</statOffsets>
</li>
<li>
<label>slothful</label> 对应特性【怠惰】
<description>NAME loves idleness and hates anything productive. HECAP moves slowly and rarely stays focused on a task.</description>
<degree>-2</degree>
<statOffsets>
<WorkSpeedGlobal>-0.35</WorkSpeedGlobal> 全局工作速度-35%
</statOffsets>
</li>
</degreeDatas>
</TraitDef>
<TraitDef>
<defName>PsychicSensitivity</defName>
<commonality>1.2</commonality>
<degreeDatas>
<li>
<label>psychically hypersensitive</label> 对应特性【精神过敏】
<description>NAME's mind is like a psychic tuning fork. HECAP is extremely sensitive to psychic phenomena.</description>
<degree>2</degree>
<statOffsets>
<PsychicSensitivity>0.8</PsychicSensitivity> 心灵敏感度+80%
</statOffsets>
</li>
<li>
<label>psychically sensitive</label> 对应特性【精神敏感】
<description>NAME's mind is unusually sensitive to psychic phenomena.</description>
<degree>1</degree>
<statOffsets>
<PsychicSensitivity>0.4</PsychicSensitivity> 心灵敏感度+40%
</statOffsets>
</li>
<li>
<label>psychically dull</label> 对应特性【精神迟钝】
<description>NAME's mind is psychically out of tune with others. HECAP isn't as affected by psychic phenomena.</description>
<degree>-1</degree>
<statOffsets>
<PsychicSensitivity>-0.5</PsychicSensitivity> 心灵敏感度-50%
</statOffsets>
</li>
<li>
<label>psychically deaf</label> 对应特性【心灵失聪】
<description>NAME's mind works on a psychic frequency different from everyone else. HECAP just isn't affected by psychic phenomena.</description>
<degree>-2</degree>
<statOffsets>
<PsychicSensitivity>-1</PsychicSensitivity> 心灵敏感度-100%
</statOffsets>
</li>
</degreeDatas>
</TraitDef>
<TraitDef>
<defName>TemperaturePreference</defName>
<commonality>1.2</commonality>
<degreeDatas>
<li>
<label>cold lover</label> 对应特性【天然热源】
<description>NAME's body produces tremendous amounts of heat. HECAP is comfortable in temperatures which would make anyone else shiver, but HE doesn't like heat.</description>
<degree>2</degree>
<statOffsets>
<ComfyTemperatureMin>-22</ComfyTemperatureMin> 最低舒适温度-22度
<ComfyTemperatureMax>-4</ComfyTemperatureMax> 最高舒适温度-4度
</statOffsets>
</li>
<li>
<label>cold tolerant</label> 对应特性【热血动物】
<description>NAME handles cool temperatures better than most.</description>
<degree>1</degree>
<statOffsets>
<ComfyTemperatureMin>-14</ComfyTemperatureMin> 最低舒适温度-14度
<ComfyTemperatureMax>-2</ComfyTemperatureMax> 最高舒适温度-2度
</statOffsets>
</li>
<li>
<label>heat tolerant</label> 对应特性【冷血动物】
<description>NAME handles warm temperatures better than most.</description>
<degree>-1</degree>
<statOffsets>
<ComfyTemperatureMax>14</ComfyTemperatureMax> 最高舒适温度+14度
<ComfyTemperatureMin>2</ComfyTemperatureMin> 最低舒适温度+2度
</statOffsets>
</li>
<li>
<label>heat lover</label> 对应特性【人形冰箱】
<description>NAME loves hot weather - but HE doesn't handle cold very well.</description>
<degree>-2</degree>
<statOffsets>
<ComfyTemperatureMax>22</ComfyTemperatureMax> 最高舒适温度+22度
<ComfyTemperatureMin>4</ComfyTemperatureMin> 最低舒适温度+4度
</statOffsets>
</li>
</degreeDatas>
</TraitDef>
<TraitDef>
<defName>ShootingAccuracy</defName>
<commonality>0.9</commonality>
<degreeDatas>
<li>
<label>careful shooter</label> 对应特性【冷枪手】
<description>NAME is a pretty good shot, but HE needs more time to focus on HIS target.</description>
<commonality>0.4</commonality>
<degree>1</degree>
<statOffsets>
<AimingDelayFactor>0.25</AimingDelayFactor> 瞄准延时系数+25%
<ShootingAccuracy>0.50</ShootingAccuracy> 射击精确度+50%
</statOffsets>
<skillGains>
<li>
<key>Shooting</key> 射击技能
<value>3</value> +3
</li>
</skillGains>
</li>
<li>
<label>trigger-happy</label> 对应特性【乱开枪】
<description>Pew! Pew! Pew! NAME is a terrible shot, but HE doesn't care, because guns are awesome!</description>
<commonality>0.5</commonality>
<degree>-1</degree>
<statOffsets>
<AimingDelayFactor>-0.5</AimingDelayFactor> 瞄准延时系数-50%
<ShootingAccuracy>-0.5</ShootingAccuracy> 射击精确度-50%
</statOffsets>
<skillGains>
<li>
<key>Shooting</key> 射击技能
<value>-2</value> -2
</li>
</skillGains>
</li>
</degreeDatas>
<conflictingTraits>
<li>Brawler</li>
</conflictingTraits>
<requiredWorkTags>
<li>Violent</li>
</requiredWorkTags>
</TraitDef>
最后,最关键的一点不要忘记,修改后敌人如果也拥有该特性,也会生效。不要修改的太不和谐。。。
(版主大大看到后,请帮我设置回复可见,O(∩_∩)O谢谢)
教程赞一个,看帖不回帖的,学习不回帖的。 感谢楼主的分享不过这样很麻烦不如直接使用精心准备MOD wgywgy0001 发表于 2016-11-23 14:24
感谢楼主的分享不过这样很麻烦不如直接使用精心准备MOD
这个改好了,配合精心准备,你懂得。。。 想请教下LZ。已建人物的特性如何修改呢? 感谢楼主的分享 谢谢大神~~~~ 支持下。 顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
要修改研究速度 怎么修改呢~~~~~~~~~
教程赞一个,看帖不回帖的,学习不回帖的。 不客氣...順心 via 防尘补丁
感谢楼主的分享:D 还有别的教程么? 感谢楼主分享 学习学习 謝謝樓主~ 感谢分享 6666666666666666666 我絕對不會說把 走路很快 調到2000 他會跑的有多快 有没动物相关的修改教程呢?
页:
[1]