本帖最后由 7516562 于 2018-3-10 11:13 编辑
有时隔一段时间玩就忘记怎么改了 可看到什么可用的修改方法欢迎大家留言补充 隔一段时间再玩时就可以翻出来看了
以前还有修改装饰度修改小人刷新的帖子可是现在找不到了 希望大家多多补充啊 都是从看到的帖子直接粘贴的 如果不可以这么搞管理就直接删掉就是了
希望哪个朋友能把复制人刷新时间的修改发下 实在没找到 debug刷出来的有的打鼾有的没兴趣爱好
复制人出生属性修改
TUNING -> DUPLICANTSTATS
// Token: 0x04004443 RID: 17475
public static int MIN_STAT_POINTS = 7; //最小值 《数值为总数例如改200就是所有数值加起来最低200 》
// Token: 0x04004444 RID: 17476
public static int MAX_STAT_POINTS = 10;//最大值 《参考最小值》
AtmoSuitConfig 太空服 氧气含量
suitTank.element = "Oxygen";
suitTank.capacity = 7500f;
GasPumpConfig
我找到 elementConsumer.consumptionRadius = 2;
但是改了下面会提示报错,是姿势不对吗?
右键 elementConsumer.consumptionRadius = 2; 编辑IL指令 中间这行 我这是41行 改为ldc.i4.s 0x32 就是范围50了
RT, 双水泉双天然气都在左侧,开局可以避开淤泥恶心的病菌,下方我没截图,最下是三油井,小伙伴们可以用这个开局咯
世界种子: 1517593162
CROPS植物产量
"BasicPlantFood", 1800f, 8, true),
new Crop.CropVal(SwampLilyFlowerConfig.ID, 7200f, 2, true), 沼泽百合花配置
new Crop.CropVal(PrickleFruitConfig.ID, 2400f, 1, true),刺花
new Crop.CropVal("ColdWheatSeed", 12000f, 25, true),小麦
new Crop.CropVal(SpiceNutConfig.ID, 13200f, 4, true), 香料螺母配置
new Crop.CropVal(BasicFabricConfig.ID, 1200f, 1, true),
new Crop.CropVal(MushroomConfig.ID, 6000f, 2, true) 蘑菇的配置
Prickleflower 刺花
Coldwheat 冰原小麦
Spicevine 胡椒
2.电线
Wire电线修改栏
WireRefinedConfig导线
WireRefinedHighWattageConfig高压导线
WireHighWattageConfig高压电线
buildingDef.BuildLocationRule = BuildLocationRule.NotInTiles;这一项是修改高压线放置的地方。用LI指令编辑,再右键选择简化指令就会出现5改成1就行
3.喷泉
GeyserConfig 蒸汽喷泉
ChlorineGeyserConfig氯气喷泉
MethaneGeyserConfig天然气喷泉
idleDuration喷泉效率
elementEmitter.emitRange = 2;喷泉最小气压
elementEmitter.maxPressure = 5f;喷泉最大气压
geyser.emission_a = new Geyser.EmissionType(60f, 60f, 60f, new ElementConverter.OutputElement(0.75f, SimHashes.Methane, 423.15f, false, 1f, 1f, false, 1f, 255, 0), "");喷泉产出量和温度
4.发电机
GeneratorConfig 燃煤发电机
HydrogenGeneratorConfig 氢气发电机
ManualGeneratorConfig 人力发电机
MethaneGeneratorConfig 天燃气发电机
expr_5B.GeneratorWattageRating = 1600f;发电功率
expr_5B.GeneratorBaseCapacity = 1000f;储存燃料量
expr_5B.ExhaustKilowattsWhenActive = 2f;排气放热效率
expr_5B.OperatingKilowatts = 2f;机器产生热量
new EnergyGenerator.OutputItem(SimHashes.DirtyWater, num2 * num4, false, new CellOffset(1, 1)),
new EnergyGenerator.OutputItem(SimHashes.CarbonDioxide, num3 * num4, true)天然气发电机产生污水的量
http://bbs.3dmgame.com/thread-5612521-1-1.html修改收获次数
http://bbs.3dmgame.com/thread-5596590-1-1.html缺氧修改教程
使用右下的搜索栏搜索 BatteryConfig小电池
BatteryMediumConfig大电池
go.AddOrGet<Battery>().capacity = 100000f;电池容量修改
ShowerConfig洗浴
shower.workTime = 10f;洗浴时间
shower.outputTargetElement = SimHashes.DirtyWater;输出产物(污水)
shower.fractionalDiseaseRemoval = 0.95f;去除细菌量
shower.absoluteDiseaseRemoval = -2000;绝对去除细菌量
new ElementConverter.ConsumedElement(new Tag("Water"), 1f)};
elementConverter.outputElements = new 消耗水量ElementConverter.OutputElement[]
{new ElementConverter.OutputElement(1f, SimHashes.DirtyWater, 0f, true, 0f, 0.5f, true, 1f, 255, 0)};
elementConverter.conversionInterval = 1f;产生污水量
10. AlgaeDistilleryConfig藻类转换机
new ElementConverter.OutputElement(0.2f, SimHashes.Algae, 303.15f, true, 0f, 1f, false, 1f, 255, 0),产生藻类量
new ElementConverter.OutputElement(0.4f, SimHashes.DirtyWater, 303.15f, true, 0f, 0.5f, false, 1f, 255, 0)产生污水量
11. AlgaeHabitatConfig藻类培育合
new ElementConverter.ConsumedElement(new Tag("Algae"), 0.01f),消耗藻类
new ElementConverter.ConsumedElement(new Tag("Water"), 0.01f)消耗水
expr_139.consumptionRate = 0.1f;吸收二氧化碳量
12. MineralDeoxidizerConfig藻类造氧机
13. ElectrolyzerConfig电解水
14. PolymerizerConfig塑料制造机
15. OilRefineryConfig石油提炼机
16. MetalRefineryConfig矿石精炼机
material = current.tag,
amount = 100f,精炼消耗数量
time = 40f,精炼工作时间
AddResult(lowTempTransition.tag, 500f);精炼产生的数量
17. LiquidHeaterConfig液体加热器
buildingDef.OverheatTemperature = 1398.15f;过热温度
spaceHeater.targetTemperature = 758.15f;加热温度
RockCrusherConfig岩石破碎机 MetalRefineryConfig矿石精炼机 material = current.tag, amount = 100f,精炼消耗数量 time = 40f,精炼工作时间(时间越短,放出的水温度越高,会瞬间煮熟小人) AddResult(lowTempTransition.tag,500f);精炼产生的数量
懒人必备debug用法和资源表格;懒人必备第二弹,有了它不用再去学Dnspy http://bbs.3dmgame.com/thread-5610929-1-1.html
免疫力修改
MinionStartingStats
foreach (string key2 in DUPLICANTSTATS.ROLLED_ATTRIBUTES)
{
//this.StartingLevels[key2] = Mathf.RoundToInt(Mathf.Pow(UnityEngine.Random.value, 4f) * 10f);
this.StartingLevels[key2] = 100;
}
管道容量
搜尋Game
90行
this.gasConduitFlow = new ConduitFlow(ConduitType.Gas, Grid.CellCount, this.gasConduitSystem, 10f, 0.25f);
this.liquidConduitFlow = new ConduitFlow(ConduitType.Liquid, Grid.CellCount, this.liquidConduitSystem, 100f, 0.75f);
這個部分10F 100F去做修改 記得用IL
TRAITS.BAD_ATTRIBUTE_PENALTY = -3; 这个是是让面条臂和缓慢学习的-3变成能你想要的数值 例如改成10就是加10
TRAITS.HORRIBLE_ATTRIBUTE_PENALTY = -5; 这个负的是运动的那个 例如-5改成15就是运动能力加15
|