zhad3 / zrenderer

A renderer for Ragnarok Online sprites

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Research lua files for "offsetitempos" and "ridingspreditinfo"

zhad3 opened this issue · comments

commented

Research whether they are used during the rendering process.

commented

OffsetItemPos_GetOffsetForDoram(in_classNum, in_direction, in_sex) defined in offsetitempos_f.lub with data from offsetitempos.lub is definitely being used.

Tested with the headgear ACCESSORY_Subject_Aura_Red = 1418 which has a defined offset for e.g. (OffsetItemPos.AddOffsetForDoram)(1418, (OffsetItemPos.Direction).FRONT, {y = -30});.

Reference image:
https://imgur.com/a/Ck3Ula7

commented

ridingspreditinfo.lub and ridingspreditinfo_f.lub are not used ingame. Maybe they're used when creating the mount sprites themselves and the offsets appear in the respective *.act files. Who knows.