szapp / GothicFreeAim

Free aiming for the video game series Gothic
https://gfa.szapp.de
MIT License
36 stars 4 forks source link

ITEM_FOCUS #199

Closed dosinabox closed 3 years ago

dosinabox commented 3 years ago

Hello there! I'm getting the crash with the following error message when I launch my mod with Free Aim installed: U:PAR: \NINJA\FREEAIMING\CONTENT\GFA\_INTERN\COLLECTABLE.D:Unknown identifier: ITEM_FOCUS

Am I missing something in scripts?

dosinabox commented 3 years ago

Fixed by adding items flags from NotR vanilla:

const int ITEM_DAG = 1 << 13;
const int ITEM_SWD = 1 << 14;
const int ITEM_AXE = 1 << 15;
const int ITEM_2HD_SWD = 1 << 16;
const int ITEM_2HD_AXE = 1 << 17;
const int ITEM_SHIELD = 1 << 18;
const int ITEM_BOW = 1 << 19;
const int ITEM_CROSSBOW = 1 << 20;
const int ITEM_RING = 1 << 11;
const int ITEM_AMULET = 1 << 22;
const int ITEM_BELT = 1 << 24;
const int ITEM_DROPPED = 1 << 10;
const int ITEM_MISSION = 1 << 12;
const int ITEM_MULTI = 1 << 21;
const int ITEM_NFOCUS = 1 << 23;
const int ITEM_CREATEAMMO = 1 << 25;
const int ITEM_NSPLIT = 1 << 26;
const int ITEM_DRINK = 1 << 27;
const int ITEM_TORCH = 1 << 28;
const int ITEM_THROW = 1 << 29;
const int ITEM_ACTIVE = 1 << 30;