Editing Talk:Pain state
From DoomWiki.org
Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 566: | Line 566: | ||
For Hexen, it differs: the array of numbers ({{c|M_MISC.C}} lines 139-156) now includes ''one'' occurrence of each number 0-255. Therefore the prior approach of dividing pain chance values by 256 actually gives correct percentages. Other statements look unchanged: the conditional test is line 2056 of {{c|P_INTER.C}}, and {{c|P_Random()}} is line 1251 of {{c|H2DEF.H}} (except it's now a {{c|#define}} instead of a function, which I think only matters at a low level, below such things as actor behavior). [[User:Ryan W|Ryan W]] ([[User talk:Ryan W|talk]]) 20:47, 11 March 2016 (CST) | For Hexen, it differs: the array of numbers ({{c|M_MISC.C}} lines 139-156) now includes ''one'' occurrence of each number 0-255. Therefore the prior approach of dividing pain chance values by 256 actually gives correct percentages. Other statements look unchanged: the conditional test is line 2056 of {{c|P_INTER.C}}, and {{c|P_Random()}} is line 1251 of {{c|H2DEF.H}} (except it's now a {{c|#define}} instead of a function, which I think only matters at a low level, below such things as actor behavior). [[User:Ryan W|Ryan W]] ([[User talk:Ryan W|talk]]) 20:47, 11 March 2016 (CST) | ||
− | |||
− |