OpenGothic icon indicating copy to clipboard operation
OpenGothic copied to clipboard

Finalize 'Marvin' mode

Open Try opened this issue 4 years ago • 6 comments

At this point only a few marvin commands are implemented - need to finalize it.

Try avatar Nov 21 '21 22:11 Try

I'm working on the marvin 'o' command right now. After I take control of an npc, the npc is still controlled by ai. Do you have a suggestion how I'd be able to pause the ai until the npc is no longer controlled by me?

fhanrath avatar Nov 23 '21 22:11 fhanrath

We cannot disable AI completely, event for player (dialogs are AI driven). Probably the best solution is to clear aiState and aiQueue, aiQueueOverlay. And after, once player switches to another npc, AI state should be restarted (see AI_ContinueRoutine)

Try avatar Nov 23 '21 22:11 Try

Thank you!

fhanrath avatar Nov 24 '21 22:11 fhanrath

Missing features:

  • [x] [F2] open console (still needed/ do we have a console?)
  • [x] [F3] toggle windowed mode
  • [ ] [F4] normal mode
  • [ ] [F6] move the camera freely
  • [ ] [F7] skip ahead
  • [ ] [H] reduce health points
  • [ ] [Z] run around
  • [ ] [G] display information about the own character
  • [ ] [T] display information about the currently selected NPC
  • [x] [Alt + P] Display current position

fhanrath avatar Mar 12 '22 00:03 fhanrath

Hi, @fhanrath !

Thanks for highlighting the missing features.

About F2/F3 - are you sure? Console should be in game already (as well as some commands). Same with F3

Try avatar Mar 12 '22 12:03 Try

Hey @Try,

No, I am not sure about F2 and F3. I just had a look at a list of available commands and the commands implemented in playercontrol.cpp.

I'll mark them as done.

fhanrath avatar Mar 14 '22 18:03 fhanrath