-
How to add more hotkeys
il sistema e' in sviluppo direttamente dalla gaz per avere un interfaccia e farlo dalle opzioni, e gia stato annunciato sia per avere piu kbind che per avere dei modifier della barra, ma il lua per farlo manualmente e' gia integrato
ci sono due metodi per farlo e serve mettere delle righe di comando nell MarvelInput.ini
primo metodo e' bindare un tasto ad un abilita messa in una barra secondaria ed utilizzarlos enza switchare barra
aprire "MarvelInput.ini"
trovare la sezione: [MarvelGame.MarvelInput]
ed aggiungere questa linea
Code:
Bindings=(Name="Q",Command="SetCurrentAvatarAbilitySet 1 | PowerButtonPressed 2 | OnRelease PowerButtonReleased 2 | OnRelease SetCurrentAvatarAbilitySet 0")
in questa stringa abbiamo
- Name="Q" - is the key to be bound. Change "Q" to what you want (for numbers, use "one", "two", etc. See 'Mappable Keys' here: http://udn.epicgames.com/Three/KeyBinds.html)
- SetCurrentAvatarAbilitySet 1 - 1 is the number of the hotkey page, ranging from 0-2 (0 is default, 1 is page 2, 2 is page 3..)
- PowerButtonPressed 2 - This can be 0-7, 0 is the slot that would be the left mouse button slot, 1 is the right mouse button slot, and 2-7 are the 6 'normal' slots in between. (thx @Xenosaj )
- OnRelease PowerButtonRelease 2 - Just make sure this matches the button pressed above.
- OnRelease SetCurrentAvatarAbilitySet 0 - This returns you to the default hotkey bar when you let go of the key. Keep it set to 0.
quindi mettendo un abilita nel tasto 1 della seconda barra e bindandogli Q bastera premere Q affinche il gioco lo utilizzi
il secondo metodo invece e' avere dei tasti che siano dei modifier della barra, nell esempio e' alt quindi pressando alt compare la barra 2 ed al rilascio dell alt ritorna la 1
Code:
Bindings=(Name="LeftAlt",Command="SetCurrentAvatarAbilitySet 1 | OnRelease SetCurrentAvatarAbilitySet 0")
stasera provo a fare questa e come modifier mettere un thumbmouse button.
qua il thread originale
https://forums.marvelheroes.com/disc...hotkeys#latest
[Output: 4.97 Kb. compressed to 4.89 Kb. by saving 0.08 Kb. (1.57%)]