Author Topic: Adding a STR REF and using in a title change  (Read 1506 times)

Offline Sticz

  • Planewalker
  • *****
  • Posts: 7
Adding a STR REF and using in a title change
« on: April 29, 2006, 03:42:40 PM »
How does one go about adding a str ref to the dlg.talk and then referring to that specific str ref in an effect on an NPC? I want to change the title of the class that my NPC has, but not assign a custom kit. If I wanted to re-name a paladin class of "undead hunter" with "vampire slayer" and use WeiDu to write the string, how do I get it so that whenever my mod is installed the title will show correctly?

Sticz ???

Offline Grim Squeaker

  • Fallen
  • Planewalker
  • *****
  • Posts: 1019
  • Gender: Male
Re: Adding a STR REF and using in a title change
« Reply #1 on: April 29, 2006, 05:19:03 PM »
Well, title changes like this are handled with a spl.  And when you copy across the spl you have to SAY ~My string~ at the correct offset.  Look at the NPC Kit Pack at G3 for an example, specifically Minsc's kit, which is just a rename.
"You alone can make my song take flight..."

Offline Avenger_teambg

  • Planewalker
  • *****
  • Posts: 399
Re: Adding a STR REF and using in a title change
« Reply #2 on: April 30, 2006, 04:33:18 AM »
Since this isn't a kit, and using up a kit slot is not too polite towards other (kit) mods, probably creating a creature with the effect and using that magic SAY for the creature is the best.

Offline Grim Squeaker

  • Fallen
  • Planewalker
  • *****
  • Posts: 1019
  • Gender: Male
Re: Adding a STR REF and using in a title change
« Reply #3 on: April 30, 2006, 05:08:31 AM »
Since this isn't a kit, and using up a kit slot is not too polite towards other (kit) mods, probably creating a creature with the effect and using that magic SAY for the creature is the best.


An invisible kit shouldn't harm anyone really.  Unless you're actually worried about filling up the 2da.
"You alone can make my song take flight..."

Offline Avenger_teambg

  • Planewalker
  • *****
  • Posts: 399
Re: Adding a STR REF and using in a title change
« Reply #4 on: April 30, 2006, 05:34:00 AM »
Well, it isn't really important to me how he would implement it, go with the easier way.
To me it is simpler to have a single creature file which i would supply anyway than additional 2da/spell manipulations.
Though you are right in that a hidden kit doesn't interfere with other mods too much.

Offline Grim Squeaker

  • Fallen
  • Planewalker
  • *****
  • Posts: 1019
  • Gender: Male
Re: Adding a STR REF and using in a title change
« Reply #5 on: April 30, 2006, 05:49:40 AM »
But yeah, either way you want to have a spl file that you copy over with WeiDU and SAY at the appropriate offset.
"You alone can make my song take flight..."

Offline Avenger_teambg

  • Planewalker
  • *****
  • Posts: 399
Re: Adding a STR REF and using in a title change
« Reply #6 on: April 30, 2006, 09:23:14 AM »
But yeah, either way you want to have a spl file that you copy over with WeiDU and SAY at the appropriate offset.
No, i would directly add the effect into the creature :)
I can only agree that either way there would be a file copied over with weidu and applied SAY at the appropriate offset.
Just to clarify, i'm sure using the kit/spell is a bit more weidu friendly.

Offline Sticz

  • Planewalker
  • *****
  • Posts: 7
Re: Adding a STR REF and using in a title change
« Reply #7 on: May 03, 2006, 11:22:02 PM »
I plan on using the effect on the creature file. I have used this several times. I am running into the problem of just getting the STR REF to be static. As this is a working mod, the STR REFS are fluid,  I will need a static STR REF and a number to set it to.

I just need to figure out how to set it to a specific number.

Sticz

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: