## Description ##

This mod can do several things : 
* PhotoMOD : in town or during battle, you can use the "spectator" view, the same view you have when you die in battle. You can then pause the game and take as many screenshots as you want.
* No HUD   : in town or during battle, you can toggle the HUD, to remove every piece of UI from the screen (see "Mod configuration").
* Total War: in photo mode, you can keep commanding your troops!

It can be used:
* In town
* During campaign battles
* During custom battles

## Usage ##

The keys are configurable (see "Mod configuration").
F10 : toggle photo mode
Q   : toggle pause
F11 : toggle HUD
??  : toggle the banners on the friendly troops (default: disabled as it is already remove in photo mode)
??  : modify the FoV while in photo mode

## Manual installation Instructions ##

* Extract the "PhotoMOD" folder into "Mount & Blade II Bannerlord\Modules" 
* Launch Mount and Blade Bannerlord and enable "PhotoMOD" under Singleplayer mods.
* Profit

## Compatibility ##

Tested with 1.0.8.
In case of any bug or suggestion, please post them on the mod page and I will answer asap.

## Notes ##

I cannot remove the icons over the troop heads for now, you will have to do it from your in game options.
The mod does not save you screenshots nor takes it for you =).
It is possible to keep commanding your troops from PhotoMOD!

The "toggleBannersKey" does not anything more than changing your bannerlord configuration. I disabled it only because I don't know which key to put there.

## Mod configuration ##

See config.ini

# See the README file for the key codes
# Key to enter photo mode (default: f10)
freeKey=68
# Default: disabled as I don't know which key to put here. 
toggleBannersKey=-1

################### NO HUD ##########################
# Key to toggle the UI (default: f11)
toggleUIKey=87
# 0 if you want to keep the UI while activating photo mode
DisableUIOnPhoto=1
# 1 if you want to be able to remove the UI while out of photomode
DisableUIOutOfPhoto=0

################### Pause ###########################
# 1 if you want to pause the game automatically when activating photo mode
defaultPauseOnPhotoMode=1
# default: Q
pauseKey=16
# 1 if you want to be able to pause the game while out of photo mode
pauseOutOfPhoto=0

################### FOV #############################
# Key to toggle the custom FOV in photo mode
toggleFovKey=-1
# Key to increase the Fov (default: numpad+)
increaseFovKey=78
# Key to decrease the Fov (default: numpad-)
decreaseFovKey=74
# Custom Fov (default: 90)
customFOV=90


################### Slow motion #################
# Key to go faster while on photomod (default: numpad1)
slowMoFasterKey=79
# Key to go slower while on photomod (default: numpad2)
slowMoSlowerKey=80
# Key to reset the camera speed (default: numpad3)
slowMoKey=81
# 1 if you want to be able to activate slow motion outside of photo mode
slowMoOutOfPhoto=1

## Here is the key mapping ##

Escape=1
D1=2
D2=3
D3=4
D4=5
D5=6
D6=7
D7=8
D8=9
D9=10
D0=11
Minus=12
Equals=13
BackSpace=14
Tab=15
Q=16
W=17
E=18
R=19
T=20
Y=21
U=22
I=23
O=24
P=25
OpenBraces=26
CloseBraces=27
Enter=28
LeftControl=29
A=30
S=31
D=32
F=33
G=34
H=35
J=36
K=37
L=38
SemiColon=39
Apostrophe=40
Tilde=41
LeftShift=42
BackSlash=43
Z=44
X=45
C=46
V=47
B=48
N=49
M=50
Comma=51
Period=52
Slash=53
RightShift=54
NumpadMultiply=55
LeftAlt=56
Space=57
CapsLock=58
F1=59
F2=60
F3=61
F4=62
F5=63
F6=64
F7=65
F8=66
F9=67
F10=68
Numpad7=71
Numpad8=72
Numpad9=73
NumpadMinus=74
Numpad4=75
Numpad5=76
Numpad6=77
NumpadPlus=78
Numpad1=79
Numpad2=80
Numpad3=81
Numpad0=82
NumpadPeriod=83
Extended=86
F11=87
F12=88
NumpadEnter=156
RightControl=157
NumpadSlash=181
RightAlt=184
NumLock=197
Home=199
Up=200
PageUp=201
Left=203
Right=205
End=207
Down=208
PageDown=209
Insert=210
Delete=211
ControllerLStick=222
ControllerRStick=223
LeftMouseButton=224
RightMouseButton=225
MiddleMouseButton=226
X1MouseButton=227
X2MouseButton=228
MouseScrollUp=229
MouseScrollDown=230
ControllerLStickUp=232
ControllerLStickDown=233
ControllerLStickLeft=234
ControllerLStickRight=235
ControllerRStickUp=236
ControllerRStickDown=237
ControllerRStickLeft=238
ControllerRStickRight=239
ControllerLUp=240
ControllerLDown=241
ControllerLLeft=242
ControllerLRight=243
ControllerRUp=244
ControllerRDown=245
ControllerRLeft=246
ControllerRRight=247
ControllerLBumper=248
ControllerRBumper=249
ControllerLOption=250
ControllerROption=251
ControllerLThumb=252
ControllerRThumb=253
ControllerLTrigger=254
ControllerRTrigger=25