本篇教程来自MC百科(mcmod.cn) 使用 CC BY-NC-SA 协议。
本教程提供MC直升机的配置文件的翻译以及设置项的基本介绍。
这里选择的版本就是现在的最新版1.0.4. 而CurseForge上的最新版是1.0.3,但是这两个版本之间的配置是大致相同的。
并且以下参照的配置文件是默认设置
[General]
MOD_Name = mcheli
MOD_Version = 1.0.4
MOD_MC_Version = 1.7.10
以上是mod名称和版本以及适用的MC版本。
TestMode = false #测试模式
EnableCommand = true #开启命令
PlaceableOnSpongeOnly = false #只能安装在Sponge,
ItemDamage = true #物品伤害
ItemFuel = true #燃料消耗,开启后载具就会消耗燃料,关闭反之
AutoRepairHP = 0.50 #载具每次自动修复恢复的HP
Explosion_DestroyBlock = true #爆炸破坏方块
Explosion_FlamingBlock = true #爆炸使方块燃烧
BulletBreakableBlocks = glass_pane, stained_glass_pane, tallgrass, double_plant, yellow_flower, red_flower, vine, wheat, reeds, waterlily
#子弹破坏方块的列表,列表如下:玻璃板,染色玻璃板,在tallgrass下的所有子id全部包括(草,蕨),在double_plant下的所有子id全部包括(玫瑰丛,玫瑰,高草丛,丁香,大型蕨,向日葵,牡丹),在yellow_flower的所有子id全部包括(蒲公英,),在red_flower的所有子id全部包括(罂粟,兰花,绒球葱,茜草花,红色郁金香,橙色郁金香,白色郁金香,粉红色郁金香,滨菊),藤蔓,小麦,甘蔗,睡莲。
Collision_DestroyBlock = true #碰撞破坏方块,例如坦克碰撞或者飞机坠机后的碰撞都包含在这之中。
Collision_Car_BreakableBlock = double_plant, glass_pane,stained_glass_pane #汽车碰撞破坏方块列表,列表如下:在double_plant下的所有子id全部包括(玫瑰丛,玫瑰,高草丛,丁香,大型蕨,向日葵,牡丹),玻璃板,染色玻璃板
Collision_Car_BreakableMaterial = cactus, cake, gourd, leaves, vine, plants #汽车碰撞破坏材料列表,列表如下:仙人掌,蛋糕,所有正在生长的作物,所有树叶,藤蔓,植物
Collision_Tank_BreakableBlock = nether_brick_fence #坦克碰撞破坏方块列表,列表如下:地狱砖栅栏
Collision_Tank_BreakableMaterial = cactus, cake, carpet, circuits, glass, gourd, leaves, vine, wood, plants #坦克碰撞破坏列表,列表如下:仙人掌,蛋糕,所有地毯,红石电路,所有树叶,藤蔓,树木,植物
Collision_EntityDamage = true #碰撞实体后造成伤害
Collision_EntityTankDamage = false #碰撞坦克后造成伤害
InfinityAmmo = false #无限弹药
InfinityFuel = false #无限燃料
DismountAll = false #一次性抛下所有乘客,包括由枪手刷怪蛋刷出来的NPC
MountMinecartHeli = true #是否可以使用直升机
MountMinecartPlane = true #是否可以使用战斗机
MountMinecartVehicle = false #是否可以使用炮塔
MountMinecartTank = true #是否可以使用坦克
PreventingBroken = false #开启后可以防止载具损坏
DropItemInCreativeMode = false
BreakableOnlyPickaxe = false #开启后只能通过镐子采集载具,未开启以前空手即可
AllHeliSpeed = 1.00 #设置所有直升机速度
AllPlaneSpeed = 1.00 #设置所有战斗机速度
AllTankSpeed = 1.00 #设置所有坦克速度
HurtResistantTime = 0.00 #抵抗伤害的时间
StingerLockRange = 320.00 #导弹发射器能够锁定目标的最远距离
RangeFinderSpotDist = 400
RangeFinderSpotTime = 15
RangeFinderConsume = true
EnablePutRackInFlying = true
EnableDebugBoundingBox = true #启用调试实体框架
DespawnCount = 25 #可以重生的次数
HitBoxDelayTick = 0
EnableRotationLimit = false
PitchLimitMax = 10
PitchLimitMin = -10
RollLimit = 35
RangeOfGunner_VsMonster_Horizontal = 80 #枪手(VS怪物)的水平攻击范围
RangeOfGunner_VsMonster_Vertical = 160 #枪手(VS怪物)的垂直攻击范围
RangeOfGunner_VsPlayer_Horizontal = 200 #枪手(VS敌方玩家)的垂直攻击范围
RangeOfGunner_VsPlayer_Vertical = 300 #枪手(VS敌方玩家)的水平攻击范围
FixVehicleAtPlacedPoint = true #将载具放置在摆放点
KillPassengersWhenDestroyed = false #在载具被摧毁的时候杀死乘客
以下项目均可在载具上的MOD Options上进行设置
InvertMouse = false #鼠标反转
MouseSensitivity = 10.00 #鼠标灵敏度
MouseControlStickModeHeli = false #直升机鼠标控制摇杆模式
MouseControlStickModePlane = false #战斗机鼠标控制摇杆模式
;MouseControlFlightSimMode = true ( Yaw:key, Roll=mouse ) #这条在默认设置中在开头有";",所以不会生效,只起说明作用,下一条才是真正的设置。
MouseControlFlightSimMode = false #鼠标控制飞行模式,开启后鼠标控制反转,按键控制偏航
AutoThrottleDownHeli = true #直升机油门自动下降
AutoThrottleDownPlane = false #战斗机油门自动下降
AutoThrottleDownTank = false #坦克油门自动下降
SwitchWeaponWithMouseWheel = true #使用鼠标滚轮切换武器
LWeaponAutoFire = false #武器自动攻击
;DisableItemRender = 0 ~ 3 (1 = Recommended) #这条在默认设置中在开头有";",所以不会生效,只起说明作用,下一条才是真正的设置。
DisableItemRender = 1 #最大方块标记个数
HideKeybind = false #隐藏按键绑定
RenderDistanceWeight = 10.00 #设置单个标记的大小
MobRenderDistanceWeight = 1.00
CreativeTabIconItem = fuel
CreativeTabIconHeli = ah-64
CreativeTabIconPlane = f22a
CreativeTabIconTank = merkava_mk4
CreativeTabIconVehicle = mk15
DisableShader = false #禁用着色器
DefaultExplosionParticle = false #默认爆炸离子
AliveTimeOfCartridge = 200 #炮弹的有效时间
;HitMarkColor = Alpha, Red, Green, Blue #这条在默认设置中在开头有";",所以不会生效,只起说明作用,下一条才是真正的设置。
HitMarkColor = 255, 255, 0, 0 #设置标记的颜色和透明度,第一个数字为透明度,第二个数字为红,第三个数字为绿,第四个数字为蓝
SmoothShading = true #平滑阴影
EnableModEntityRender = true #启用Mod实体渲染
DisableRenderLivingSpecials = true
DisplayHUDThirdPerson = false #显示第三人称HUD,开启后切换第三人称后依然可以显示载具HUD
DisableThirdPersonCameraDistChange = false #禁用第三方视角距离缩放,开启后无法进行距离缩放
EnableReplaceTextureManager = true #启用更新纹理管理器
DisplayEntityMarker = true #显示实体标记
EntityMarkerSize = 10.00 #实体标记大小
BlockMarkerSize = 10.00 #实体标记大小
ReplaceRenderViewEntity = true #显示实体生成更新
以下是MC直升机中所有物品的合成表,可以在这里对物品的合成进行修改。
以ItemRecipe_Fuel = "ICI", "III", I, iron_ingot, C, coal这一条为例
ICI III 表示第一格是iron_ingot,第二格是coal,第三格是iron_ingot ,第四第五第六都是iron_ingot
ItemRecipe_Fuel = "ICI", "III", I, iron_ingot, C, coal
ItemRecipe_GLTD = " B ", "IDI", "IRI", B, iron_block, I, iron_ingot, D, diamond, R, redstone
ItemRecipe_Chain = "I I", "III", "I I", I, iron_ingot
ItemRecipe_Parachute = "WWW", "S S", " W ", W, wool, S, string
ItemRecipe_Container = "CCI", C, chest, I, iron_ingot
ItemRecipe_UavStation = "III", "IDI", "IRI", I, iron_ingot, D, diamond, R, redstone_block
ItemRecipe_UavStation2 = "IDI", "IRI", I, iron_ingot, D, diamond, R, redstone
ItemRecipe_DraftingTable = "R ", "PCP", "F F", R, redstone, C, crafting_table, P, planks, F, fence
ItemRecipe_Wrench = " I ", " II", "I ", I, iron_ingot
ItemRecipe_RangeFinder = "III", "RGR", "III", I, iron_ingot, G, glass, R, redstone
ItemRecipe_Stinger = "G ", "III", "RI ", G, glass, I, iron_ingot, R, redstone
ItemRecipe_StingerMissile = "R ", " I ", " G", G, gunpowder, I, iron_ingot, R, redstone
ItemRecipe_Javelin = "III", "GR ", G, glass, I, iron_ingot, R, redstone
ItemRecipe_JavelinMissile = " R ", " I ", " G ", G, gunpowder, I, iron_ingot, R, redstone
ItemRecipe_GunnerVsMonster = "EI", E, egg, I, iron_block
ItemRecipe_GunnerVsPlayer = "EG", E, egg, G, gold_block
以下是关于联动mod——Flan's Mod的一些设置
DamageVsEntity = 1.0
DamageVsLiving = 1.0
DamageVsPlayer = 1.0
DamageVsMCHeliAircraft = 1.0
DamageVsMCHeliTank = 1.0
DamageVsMCHeliVehicle = 1.0
DamageVsMCHeliOther = 1.0
DamageMCHeliAircraftByExternal = 1.0
DamageMCHeliTankByExternal = 1.0
DamageMCHeliVehicleByExternal = 1.0
DamageMCHeliOtherByExternal = 1.0
DamageVsEntity = 3.0, flansmod
DamageMCHeliAircraftByExternal = 0.5, flansmod
DamageMCHeliVehicleByExternal = 0.5, flansmod
IgnoreBulletHit = flansmod.common.guns.EntityBullet
IgnoreBulletHit = flansmod.common.guns.EntityGrenade
;CommandPermission = commandName(eg, modlist, status, fill...):playerName1, playerName2, playerName3...
;CommandPermission = modlist :example1, example2
;CommandPermission = status : example2
[Key config]
http://minecraft.gamepedia.com/Key_codes (无需科学上网)
这是Minecraft Wiki提供了每个键位对应数字的介绍,所以在这里修改按键的话,需要改成键控代码才可以生效,而不是改成具体按键
KeyUp = 17
KeyDown = 31
KeyRight = 32
KeyLeft = 30
KeySwitchGunner = 35
KeySwitchHovering = 57
KeySwitchWeapon1 = -98
KeySwitchWeapon2 = 34
KeySwitchWeaponMode = 45
KeyZoom = 44
KeyCameraMode = 46
KeyUnmountMob = 21
KeyFlare = 47
KeyExtra = 33
KeyCameraDistanceUp = 201
KeyCameraDistanceDown = 209
KeyFreeLook = 29
KeyGUI = 19
KeyGearUpDown = 48
KeyPutToRack = 36
KeyDownFromRack = 22
KeyScoreboard = 38
KeyMultiplayManager = 50