Link Search Menu Expand Document

Critical table

Функции


get_critical_table

int get_critical_table(int crittertype, int bodypart, int level, int valuetype)

Gets current critical table. For details see critical hit tables. Requires OverrideCriticalTable to be set to 1 in ddraw.ini. (Disabled by default, because it noticably increases loading times.)


reset_critical_table

void reset_critical_table(int crittertype, int bodypart, int level, int valuetype)

Resets the critical table to default (or to the contents of CriticalOverrides.ini, if it exists). For details see ‘http://falloutmods.wikia.com/wiki/Critical_hit_tables’. Requires OverrideCriticalTable to be set to 1 in ddraw.ini. (Disabled by default, because it noticably increases loading times.)


set_critical_table

void set_critical_table(int crittertype, int bodypart, int level, int valuetype, int value)

Used for modifying the critical table. For details see critical hit tables. Changes are not saved, and will reset to the defaults, (or to the contents of CriticalOverrides.ini, if it exists) at each game reload. Requires OverrideCriticalTable to be set to 1 in ddraw.ini. (Disabled by default, because it noticably increases loading times.)