The Hazardous Realm
The Hazardous Realm

I think I've stumbled on something interesting (2-handed)

All topics related to the game 'Die by the Sword' and it's add-on 'Limb from Limb' go into this board!

I think I've stumbled on something interesting (2-handed)

Postby Blinn » 31 Oct 2011 14:10

I was browsing through some files in the Kobold data folder when I found a file that when I opened it with Notepad++, it contained some interesting information, including data on Two-handed mode. A bunch of numbers for a bunch of things. The name of the file is Kob_Hero.ATT. I've highlighted the two lines I found to be the most interesting.

EDIT: Code does not like formatting. :?

Code: Select all
ATT 1
RACE = 0.000000
MASS = 75.000000
JUMP_STRENGTH = 120.000000
JUMP_HEIGHT = 44.914406
STAND_HEIGHT = 33.068592
CROUCH_HEIGHT = 18.632288
TUCK_HEIGHT = 8.907467
ROT_RADIUS = 180.0000
FACING_VEL_RATIO = 0.330000
BACK_SPEED_MULT = 1.000000
RUN_SPEED_MULT = 1.600000
SIDE_SPEED_MULT = 1.000000
SPEED = 215.000000
RIGHT_ARM_STRENGTH = 11.341747
LEFT_ARM_STRENGTH = 11.341747
QUICKNESS = 1.600000
ROTATIONAL_QUICKNESS = 2.000000
DECEL_QUICKNESS_BOOST = 3.100000
STABILITY = 5.885580
ATTACK_SWAY = 1.000000
ATT_SYNC_ARMS_TO_BODY = 0.000000
ATT_LEFT_ARM_BODY_SWING = 0.500000
ATT_RIGHT_ARM_BODY_SWING = 0.500000
ATT_RIGHT_BLADE_AIM_RIGHT = 1.000000
ATT_RIGHT_BLADE_AIM_LEFT = 0.500000
ATT_LEFT_BLADE_AIM_RIGHT = 1.000000
ATT_LEFT_BLADE_AIM_LEFT = 0.500000
RIGHT_HANDED = 1.000000
RIGHT_WRIST_PHI_PEG_LOW = -96.000000
RIGHT_WRIST_PHI_PEG_HIGH = 10.000000
RIGHT_WRIST_PSI_PEG_LOW = -96.000000
RIGHT_WRIST_PSI_PEG_HIGH = 127.000000
RIGHT_ELBOW_PHI_PEG_LOW = -110.000000
RIGHT_ELBOW_PHI_PEG_HIGH = 10.000000
RIGHT_BICEP_PSI_PEG_LOW = -10.000000
RIGHT_BICEP_PSI_PEG_HIGH = 104.000000
RIGHT_SHOULDER_PHI_PEG_LOW = -64.000000
RIGHT_SHOULDER_PHI_PEG_HIGH = 34.000000
RIGHT_SHOULDER_THETA_PEG_LOW = -24.000000
RIGHT_SHOULDER_THETA_PEG_HIGH = 47.000000
LEFT_WRIST_PHI_PEG_LOW = -10.000000
LEFT_WRIST_PHI_PEG_HIGH = 96.000000
LEFT_WRIST_PSI_PEG_LOW = -96.000000
LEFT_WRIST_PSI_PEG_HIGH = 127.000000
LEFT_ELBOW_PHI_PEG_LOW = -10.000000
LEFT_ELBOW_PHI_PEG_HIGH = 110.000000
LEFT_BICEP_PSI_PEG_LOW = -10.000000
LEFT_BICEP_PSI_PEG_HIGH = 104.000000
LEFT_SHOULDER_PHI_PEG_LOW = -34.000000
LEFT_SHOULDER_PHI_PEG_HIGH = 64.000000
LEFT_SHOULDER_THETA_PEG_LOW = -47.000000
LEFT_SHOULDER_THETA_PEG_HIGH = 14.000000
ATT_RIGHT_WRIST_PHI_SCALE = 1.000000
ATT_LEFT_WRIST_PHI_SCALE = 1.000000
ATT_RIGHT_WRIST_PSI_SCALE = 1.000000
ATT_LEFT_WRIST_PSI_SCALE = 1.000000
ATT_RIGHT_ELBOW_PHI_SCALE = 1.600000
ATT_LEFT_ELBOW_PHI_SCALE = 1.000000
ATT_RIGHT_BICEP_PSI_SCALE = 1.100000
ATT_LEFT_BICEP_PSI_SCALE = 1.100000
ATT_RIGHT_SHOULDER_PHI_SCALE = 1.000000
ATT_LEFT_SHOULDER_PHI_SCALE = 1.000000
ATT_RIGHT_SHOULDER_THETA_SCALE = 0.800000
ATT_LEFT_SHOULDER_THETA_SCALE = 0.800000
ATT_RIGHT_WRIST_PHI_RANGE = 106.000000
ATT_LEFT_WRIST_PHI_RANGE = 106.000000
ATT_RIGHT_WRIST_PSI_RANGE = 223.000000
ATT_LEFT_WRIST_PSI_RANGE = 223.000000
ATT_RIGHT_ELBOW_PHI_RANGE = 120.000000
ATT_LEFT_ELBOW_PHI_RANGE = 120.000000
ATT_RIGHT_BICEP_PSI_RANGE = 114.000000
ATT_LEFT_BICEP_PSI_RANGE = 114.000000
ATT_RIGHT_SHOULDER_PHI_RANGE = 128.000000
ATT_LEFT_SHOULDER_PHI_RANGE = 128.000000
ATT_RIGHT_SHOULDER_THETA_RANGE = 141.000000
ATT_LEFT_SHOULDER_THETA_RANGE = 141.000000
RIGHT_PSI_LOW = -45.000000
RIGHT_PSI_CENTER = 15.000000
RIGHT_PSI_HIGH = 45.000000
RIGHT_THETA_LOW = -25.000000
RIGHT_THETA_CENTER = 20.000000
RIGHT_THETA_HIGH = 70.000000
RIGHT_RHO_LOW = 0.500000
RIGHT_RHO_CENTER = 0.900000
RIGHT_RHO_HIGH = 0.975000
LEFT_PSI_LOW = -45.000000
LEFT_PSI_CENTER = 15.000000
LEFT_PSI_HIGH = 45.000000
LEFT_THETA_LOW = -70.000000
LEFT_THETA_CENTER = -20.000000
LEFT_THETA_HIGH = 12.000000
LEFT_RHO_LOW = 0.500000
LEFT_RHO_CENTER = 0.900000
LEFT_RHO_HIGH = 0.975000
RIGHT_TM_PSI_LOW = -45.000000
RIGHT_TM_PSI_CENTER = -7.000000
RIGHT_TM_PSI_HIGH = 45.000000
RIGHT_TM_THETA_LOW = -25.000000
RIGHT_TM_THETA_CENTER = 0.000000
RIGHT_TM_THETA_HIGH = 70.000000
RIGHT_TM_RHO_LOW = 0.500000
RIGHT_TM_RHO_CENTER = 0.900000
RIGHT_TM_RHO_HIGH = 0.975000
LEFT_TM_PSI_LOW = -45.000000
LEFT_TM_PSI_CENTER = -7.000000
LEFT_TM_PSI_HIGH = 45.000000
LEFT_TM_THETA_LOW = -70.000000
LEFT_TM_THETA_CENTER = 0.000000
LEFT_TM_THETA_HIGH = 12.000000
LEFT_TM_RHO_LOW = 0.500000
LEFT_TM_RHO_CENTER = 0.900000
LEFT_TM_RHO_HIGH = 0.975000
RIGHT_BM_PSI_LOW = -45.000000
RIGHT_BM_PSI_CENTER = 15.000000
RIGHT_BM_PSI_HIGH = 5.000000
RIGHT_BM_THETA_LOW = -25.000000
RIGHT_BM_THETA_CENTER = 0.000000
RIGHT_BM_THETA_HIGH = 50.000000
RIGHT_BM_RHO_LOW = 0.500000
RIGHT_BM_RHO_CENTER = 0.900000
RIGHT_BM_RHO_HIGH = 0.950000
LEFT_BM_PSI_LOW = -45.000000
LEFT_BM_PSI_CENTER = 15.000000
LEFT_BM_PSI_HIGH = 5.000000
LEFT_BM_THETA_LOW = -50.000000
LEFT_BM_THETA_CENTER = 0.000000
LEFT_BM_THETA_HIGH = 12.000000
LEFT_BM_RHO_LOW = 0.500000
LEFT_BM_RHO_CENTER = 0.900000
LEFT_BM_RHO_HIGH = 0.950000
MAIN_NOSE_X = 11.100000
MAIN_NOSE_Y = 10.508194
MAIN_NOSE_Z = 0.000000
OFF_NOSE_X = -11.100000
OFF_NOSE_Y = 10.508194
OFF_NOSE_Z = 0.000000
BLADE_AIM_HELPER_SPEED = 38.652588
BLADE_AIM_LOW_SPEED = 14.494720
MAX_FLIP_RATE = 585.000000
QUICK_THRUST = 1152.000000
QUICK_DIST = 131.538040
QUICK_FOOT_LIFT = 2.655594
PRE_JUMP_HUNCH = 10.000000
CHEST_TILT_SCALE = 1.000000
BASE_CHEST_TILT = 0.000000
STANCE_BODY_THETA = -15.000000
STANCE_INTERFOOT_PCT = 0.500000
STANCE_INTRAFOOT_Z = 0.000000
STANCE_FOOT_DISP = 7.153804
STANCE_FOOT_H_DISP = 5.365353
STANCE_FOOT_FORWARD = 1.000000
STANCE_HUNCH_ANGLE = 0.000000
STANCE_EXIT_SPEED = 144.000000
STANCE_BOUNCE = 80.923680
STANCE_CROUCH = 0.000000
STANCE_DEFAULT_OFFSET_X = 8.192967
STANCE_DEFAULT_OFFSET_Z = -4.640022

 
GAIT_PACE_LENGTH = 71.538040
GAIT_ARM_SWING_SCALE = 1.000000
MAX_FOOT_SPAN = 35.769020
MIN_FOOT_SPAN = 28.615217
GAIT_PACE_LENGTH_MAX_SPEED = 288.000000
GAIT_FOOT_LIFT_PCT = 0.500000
GAIT_FOOT_H_DISP = 0.000000
BLEEDS = 1.000000
BLOOD_COLOR_RED = 60.000000
BLOOD_COLOR_GREEN = 0.000000
BLOOD_COLOR_BLUE = 0.000000
DEFAULT_STANCE = 0.000000
VCYLINDER_YADJUST = 0.000000
VCYLINDER_MIN_HEIGHT = 67.958801
VCYLINDER_MAX_HEIGHT = 67.958801
VCYLINDER_RADIUS = 33.979401
VCYLINDER_YMIDFACTOR = 0.650000
HANDLE_X = 0.000000
HEAD_SPEED = 1.000000
CAN_SWIM = 0.000000
SWIM_DEPTH = 30.000000
WATER_LAUNCH_STRENGTH = 100.000000
WATER_NATIVE = 0.000000
THROWING_ACCURACY = 100.000000
BODY_CAPSULE_BASE_Y_ADJUST = 0.000000
BODY_CAPSULE_END_Y_ADJUST = 0.000000
TREAD_WATER_TIME = 150.000000
SIZE = 1.000000
IMMORTAL = 0.000000
TWO_FISTED = 0.000000
STATIC_WRIST_AIMING = 1.000000
STANCE_DEFAULT_OFFSET_X = 3.753179
STANCE_DEFAULT_OFFSET_Z = -4.396418
MAX_DAMAGE = 200
EOF


