Walk Mod |
Thu, 19 September 2013 04:50 |
Artofeel
Messages: 195 Registered: August 2013 Location: Russia
|
Senior Member |
|
|
since developers did not bother to "walk mode", we can do it for them
go to
%AppData%\Lionhead Studios\Fable 3\Controls\"your xuid"
example:
%AppData%\Lionhead Studios\Fable 3\Controls\1000100010001000
and open Controls.xml
then go to the 8588 line and see the following:
<GameActionInputCombination>
<GameAction type="int">1</GameAction>
<Modifier type="bool">False</Modifier>
<OnePerFrame type="bool">True</OnePerFrame>
<ReconfigurableInputLabel type="int">15</ReconfigurableInputLabel>
<ModifierInput></ModifierInput>
<Inputs>
<Input>
<Type type="int">1</Type>
<KeyboardKey type="int">17</KeyboardKey>
<EventType type="int">2</EventType>
<ControlDirection>
<X type="float">0.000000 0</X>
<Y type="float">1.000000 3F800000</Y>
</ControlDirection>
</Input>
</Inputs>
</GameActionInputCombination>
this is "Forward" button, default "W"
modify speed (Y type), for example reduced by half:
<Y type="float">0.500000 3F000000</Y>
important change Hex64 value (3F800000), float itself will change after game loading, but you can own.
then go to line 8660
<GameActionInputCombination>
<GameAction type="int">1</GameAction>
<Modifier type="bool">False</Modifier>
<OnePerFrame type="bool">True</OnePerFrame>
<ReconfigurableInputLabel type="int">16</ReconfigurableInputLabel>
<ModifierInput></ModifierInput>
<Inputs>
<Input>
<Type type="int">1</Type>
<KeyboardKey type="int">31</KeyboardKey>
<EventType type="int">2</EventType>
<ControlDirection>
<X type="float">0.000000 0</X>
<Y type="float">-1.000000 BF800000</Y>
</ControlDirection>
</Input>
</Inputs>
</GameActionInputCombination>
this is "Backward", default "S"
reduce speed twice:
<Y type="float">-0.500000 BF000000</Y>
then go to line 8732
<GameActionInputCombination>
<GameAction type="int">1</GameAction>
<Modifier type="bool">False</Modifier>
<OnePerFrame type="bool">True</OnePerFrame>
<ReconfigurableInputLabel type="int">17</ReconfigurableInputLabel>
<ModifierInput></ModifierInput>
<Inputs>
<Input>
<Type type="int">1</Type>
<KeyboardKey type="int">30</KeyboardKey>
<EventType type="int">2</EventType>
<ControlDirection>
<X type="float">-1.000000 BF800000</X>
<Y type="float">0.000000 0</Y>
</ControlDirection>
</Input>
</Inputs>
</GameActionInputCombination>
this is "Left", default "A"
reduce speed (X type) twice:
<X type="float">-0.500000 BF000000</X>
then go to line 8804
<GameActionInputCombination>
<GameAction type="int">1</GameAction>
<Modifier type="bool">False</Modifier>
<OnePerFrame type="bool">True</OnePerFrame>
<ReconfigurableInputLabel type="int">18</ReconfigurableInputLabel>
<ModifierInput></ModifierInput>
<Inputs>
<Input>
<Type type="int">1</Type>
<KeyboardKey type="int">32</KeyboardKey>
<EventType type="int">2</EventType>
<ControlDirection>
<X type="float">1.000000 3F800000</X>
<Y type="float">0.000000 0</Y>
</ControlDirection>
</Input>
</Inputs>
</GameActionInputCombination>
this is "Right", default "D"
reduce speed twice:
<X type="float">0.500000 3F000000</X>
then go to line 8318
<GameActionInputCombination>
<GameAction type="int">76</GameAction>
<Modifier type="bool">False</Modifier>
<OnePerFrame type="bool">True</OnePerFrame>
<ReconfigurableInputLabel type="int">9</ReconfigurableInputLabel>
<ModifierInput></ModifierInput>
<Inputs>
<Input>
<Type type="int">1</Type>
<KeyboardKey type="int">42</KeyboardKey>
<EventType type="int">1</EventType>
<ControlDirection>
<X type="float">0.000000 0</X>
<Y type="float">0.000000 0</Y>
</ControlDirection>
</Input>
</Inputs>
</GameActionInputCombination>
this is "RUN", default "Shift"
change it (KeyboardKey type) to the Caps-Lock, for example
KeyboardKey type="int">58</KeyboardKey>
again go to line 8588
and copy-paste this after "Forward" button
<GameActionInputCombination>
<GameAction type="int">1</GameAction>
<Modifier type="bool">False</Modifier>
<OnePerFrame type="bool">True</OnePerFrame>
<ReconfigurableInputLabel type="int">15</ReconfigurableInputLabel>
<ModifierInput></ModifierInput>
<Inputs>
<Input>
<Type type="int">1</Type>
<KeyboardKey type="int">42</KeyboardKey>
<EventType type="int">2</EventType>
<ControlDirection>
<X type="float">0.000000 0</X>
<Y type="float">0.500000 3F000000</Y>
</ControlDirection>
</Input>
</Inputs>
</GameActionInputCombination>
it will be a new button "Shift" for additional forward speed
Of course you may not reduce speeds: back\left\right
in addition, the modified Controls.xml
|
|
|
Re: Walk Mod |
Fri, 11 September 2015 14:18 |
TheGeniusSavant
Messages: 68 Registered: September 2015
|
Member |
|
|
Oh, my... this is over my head... where do I go to find this!
Edit: Found it. Mine is in:
C:\Users\(Username)\AppData\Roaming\Lionhead Studios\Fable 3\Controls\1000100010001000
[Updated on: Wed, 16 September 2015 09:50] Report message to a moderator
|
|
|
|
|
|
|
Re: Walk Mod |
Wed, 30 September 2015 14:07 |
TheGeniusSavant
Messages: 68 Registered: September 2015
|
Member |
|
|
So, I finally figured out how to make this mod bearable for me.
First of all, for my directional keys, I bumped my "walk" speed up to 0.6 (so, your first instruction, I changed the line as follows)
<Y type="float">0.600000 3F000000</Y>
I left the "shift" key for extra "forward" just like you said (0.5).
But the REAL kicker was that I went into %game%\data\scripts\miscellaneous and changed up a few things in
herolocomotionstates.lua
line8 HeroLocomotionData.MaxSpeed = 5.00
line24 HeroLocomotionDataHandHoldingLeader.MaxSpeed = 4.75
line56 HeroLocomotionDataIndoorsDefault.MaxSpeed = 4.6
line1360 HeroLocomotionStateLocomoteForwardsUphill.VerticalVelocityRange = CVector3(0.5, 2, 0)
line1361 HeroLocomotionStateLocomoteForwardsUphill.TerminationVerticalVelocityRange = CVector3(0.04, 2, 0)
line1414 HeroLocomotionStateLocomoteForwardsDownhill.VerticalVelocityRange = CVector3(-2, -0.5, 0)
line1415 HeroLocomotionStateLocomoteForwardsDownhill.TerminationVerticalVelocityRange = CVector3(-2, -0.04, 0)
These changes combine to make the max sprint speed ALMOST 8.0, the definitional maximum speed in the game while giving you a pleasant range of speeds:
speeds
5.00*0.5=2.50 - slow walk ("shift")
5.00*0.6=3.00 - walk ("forward")
5.00*(0.50*1.45)=3.62 - fast walk ("shift" * "sprintToggle")
5.00*(0.60*1.45)=4.35 - jog ("forward" * "sprintToggle")
5.00*(0.60+0.50)=5.51 - run ("forward" + "shift")
5.00*((0.60+0.50)*1.45)=7.98 - sprint (("forward + "shift") * "sprintToggle")
Also nice is that if your "sprintToggle" gets automatically turned off, you're not dragged down too badly.
Anyway, I hope this helps someone! Let me know if you want me to post files!
|
|
|
Re: Walk Mod |
Thu, 01 October 2015 10:16 |
TheGeniusSavant
Messages: 68 Registered: September 2015
|
Member |
|
|
So, holding down the "shift" key was starting to hurt my poor little pinky finger (wah...)
I decided to fix it (after moving the two seemingly useless "F" buttons to "X") by moving ALL "E" presses to "F" (that's interactions like opening doors, whistling to dog, talking to people, etc.) and moving the "shift" to "E"! Now I can EASILY hold down BOTH forward buttons, whether using TWO fingers and steering solely by the mouse or pressing both with ONE finger! (There is one minor glitch. I can't turn right while "double" sprinting (holding both forward buttons). I don't know if it's just overloading that part of the keyboard, or what.)
Then I moved the sprint Toggle back to Lshift
Find and Replace values in quotes[code]
FindALL = "<KeyboardKey type="int">33</KeyboardKey>", ReplaceALLWith = "<KeyboardKey type="int">45</KeyboardKey>
FindALL = "<KeyboardKey type="int">18</KeyboardKey>", ReplaceALLWith = "<KeyboardKey type="int">33</KeyboardKey>
Find(extraForward) = "<KeyboardKey type="int">42</KeyboardKey>", ReplaceWith = "<KeyboardKey type="int">18</KeyboardKey>
Find(sprintToggle) = "<KeyboardKey type="int">58</KeyboardKey>", ReplaceWith = "<KeyboardKey type="int">42</KeyboardKey>
[code]
|
|
|