3

Is there a way to change the field of view using a command in Minecraft, without changing the walk speed? I'm talking about the option that, at its max, is labeled "Quake Pro".

I'm working on a top-down adventure map where the player is placed above a world (20 blocks or so) with FOV=30. When you get into a fight every 10 block walks or so it'll teleport you into a battle field where ideally your FOV would be around 70 (normal).

I tried increasing the speed effect of the player inside of fights but it's uncomfortable to fight when you're walking much quicker than normal.

I could slow down the walking speed of the player outside of battles, but then you get the same problem - you end up walking too slowly on the world map, and that's no good either.

EDIT: PS The method should work in 1.10.

  • While I haven't looked into this myself, I'm pretty sure that you can't change game settings with commands. – rivermont - Will B. Jun 27 '16 at 14:22
  • Is there a way to fake doing that? As long as the game looks and behaves like your FOV is (around) 70, it's good enough for me! – Florrie Jun 27 '16 at 14:27
  • Hmm, I'm not sure. AFAIK, not really, but I haven't worked with commands recently. – rivermont - Will B. Jun 27 '16 at 15:31
  • I believe that is impossible in vanilla 1.10. If you were using 1.8.4 or older, that would be a different story – JustAGuest Jun 30 '16 at 16:44
  • FYI, I came back to this project today and decided just to move my barrier floor down, but this is still an interesting question for me.. – Florrie Jul 4 '16 at 11:36
1

If it's not a problem, you can apply a speed debuff to armour through the use of attributes. If you do this, you can increase both the speed and the FOV with the Speed potion effect, then the attribute modifier on the boots will slow the player down. It'd take ages to tinker with and may have some odd consequences when jumping.

Just use this command as a base to start with to give the players boots, and play around with both the potency of the speed effect and the modifier on the boots.

/give @a minecraft:leather_boots 1 0 {AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"speedDebuff",Slot:"feet",UUIDMost:1,UUIDLeast:1,Operation:1,Amount:-0.1}]}

Change the Amount:-0.1 at the end. This currently modifies the players speed by -0.1, or -10% (they're the same thing).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.