It turns out that "RIGHT_HANDED" has a number, just like TWO_FISTED. My theory is that if you were to cut RIGHT_HANDED in half and put 0.500000, and increase TWO_FISTED to 1.000000, that may be a good place to start tinkering to see if you can get the Two-Handed Mode to work, using the Magmar and Mantis as a reference. If you compare how the controls work for a one-handed creature with a two-handed creature, and in some way, import the working Mouse VSIM controls over to creatures like the Mantis, Trog, and Magmar, then, if they work well, you could "mirror" the VSIM for the right arm so that it also works for the left arm. This is just a theory, thus I have no clue how much it would take to implement this. With that in mind, I think I'll back up my folders and see if I can experiment with this a little myself and see what happens. *Puts on crash helmet* :mrgreen:
Blinn
Skeleton
Skeleton
 
Posts: 48
Joined: 10 May 2011 23:04

Re: I think I've stumbled on something interesting (2-handed

Postby Hazard » 31 Oct 2011 14:38

It will be interesting to see what your findings are while experimenting with those values. :)

BTW: You don't need to back up your original game data when modding with Xtended. I made sure that you can mod stuff without editing the ATD files. Go into the Options of the xLauncher and set the "Filesystem" option to "Prefer unpacked files on disk". This tells the game to look for files on disk first and only use files from the ATDs if it is not found on disk. This way you can just extract the Kobold.atd and edit the data\Kobold\Kob_Hero.ATT file and it will take effect ingame without the need to pack the ATD up again.
Link
- < !!! Be Hazardous !!! > -
User avatar
Hazard
Hazardous Code Monkey
 
