Page 1 of 1
modify item and got error
Posted: Sun Feb 06, 2005 1:03 pm
by greg28j
using ieep,i tried to change colors on shadow armor,and then i clua console it into my game.when i tried to equip it to my thief , POW , the game crashes and i get : An Assertion failed in D:\Dev\baldur\CGameEffect.cpp at line number 1112.
Posted: Sun Feb 06, 2005 4:31 pm
by The Great Hairy
You've changed the item too much - the game can't intepret it anymore. You'll have to remove the item - revert to an earlier save.
Cheers,
TGHO
Posted: Sun Feb 06, 2005 9:39 pm
by greg28j
i figured it out.what i did was extracted the shadow armor from bg2,modified it , then tried to equip it in bg1.although i'm not quite sure what the difference is.
Posted: Mon Feb 07, 2005 5:03 pm
by The Great Hairy
Different identifiers within the code. The structure of the games is not exactly the same - the graphics for the items changed to begin with.
Cheers,
TGHO
Posted: Wed Feb 09, 2005 11:04 am
by Andyr
He's right, the opcodes may well have been different.
Also, changing the colour in itself can cause the game to crash - I think you have to stick to values under 100 on the palette.