Aller au contenu

Photo

Turning off player HUD


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
SynysterLyfe

SynysterLyfe
  • Members
  • 32 messages
Hi everyone.

I need to turn off the HUD in my module to stop players from accessing their inventories, character sheets, etc. I know in NWN there was the handy "cutscene mode", but I can't find anything similar in DA.

There's a catch though. I need the Quickbar to still be accessible. Now I know that this probably isn't possible, as the Quickbar is part of the HUD, so I would settle for making the HUD simply not work (ie. clicking the Inventory button won't do anything).

This module is for Research purposes, so I don't want the player distracted by everything the HUD has to offer. Any ideas?

#2
SynysterLyfe

SynysterLyfe
  • Members
  • 32 messages
So I've found the events in module_core for when a GUI is opened, but currently all they do is start a tutorial if it's your first time opening it. If I could somehow close the GUI as soon as it's opened, then my problems would be solved. Unfortunately there's no CloseInventory function, or anything similar, that I can find.



Any ideas?

#3
FergusM

FergusM
  • Members
  • 460 messages
I doubt this is possible through scripting.

You may wish to look at [dragon age install]/packages/core/data/guiexport.erf. There are some atl_... .dds files in there, which are texture files. You can open them with GIMP or Photoshop with a DDS plugin. You could find the textures for the top bar and the icons in there and make them invisible (which you do by making the alpha channel black). They could still be clicked on and opened, but the player might not know they are there. The modified .dds files would do in your normal module override directory, or possibly your module core directory.

It looks like at least some of the relevant icons are in the atl_shared...dds files. It may be quite tricky to find everything, as they're all packed in there fairly haphazardly.

Modifié par FergusM, 21 juillet 2010 - 09:27 .