Posts: 185
Joined: 05 Jan 2006 19:49

Re: I think I've stumbled on something interesting (2-handed

Postby Blinn » 31 Oct 2011 16:44

Hazard wrote:It will be interesting to see what your findings are while experimenting with those values. :)

BTW: You don't need to back up your original game data when modding with Xtended. I made sure that you can mod stuff without editing the ATD files. Go into the Options of the xLauncher and set the "Filesystem" option to "Prefer unpacked files on disk". This tells the game to look for files on disk first and only use files from the ATDs if it is not found on disk. This way you can just extract the Kobold.atd and edit the data\Kobold\Kob_Hero.ATT file and it will take effect ingame without the need to pack the ATD up again.


... :?

I think I'll just stick with the way I do things. :3

I think I can actually modify the other values so that the creatures can do the following:

-- Become essentially invincible due to uberized armor levels (not to be taken seriously of course, but could be used for testing combat-related stuff, or a workaround for the MUKOR cheat which stops the cuts from injuries from showing.)

-- Breathe and fight in deep water (take that River Run :twisted: ).

-- Alter jump height and velocity.

-- *hopefully* get two-handed mode to work with mouse VSIM.

-- A bunch of other stuff I can't remember off the top of my head.
Blinn
Skeleton
Skeleton
 
Posts: 48
Joined: 10 May 2011 23:04


Return to 'Die by the Sword' Fan and Modding Community



cron