Author Topic: LETO and 1.69 Horses Help  (Read 739 times)

Legacy_plenzdorf

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
LETO and 1.69 Horses Help
« on: October 26, 2010, 04:44:42 pm »


               Hi everyone, Plezndorf here with a quick question about using LETO to change PC appearance and the new(ish) 1.69 horse script.

Simply put, my question is this: "has anyone found a reliable workaround for the 1.69 horse scripts that reverts a character to his/her default racial appearance on dismount?" 

For clarity's sake, the problem I encounter is this: when I alter charactes with LETO on my PW, which is running NWN 1.69 with CEP2.3, the changes take effect in the toolset appearance or the appearance editor in LETO (I've tried both), but when I log on to the server they revert to their default appearance.

For example, I tried making a Treant (even imported a BIC file to an ERF in he toolset and then ported back to BIC). I Can log in without any issues--except for the fact that all plants revert to Myconids, all Fey revert to Dryads, and so on.

I've searched the old NWN Bioware Forums, the Vault, and read the LETO documetation thoroughly and I cannot find a definitive answer to my problem. Axe murderer (bless his soul) has posted a possible workaround to this issue by tweaking the x3_horse_inc script,  but I wanted to see if anything more stable(and hopefully simpler). I am trying to solve this on my own and will post here if I find a solution on my own, but if anyone has had a similar problem I would be extremely grateful if you share it here!

Thanks to one and all for keeping NWN--and the community--alive!
               
               

               
            

Legacy_Calvinthesneak

  • Hero Member
  • *****
  • Posts: 1159
  • Karma: +0/-0
LETO and 1.69 Horses Help
« Reply #1 on: October 26, 2010, 07:45:29 pm »


               The scripts work based on racial properties if the appearance is unknown.  So what you need to do is include lines that will cover mounted and unmounted appearances for your appearance.  I would very strongly suggest reading Proleric's horse guide (I belive it is in the 1.69 Lexicon, or alternatively you can download pdf from the NWVault).



It in very great detail covers steps to support things like alternate races and what scripts need tweaking.
               
               

               
            

Legacy_plenzdorf

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
LETO and 1.69 Horses Help
« Reply #2 on: October 28, 2010, 05:05:50 am »


               Thanks Calvin--I think I can figure this out given enough time and energy (both of which are limited more than usual at the moment).



If anyone has found a simple workaround to unrecognized appearances reverting to default racial appearance post 1.69, or if anyone can direct me to the section of the lexicon that most applies to my problem it would still be an enormous help.



I mention this because the Lexicon is a bit daunting and Proleric's guide to horses and creature scaling now says "OBSOLETE : use the 1.69 Lexicon instead" on the Vault.
               
               

               
            

Legacy_Calvinthesneak

  • Hero Member
  • *****
  • Posts: 1159
  • Karma: +0/-0
LETO and 1.69 Horses Help
« Reply #3 on: October 28, 2010, 06:38:57 am »


               yeah because the guide is included directly in the lexicon as a tutorial

Lyceum->Tutorial->Advanced Scripting->Builders Guide to Horses & Creature Scaling
               
               

               


                     Modifié par Calvinthesneak, 28 octobre 2010 - 05:40 .
                     
                  


            

Legacy_Calvinthesneak

  • Hero Member
  • *****
  • Posts: 1159
  • Karma: +0/-0
LETO and 1.69 Horses Help
« Reply #4 on: October 28, 2010, 06:49:13 am »


               The quick answer for your question by the way....



4.18.4. Polymorph and PC Appearance

If a PC's appearance is changed using Polymorph, they may have a random appearance after save/load.



If SetCreatureAppearanceType is used, they may revert to their default appearance after save/load.



You can work round both issues by storing the intended appearance and re-applying it in the OnClientEnter event.



Neither issue occurs if the PC was mounted when the game was saved.


               
               

               
            

Legacy_plenzdorf

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
LETO and 1.69 Horses Help
« Reply #5 on: October 28, 2010, 04:48:51 pm »


               Ahh, makes sense! Thanks for the quick and thoughtful response--in a way I was asking others do my work for me, I know. But since others may have already struggled through something to find their own answers, I though they might save me time by graciously sharing the results of their hard work. Now you've done that for me, Calvin, and I can't thank you enough.



If I have difficulty including the needed changes in my OnClientEnter event might you be willing to offer me further advice? (I've got a lot of  #includes in my OnClientEnter that give our PW many of its special features [xp system, persistent journals and quests, new player set up, etc).
               
               

               
            

Legacy_plenzdorf

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
LETO and 1.69 Horses Help
« Reply #6 on: October 28, 2010, 05:25:08 pm »


               

Calvinthesneak wrote...

The quick answer for your question by the way....

4.18.4. Polymorph and PC Appearance
If a PC's appearance is changed using Polymorph, they may have a random appearance after save/load.

If SetCreatureAppearanceType is used, they may revert to their default appearance after save/load.

You can work round both issues by storing the intended appearance and re-applying it in the OnClientEnter event.

Neither issue occurs if the PC was mounted when the game was saved.


Yeah, on closer examination I have no idea how to store an intended appearance in the OnClientEnter event. I read through the tutorial in the Lexicon but could find no step by step instructions on how to add custom appearances to the OnClientEnter event.

If anyone wants to walk me through this I'd be extremely grateful. Also, I know from reading the old Bioware forums that other have struggled with this same problem. If anyone's found a solution I'm still looking.

Basically I am asking for a favor here, and I realize I may just have to slowly build my scripting knowledge on my own. My time is limited right now though, and I'm just barely beyond the point-and-click building phase, so if anyone already solved a similar problem I would be ever-so-grateful if they shared their solution here.

Full disclosure: knowing as little as I do about hardcore scripting, I don't want to change too much on my own for fear that I will mess up my PW's scripts since everything works bug free except for LETO custom appearances for PCs.
               
               

               
            

Legacy_Calvinthesneak

  • Hero Member
  • *****
  • Posts: 1159
  • Karma: +0/-0
LETO and 1.69 Horses Help
« Reply #7 on: October 28, 2010, 05:25:55 pm »


               You'll be better off in the scripting forum mate.  I am afraid much of the last 3 years all I have done is hak work, I don't know the NWN specific language well enough to sort out your issues.  At any rate, if you make a good attempt at the problem and explain what you're doing, you should get plenty of responses.
               
               

               
            

Legacy_plenzdorf

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
LETO and 1.69 Horses Help
« Reply #8 on: October 28, 2010, 05:34:01 pm »


               Thanks, Calvin. Your responses really have been helpful. Moving on to scripting now, I suppose '<img'>