Jump to content


Photo

Editing .sto files


  • Please log in to reply
6 replies to this topic

#1 Barren Fischa

Barren Fischa

    Coming...

  • Member
  • 365 posts

Posted 05 March 2004 - 06:10 PM

My best option would probably NI here, but I still don't get how to edit some things. Namely, the condition for a specific item to be put on sale?
Wondering where's the old Interplay community? Well, they're all at Ashford City!

#2 Idobek

Idobek

    Pocket Plane Gibberling

  • Member
  • 429 posts

Posted 05 March 2004 - 06:18 PM

If you just want to add items for sale WeiDU's ADD_STORE_ITEM is very easy to use. There is a tutorial in the ReadMe.

Otherwise, what do you want to do?

#3 -icelus-

-icelus-
  • Guest

Posted 05 March 2004 - 06:57 PM

I don't think you can have certain items conditionally appear in a single .sto file. I think it's an all-or-nothing situation.

You could, however, create several .sto files, one for each special condition, and have the appropriate .sto called by the dialog or script file using the specific conditions...

#4 Barren Fischa

Barren Fischa

    Coming...

  • Member
  • 365 posts

Posted 05 March 2004 - 08:09 PM

You can. I'm trying to edit vrisch.sto, from Torment, so that the Eye of Vecna will be for sale when the Curst global is GT 5, instead of the Regret global being GT 1 (which is, like, after the Fortress... Never happens)
Wondering where's the old Interplay community? Well, they're all at Ashford City!

#5 -Sim-

-Sim-
  • Guest

Posted 06 March 2004 - 01:38 AM

That'll be something specific to Torment then, in which case I wouldn't get your hopes up about anyone really understanding it. See if there's a scripting action to add it in on the fly.
I'm curious though... how did you find out that the condition was the Regret global being greater than 1?

#6 Barren Fischa

Barren Fischa

    Coming...

  • Member
  • 365 posts

Posted 06 March 2004 - 09:49 AM

NI. Opened the .sto file, found the line that mentionned the Eye of Vecna, there was a condition next to it.
Wondering where's the old Interplay community? Well, they're all at Ashford City!

#7 Caswallon

Caswallon

    Telvanni Archmagister

  • Member
  • 284 posts

Posted 08 March 2004 - 04:06 PM

As you might see in NI, the condition is (strangely enough) stored in a TLK string (68425).
I'd try to either just edit that string, or add a new one and adjust the store.
NI allows you to do both, and since it's a TLK string, even WeiDU should do.
Provided, that is, that changing the string really affects the condition.

Edit: I just notice that DLTCEP had recently added the option to edit PS:T store triggers as well, in the same way.
So it should be a matter of patching the TLK and setting the correct string in the store file.

Edited by Caswallon, 09 March 2004 - 02:12 AM.