Aller au contenu

Photo

Hiding alignment from the character sheet


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

#1
Lovelamb

Lovelamb
  • Members
  • 38 messages
I tried to hide alignments by changing the string references in some 2da files, but it turned out wrong: the alignment stays on the character sheet, but disappears from creature properties in the toolset. I now realize that the files I changed, iprp_aligngrp.2da and iprp_alignment.2da probably refer to item properties. Where might I alter the strings that appear on the character sheet? Is it possible?

I examined a lot of the .mdl files, but couldn't find what I need. The most I was able to do was (re)move the panel that displays character name, full alignment and class. I don't want to hide all of that, and I wasn't able to remove the alignment from the list below, the one in the form of "lawful(#) good(#)". I did this in a text editor, as I don't know a fancier way.

I would like to either remove the bits from the character sheet that display full alignment (on top), alignment title, lawful(#) good(#), or to change the strings to " " and "Unknown". Then all companion NPCs would be set to True Neutral and it would say Unknown(50)  Unknown(50) . It's probably a weird question, but is any of that possible, or are these strings hardcoded (together)? ^_^

Modifié par Lovelamb, 06 juillet 2012 - 05:27 .


#2
Rubies

Rubies
  • Members
  • 292 messages
You can remove them by editing the character sheet .gui file. Can't remember what it is off the top of my head but I can do it for you in a few hours' time if you want.

EDIT: Since this is under the scripting forum, I don't know any way to do it via scripting. I don't think you can even modify most GUI elements via scripting (except using PopUpGUIPanel).

Modifié par Rubies, 06 juillet 2012 - 07:21 .


#3
Lovelamb

Lovelamb
  • Members
  • 38 messages
Well, yes, it's not scripting, exactly. I don't think I know how to modify gui files.

#4
Rubies

Rubies
  • Members
  • 292 messages
https://dl.dropbox.c...CHRSHT_CHAR.jpg

Small downside is that the class, race, and alignment are treated as one object. I'll see if there's any way of isolating it when I get home in a bit.

Modifié par Rubies, 07 juillet 2012 - 03:07 .


#5
Lovelamb

Lovelamb
  • Members
  • 38 messages
Could you also remove alignment from the list below?

I can't figure what tells the gui to read the name, class and alignment. They can take different values, so there must be somewhere they are taken from.

#6
Rubies

Rubies
  • Members
  • 292 messages
The entire GUI/GUI mdl structure is a little bit odd. In the mdl files you have two dummy nodes that indicate the start/end of text - in this case they're called CHARALIGNclass0 and CHARALIGNclass1, if I remember right. All I'm doing is resizing them so there isn't enough space between the two for text (putting them both at the same x/y/z coords).

The list will probably be contained in another file, I'll give it a shot later. I'm only editing the ingame page and not the one in character generation - that's what you were after, right? Probably no reason to edit the character gen one when people are picking the alignment anyway. :P

#7
Lovelamb

Lovelamb
  • Members
  • 38 messages
Yes, the player should have an alignment of his/her choice, even if it doesn't show. I can just display it through some script. Thank you for looking into this.

#8
Lovelamb

Lovelamb
  • Members
  • 38 messages
The character's race doesn't really need to show on the sheet, either, if that makes it any easier.

#9
Rubies

Rubies
  • Members
  • 292 messages
https://dl.dropbox.c...chrsht_char.mdl

As a temporary solution until I figure out the rest, every client will need that...