Author Topic: King's quest IV: door out of place  (Read 5764 times)

0 Members and 1 Guest are viewing this topic.

Offline robingravel

King's quest IV: door out of place
« on: January 22, 2021, 03:43:02 PM »
In King's Quest IV. the door from the mine is misplaced when Rosella's riding on the unicorn.

Does someone know what's happened?



Offline Kawa

Re: King's quest IV: door out of place
« Reply #1 on: January 22, 2021, 08:00:29 PM »
If nobody else answers before I do, I may just look into this tomorrow.

For my own reference, this is the 1989 release.

Offline gumby

Re: King's quest IV: door out of place
« Reply #2 on: January 22, 2021, 08:48:48 PM »
Not sure in which context this is happening, but I've got a guess: the y-position of the hotspot in the door view has been changed or incorrect?
« Last Edit: January 22, 2021, 08:50:42 PM by gumby »
In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition

Offline Kawa

Re: King's quest IV: door out of place
« Reply #3 on: January 23, 2021, 09:40:41 AM »
The door is view 600, which has two loops of one cel each. For its closed state, the hotspot is at [0,0], so right in the center bottom. When it's open, the hotspot is at [-8,3], right next to the bottom hinge. If global100 is set, the door in room 28 is instantiated at [289, 137], which fits perfectly into the picture. Otherwise, it's instantiated at [284, 131]... which is also exactly right:
Code: [Select]
(= door (View new:)) ; it's a local, don't ask me why.
(if global100
(door
view: 600 loop: 0 cel: 0
setPri: 9
posn: 289 137
ignoreActors: init: stopUpd:
)
(gEgo observeControl: ctlYELLOW) ;patch on the inside of the doorway
else
(door
view: 600 loop: 1 cel: 0
ignoreActors: true
setPri: 9
posn: 284 131
init: stopUpd:
)
)
The rest of Room28::init is to handle the day/night cycle and where Rosella should appear, and that's the only place the door object itself is touched (saying "door" doesn't count). I honestly can't find anything here that could cause the door to be misplaced like this.

For comparison, I checked out the 1988 version. The coordinates are a little different (open hotspot at [-8, 0], positioned at [289, 139] and [283, 139]) among various irrelevant changes but otherwise there's still nothing here that could cause the door to be misplaced.

If I take the door view from 1988 and use it in the 1989 version, set it to loop 1 (open) and place it at [284, 131]... it ends up too far up.



...But guess what happens when you place the 1989 door in the 1988 background, at the 1988 coordinate?

That's right. Positioning-wise, it matches robingravel's screenshot. But the trees indicate that's the 1989 version. Closed doesn't seem quite right either, but not as obviously as when it's open.

Offline robingravel

Re: King's quest IV: door out of place
« Reply #4 on: January 23, 2021, 09:59:14 AM »
Yeah. It happens only when Rosella rides on the unicorn.

When she's walking, the door does not have this behavior.


Offline Kawa

Re: King's quest IV: door out of place
« Reply #5 on: January 23, 2021, 10:16:03 AM »
I'm out of ideas.

Offline OmerMor

Re: King's quest IV: door out of place
« Reply #6 on: January 23, 2021, 11:09:08 AM »
Maybe it's an issue with NRS's "Ultimate King's Quest 4" version? It meshes up resources from the various KQ4 versions.

Offline robingravel

Re: King's quest IV: door out of place
« Reply #7 on: January 23, 2021, 11:31:08 AM »
I'm out of ideas.

I noted when Rosella rides the unicorn, it takes for a while to load on slow computers.

It takes two minutes on real PCjr to load this part.

Perhaps, the game uses different rooms but still uses the same backgrounds.

Here the version the game is using.
« Last Edit: January 23, 2021, 11:34:55 AM by robingravel »

Offline lskovlun

Re: King's quest IV: door out of place
« Reply #8 on: January 23, 2021, 01:24:31 PM »
Perhaps, the game uses different rooms but still uses the same backgrounds.
This is, in fact, true. Room 333 handles riding the unicorn through all (!)  the screens.

Online Collector

Re: King's quest IV: door out of place
« Reply #9 on: January 23, 2021, 03:04:24 PM »
That is the version that requires the KQ4FIX patch,though that should not be a factor in this as that patch is for the waterfalls room.
KQII Remake Pic

Offline Kawa

Re: King's quest IV: door out of place
« Reply #10 on: January 23, 2021, 05:40:32 PM »
Maybe it's an issue with NRS's "Ultimate King's Quest 4" version? It meshes up resources from the various KQ4 versions.
That's "mashes up". (My turn~)

Offline lskovlun

Re: King's quest IV: door out of place
« Reply #11 on: January 23, 2021, 06:01:59 PM »
That's "mashes up". (My turn~)
or messes. :P

Offline Kawa

Re: King's quest IV: door out of place
« Reply #12 on: January 23, 2021, 06:51:28 PM »
or messes. :P
Mashes makes more sense in context. At least, mashing it up is the patch author's intent, and messing it up is what results considering the door's gone wonky.

Offline OmerMor

Re: King's quest IV: door out of place
« Reply #13 on: January 24, 2021, 09:25:35 AM »
 ;D

Are you sure 'mash' fits better than 'mesh' though? I'm not a native English speaker, however these definitions sound fitting:

Mesh (verb)
To connect together by interlocking, as gears do.

Mesh (verb)
To fit in; to come together harmoniously.
"The music meshed well with the visuals in that film."

Offline Kawa

Re: King's quest IV: door out of place
« Reply #14 on: January 24, 2021, 09:59:29 AM »
Por que no los dos?

Also, if it fit together harmoniously, we wouldn't have this thread now, would we? 😹


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.145 seconds with 23 queries.