[Scummvm-tracker] [ScummVM] #10835: QFG4: Mage stuck unable to cast spells in endgame crystal room
ScummVM
trac at scummvm.org
Mon Dec 31 03:52:29 CET 2018
#10835: QFG4: Mage stuck unable to cast spells in endgame crystal room
--------------------------------+----------------------------
Reporter: Vhati | Owner: (none)
Type: defect | Status: new
Priority: high | Component: Engine: SCI
Resolution: | Keywords: SCI32 original
Game: Quest for Glory 4 |
--------------------------------+----------------------------
Comment (by sluicebox):
That's funny, I'm juggling script ownership too.
What do you mean by moving project off crystal and onto the room? Do you
have that backwards? project is already the room's script (not counting
casting a spell at the crystal since that only works after avis is dead),
so did you change it so that project is crystal's script? If so, won't
that dispose crystal's existing script sTimeItOut and prevent it from
expiring?
Won't setting sMessages as avis' script dispose sUltimateJoke if it's
already started and prevent it form expiring too?
I assigned sMessages to midBlast as it's a Prop that's always initialized
and doesn't have any scripts to conflict with. I changed sAdavisDies from
hero's script to the room's script to force project's disposal even if it
got interrupted with the view/loop change in avis:getHurt. For the death
animation I just added a local2 test to sTimeItOut state 1.
The last detail I'd like taken care of is the holes that that his create
between hands off and hands on. There was already one, but reassigning
things so that project can complete while sMessages runs creates others,
and you can the spell cursor when you shouldn't and can shoot multiple
projectiles at once if you click fast. Without patches, doing this crashes
reliably with the Grcycler null from other bug reports. I'd like to get it
in hands off from the moment you throw/cast a projectile until all the
work is done (getHurt aborting or sCastMessages completing), but that's a
hard detail.
This is an impressively broken room! Cast a spell into nowhere or switch
to sneak/run to go walk around in the air
--
Ticket URL: <https://bugs.scummvm.org/ticket/10835#comment:17>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list