freespecial input commands like [Forward]+[Attack2]

erf_beto

Member
Can you change the input to activate a freespecial by pressing a direction and an a2, a3 or a4 button (like F+A2, D+A4, etc).

It's like SPECIAL2, but without the Special button.

I'm asking because I'm considering changing some special attacks in Knights and Dragons to more simple commands, so my little nephew (who worships the game) can play. I did this for MarvelFirstAlliance, but KnD has more specials than attack buttons! ;)

Thanks. :)
 
Code:
com {input1} {input2} ... {input15} freespecial{#}

~Allows you to customize freespecial input commands.
~The {#} should be the number of the freespecial you want to change. You can leave it blank for 1 or use 2 though 8 for 2 through 8. There is no space between freespecial and {#}.
~If you want to define this command for freespecial9 or higher, make sure
'maxfreespecial' (see models.txt above) has been set.

~{input#} defines which key must be pressed. It can be direction or action keys
~Accepted direction inputs are:
U: Up
D: Down
F: Forward
B: Back (The direction opposite your current direction. If used, the character will turn around.)
~Accepted action inputs are:
A: Attack button
A2: Attack button2
A3: Attack button3
A4: Attack button4
J: Jump button
S: Special attack button
K: Alternate special attack button
~You can define same input multiple times if you want to, example: F F A
~You can use either S or K for the special attack button commond. You can only use one or the other, so pick one and stick with it. This was done so that modders who use the special key for blocking can remember the key is used to blocK, not use Specials. (B would have been used, for Block, but B is already used for Back.)
~Make sure that you don't have any conflicts with other commands. RUN, DODGE, and the directional ATTACKs all have inputs which can be the same as freespecials.
~If you use B for {dir1}, flip the next input. The player changes direction, remember? So B, F, A would be 'turn around, move forward, attack', but since you turned around first, moving forward would mean moving in the direction you just turned to. If you wanted to have an input like Street Fighter's Guile or Charlie's Sonic Boom, you'd need to use B, B, A instead of B, F, A.

http://dcemulation.org/?title=OpenBORManual#Offense_.26_Defense
 
Sorry for not explaining, I just linked the manua.  If you want Forward+A2 to trigger freespecial2 for example then all you have to do is add

com F A2 freespecial2

to character's .TXT file, freespecial2 animation must exist thou.


@ Bloodbane - I think the freespecial inputs work pretty well these days without him needing keyscript. utunnels fixed/improved it
 
here is some examples to experiment with.

com  d u a1  freespecial        #Freespecial 1 command sequence.
com  u f a1    freespecial2      #Freespecial 2 command sequence.
com  d f a2    freespecial3      #Freespecial 3 command sequence.
com  f d a2    freespecial4      #Freespecial 4 command sequence.
com  d b a3  freespecial5      #Freespecial 5 command sequence.
com  u d a3  freespecial6      #Freespecial 6 command sequence.
com  d u a4  freespecial7      #Freespecial 7 command sequence.
com  u f a4    freespecial8      #Freespecial 8 command sequence.
 
Okay, So to be sure... If I added:
"com B A2 freespecial2" to the players .txt, It would function just like the "attackbackward" animation? I had know Idea. I'll try it out when I get home. Thanks!  ;D
 
actually just make the backward attack into freespecial2 and add
com A2 freespecial2 to the model text. so when you press A2 your character will perform the freespecial2 attack. its actually easier and more responsive to just press a button to do a back attack than to use a command plus a button, but that choice is yours
 
Back
Top Bottom