Jump to content


Photo

Issues with GemRB 0.8.4


36 replies to this topic

#31 lynx

lynx
  • Modders
  • 2990 posts
  • Gender:Male
  • Location:Ljubljana, Slovenija

Posted 18 March 2017 - 04:29 AM

how many you have before doesn't really matter. Can you dig up the dialog/script that gets run (I guess it calls AddSpecialAbility)? Btw, if you ctrl-m on a character, you'll also get a dump of her spellbook.


GemRB - IE anywhere.
Mages needed! Looking for Planescape: Torment testers
Market android version IS NOT SUPPORTED ANYMORE: reported bugs will be ignored! Still looking for builders ...

#32 Caillean

Caillean
  • Members
  • 77 posts
  • Gender:Female
  • Location:European Union

Posted 18 March 2017 - 05:32 AM

The Bhaal powers are added via charname's script (player1d.bcs). It uses ApplySpellRES:

ApplySpellRES("GOODDRM2",Player1)

EDIT: Found something else about the Breagar cutscene, since I had just another one that didn't work: in both scripts, it seems an actor is called that isn't there - yet. Simply changing the order of the lines in the script makes both cutscenes work as intended. In case of the first cutscene script we talked about, changing

ActionOverride(Player2,LeaveAreaLUA("AC6701","",[651.547],10))
ActionOverride(Player3,LeaveAreaLUA("AC6701","",[762.666],10))
ActionOverride(Player4,LeaveAreaLUA("AC6701","",[682.617],10))
ActionOverride(Player5,LeaveAreaLUA("AC6701","",[633.582],10))
ActionOverride(Player6,LeaveAreaLUA("AC6701","",[602.523],10))
ActionOverride("ACBRESMI",LeaveAreaLUA("AC6701","",[851.508],10))
LeaveAreaLUAPanic("AC6701","",[758.620],10)
LeaveAreaLUA("AC6701","",[758.620],10)

to

ActionOverride("ACBRESMI",LeaveAreaLUA("AC6701","",[851.508],10))
LeaveAreaLUAPanic("AC6701","",[758.620],10)
LeaveAreaLUA("AC6701","",[758.620],10)
ActionOverride(Player2,LeaveAreaLUA("AC6701","",[651.547],10))
ActionOverride(Player3,LeaveAreaLUA("AC6701","",[762.666],10))
ActionOverride(Player4,LeaveAreaLUA("AC6701","",[682.617],10))
ActionOverride(Player5,LeaveAreaLUA("AC6701","",[633.582],10))
ActionOverride(Player6,LeaveAreaLUA("AC6701","",[602.523],10))

will resolve the whole problem. So it seems like GemRB wanted to apply the visual effects to acbresmi even though that actor wasn't in the area yet.


Edited by Caillean, 18 March 2017 - 07:20 AM.


#33 lynx

lynx
  • Modders
  • 2990 posts
  • Gender:Male
  • Location:Ljubljana, Slovenija

Posted 18 March 2017 - 07:13 AM

That seems like a bgt-only spell, since it doesn't resolve in bg1 or bg2 here. :(


GemRB - IE anywhere.
Mages needed! Looking for Planescape: Torment testers
Market android version IS NOT SUPPORTED ANYMORE: reported bugs will be ignored! Still looking for builders ...

#34 Caillean

Caillean
  • Members
  • 77 posts
  • Gender:Female
  • Location:European Union

Posted 18 March 2017 - 07:24 AM

I think you're right here, it seems those additions to charnames' script are BGT specific. Well, if that's helping, those dream spells do two things. First, it adds the innate ability to player 1. Then it prints the message 'Gained special ability: ...'



#35 lynx

lynx
  • Modders
  • 2990 posts
  • Gender:Male
  • Location:Ljubljana, Slovenija

Posted 18 March 2017 - 09:13 AM

I took it from github and it appears that opcode ignores flags, that's all.


GemRB - IE anywhere.
Mages needed! Looking for Planescape: Torment testers
Market android version IS NOT SUPPORTED ANYMORE: reported bugs will be ignored! Still looking for builders ...

#36 Caillean

Caillean
  • Members
  • 77 posts
  • Gender:Female
  • Location:European Union

Posted 18 March 2017 - 09:52 AM

Works now, great :)



#37 lynx

lynx
  • Modders
  • 2990 posts
  • Gender:Male
  • Location:Ljubljana, Slovenija

Posted 16 September 2017 - 10:20 AM

I've investigated Cernd now and he works fine in an unmodded game. Must've been some mod that changed his shapeshift spells for the worse.


GemRB - IE anywhere.
Mages needed! Looking for Planescape: Torment testers
Market android version IS NOT SUPPORTED ANYMORE: reported bugs will be ignored! Still looking for builders ...



Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users