Scripting for Dark Souls II SOTFS Movesets and Bullets on the end of attacks

Dec 4, 2017
5
0
1
#1
Recently, I have been trying to get back into Dark Souls II, and wanted to do some unique builds/runs with altered movesets and bullets on the ends of my attacks. I know how to do this using a cheat table, but it takes a fairly long period of time to set up every time I open the game. I'd like to make a script to be able to enable this at the click of a button, however, I'm fairly unskilled when it comes to coding and coding languages (practically no experience with assembly or lua). I was wondering if there was anywhere you all could point me for learning more about these languages from a noob perspective, or help with my overarching goal to make these scripts. I apologize for any inconvenience that may arise from my ignorance, and thanks in advance.
 
Mar 26, 2017
6
0
1
#2
Pretty sure you wont be using lua but I imagine you could.

Can just do simple asm that uses the param + offset of weapon attack.
Code:
[enable]
[[[[BaseA]+18]+440]+D8]+17E28:
   db E0 5C 16 02

[[[[BaseA]+18]+440]+D8]+16F28:
   db 70 CA EB 01
[disable]
[[[[BaseA]+18]+440]+D8]+17E28:
   db 00 00 00 00

[[[[BaseA]+18]+440]+D8]+16F28:
   db 00 00 00 00
This is pretty much what I mean it's pretty dated but iirc the [[[[BaseA]+18]+440]+D8]+0 is the WeaponAttackMotionParam. Been awhile since I've bothered with CE on anything DS so i can't really remember how to get the last offset.
 
Dec 4, 2017
5
0
1
#3
Thank you! That Param is only for adding bullets, yes? What about altering the Moveset itself? (i.e. put running attack from bone fist on smelter sword etc). And the last offset on that param is just for which attack you want the bullet on? Sorry for all the questions, just trying to get this straight. Thank you again!
 
Dec 4, 2017
5
0
1
#4
The better question would be how did you figure out that that is the WeaponAttackMotionParam? Is there a list or just common sense? Thanks!
 
Dec 4, 2017
5
0
1
#5
Nvm I found out how you get the param. Thanks for all your help! I'll play around with it and see what I can do. If I have more questions I'll ask. Thanks again!
 
Mar 26, 2017
6
0
1
#6
drgoobahmuffin post_id=27211 time=1512489277 user_id=11054 said:
Thank you! That Param is only for adding bullets, yes? What about altering the Moveset itself? (i.e. put running attack from bone fist on smelter sword etc). And the last offset on that param is just for which attack you want the bullet on? Sorry for all the questions, just trying to get this straight. Thank you again!
I believe you would take the address of your attack and minus it from the address of the param then add an offset. In this case to use bullets on swings it was offset 38 or 3C in the Weapon attack motion param helper.
 
Dec 4, 2017
5
0
1
#7
Thanks again! After some messing around, I figured it out. You add an offset to get to the address of the attack you are working with (the 5 digit hexadecimal above) to alter the moveset itself. If you want to add bullets, add their offset (038 or 03C) to the 5 digit offset described above (I converted to decimal and back to hexadecimal). Thank you again for all your help!
 
Top Bottom