Jump to content

Proficiency for halberds in the CRE file


temnix

Recommended Posts

6 hours ago, temnix said:

How did BG1 go about this with gnolls?

Assuming Gnolls are wielding Halberds (Category = 30; Weapon proficiency = PROFICIENCYHALBERD) and you want to give them 3 points:

  • WRITE_BYTE 0x71 3 // BG1 style
    SET_BG2_PROFICIENCY ~PROFICIENCYHALBERD~ 3 // BG2 / EE style

     

 

Edited by Luke
Link to comment

The original BG1 only used the old broad categories and .CRE flags. BG2 and its progeny (including the Tutu, BGT, BGEE and EET versions of BG1) use opcode 233 effects (ADD_CRE_EFFECT or SET_BG2_PROFICIENCY). 

Luke’s code covers both but the CRE flags are only necessary if you want to cover the original BG1 engine in all its 640x480 glory. 

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...