Aller au contenu

Photo

My Custom .tlk woes


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

#1
Fester Pot

Fester Pot
  • Members
  • 1 394 messages

I can't get this one little modification to load in-game.

 

Here is my custom .tlk file. I added a single line to one I was already using.

 

dumb_tlk.jpg

 

Here is the last line of ItemProps.2da:

 

 


85         1         1          1          1          1        1        1            1        ****        ****        1          ****         ****          ****      ****      ****           ****      ****          ****            ****           1          1          16777226    Use_Limitation_Gender

 

Here is the last line of ItemPropDef.2da:

 

 


88       16777226  UseLimitationGender              gender             0       0                 ****           5523         ****

 

The .tlk is added to the test module, along with the hak with the two modified .2da files.

 

I get nothing under item properties.

 

This sort of modification is very new to me, so I'm getting frustrated and confused with all the .tlk instructions I've been reading and could really use some help clearing this up.

 

Thanks,

 

FP!



#2
MerricksDad

MerricksDad
  • Members
  • 1 620 messages

I haven't done this for about a year, but I think you need a related line in ItemPropDef.2da. Check that out a bit and how to work it on the wiki



#3
Fester Pot

Fester Pot
  • Members
  • 1 394 messages

You good sir, are correct. My ItemProps.2da was not updated - it was being pulled in from Shdewood's hak - and after updating it, I've got everything to appear.

 

FP!


  • henesua et MerricksDad aiment ceci

#4
Fester Pot

Fester Pot
  • Members
  • 1 394 messages

Alright!

 

Looking good. Certain articles of clothing are set.

 

Use Limitation: Gender: Female or Male.

 

Testing it out, simply has the Use Limitation after the description of said item, but a male character can equip clothing specific to a female rather than the item being red as it would be with Class Limitation. "You are not the correct race/class to equip this item."

 

I got the idea from Project Q, and loading up a PQ module and setting clothing with Gender Limitation provides the exact same results - it doesn't stop the opposite sex from equipping the item.

 

I'd like it to have the item be red with Gender Limitation and "You are not the correct sex to equip this item.".

 

FP!



#5
_six

_six
  • Members
  • 919 messages

Unfortunately the only way to put new use limitations in is by forcing them in the module's equip item script. IIRC CEP included a script to do that by default?



#6
Proleric

Proleric
  • Members
  • 2 359 messages

The CEP script called OnItemEquipped is
 

Spoiler

  • OldTimeRadio aime ceci

#7
Tarot Redhand

Tarot Redhand
  • Members
  • 2 693 messages

Just when you think you are getting to grips with what this site can do... Nice one @Proleric. So I'm guessing that the syntax for that (without the extra spaces is

 

[ s p o i l e r ]

[ / s p o i l e r ]

 

TR


  • OldTimeRadio aime ceci

#8
Fester Pot

Fester Pot
  • Members
  • 1 394 messages

Okay, thanks everyone for the work around.

I don't know why Bioware opened up .tlk creation but failed to incorporate the little red box for use limitations, but perhaps it was an engine limitation. Regardless, it is what it is and at least now, male characters can't put on dresses! :P

FP!



#9
henesua

henesua
  • Members
  • 3 882 messages

What if you put points in cross-dressing like DeNiro in Star Dust?

tumblr_miw7yaWq801qcpkfeo1_500.gif


  • MerricksDad aime ceci

#10
Tarot Redhand

Tarot Redhand
  • Members
  • 2 693 messages

Or for a disguise to enable sneaking in somewhere?

 

TR



#11
_six

_six
  • Members
  • 919 messages

I don't know why Bioware opened up .tlk creation but failed to incorporate the little red box for use limitations, but perhaps it was an engine limitation

 

TLK is just a localisation database - it's used in the main game to allow translated strings in various languages to be stored together in one big pack (ie so translating the game doesn't require changing stuff in a million different files).

 

The use limitations are a separate system entirely, that just happen to borrow strings from the TLK. Text you add to the TLK is just that - plain old text.



#12
Proleric

Proleric
  • Members
  • 2 359 messages

What if you put points in cross-dressing like DeNiro in Star Dust?

We certainly don't want to spoil anyone's fun! Unfortunately, custom content often only includes models for one gender, so Gender Limitation is a quick and easy way of preventing invisible body parts.
  • henesua aime ceci

#13
henesua

henesua
  • Members
  • 3 882 messages

I was kidding, Proleric. I'm well aware that the way to make crossdressing work in NWN is to port the male version to the female side and the female version to the male side.



#14
_six

_six
  • Members
  • 919 messages

I was kidding, Proleric. I'm well aware that the way to make crossdressing work in NWN is to port the male version to the female side and the female version to the male side.

 

Transgender phenotype is a breeze to implement FWIW :P