How to modify the Interface...

Post » Thu Jun 21, 2012 1:22 am

Hello everyone,

i am trying to modify the Interface of Skyrim, but i am quite knew to modding... So i could really use some help from you :biggrin:
I want to build a Mod that permamently make the Health and Stamina Bar visible /activate them.
I know, this ist a tough one and afaik not possible without skse. (Or has anybody an idea how to do this without skse?) If anyone is out there who ist familliar with this and can help me or point me to the right direction, that would be awesome!
Thanks in advance!

[And if you ask yourself, why would somebody aktivate the Hud instead of hiding it: I`m a Student and planning an psychological experiment for my Master Degree...]
User avatar
BethanyRhain
 
Posts: 3434
Joined: Wed Oct 11, 2006 9:50 am

Post » Thu Jun 21, 2012 3:14 am

Have you looked at SkyUI? That has a lot of options in it and perhaps making the Health and Stamina bars always visible is one of them.
User avatar
Louise Dennis
 
Posts: 3489
Joined: Fri Mar 02, 2007 9:23 pm

Post » Wed Jun 20, 2012 7:11 pm

Yeah, i already looked at skiui ant iHud, none of them is capeable of this. (But iHud is very close....)
Afaik SkyUi only allows to manipulate the inventory.
User avatar
Jack Walker
 
Posts: 3457
Joined: Wed Jun 06, 2007 6:25 pm

Post » Thu Jun 21, 2012 3:05 am

Unfortunately, modding the interface is much more difficult than it may seem. The interface was created with swf flash files, so you would have to have experience working with Adobe flash to make any kind of progress. Decompiling swf files can be sketchy at best, and you would probably have to use an existing script extender or create your own in order for your mod to even work. I gave up after a few hours of poking around, so I suggest you save yourself the trouble.
User avatar
Rach B
 
Posts: 3419
Joined: Thu Mar 08, 2007 11:30 am

Post » Wed Jun 20, 2012 3:29 pm

You can maybe fake the effect by putting a spell on the player that checks if they have full health and does one damage if they do. Don't know if that would make the player twitch their hurt animation like a tourettes patient, but might keep the HP bar visible.
User avatar
Shirley BEltran
 
Posts: 3450
Joined: Wed Jul 26, 2006 4:14 pm

Post » Thu Jun 21, 2012 1:31 am

@trees: in my case failure is not an option ;) I need the modification for that experiment... But you are right, this is tough work. I am trying to find out how iHUD works to learn something, but its hard for a newbe like me.

The Idea with the spell ist not bad, maybe that could work... Can spells do "0" damage?
User avatar
Nienna garcia
 
Posts: 3407
Joined: Wed Apr 25, 2007 3:23 am

Post » Wed Jun 20, 2012 5:44 pm

If anyone wants to do the same, it tourns out to be very simple... Thanks to some nice advices:

"The following information was taken from a post by Casiotone on how he/she managed to create the Remove Stealth Indicator mod:

Here's what I've done with the mod that was mentioned:
  • Unpacked the "Skyrim - Interface.bsa" file
  • Copy out the hudmenu.gfx file, rename it to .swf, and used the hex editor in Notepad++ to edit the first three characters to "CWS".
  • Decompile the swf with Trillix or similar. This is only to identify sprites and scripts so far - you won't be recompiling.
  • Pore through the assets and determine which ones you want to alter. Note their shape numbers.
  • Using SWiX, open the .swf file and manually remove the shapes in question
  • I also edited the sprite that controls the fade in/fade out of the indicator text (hidden/detected) so that it remained at A=0 throughout the whole tween.
  • Save in SWiX, hex edit the first three characters back to "CFX", and rename the file back to .gfx."
All in all i just had to modify some alpha values.
User avatar
QuinDINGDONGcey
 
Posts: 3369
Joined: Mon Jul 23, 2007 4:11 pm


Return to V - Skyrim