Jump to content


Photo

How to make this effect?


  • Please log in to reply
7 replies to this topic

#1 kalabaka

kalabaka
  • Member
  • 13 posts

Posted 09 August 2004 - 05:33 AM

Now I want to create a spell that will do a effect to target and display "target has been hit !" or something else. I think I can use DLTCEP and use the No.139 effect to make it , but I do not know how to add specific string to the spell.

I have read the WeiDU`s Readme document, and understood how to add description to a item or add name to a spell.  But Do not know how to add a specific string to a specific spell.

If anyone can give the format or some help I will very appreciate.

#2 Rastor

Rastor

    Yes, I really am a dragon. Yes, I am a jerk. Live with it.

  • Member
  • 2001 posts

Posted 09 August 2004 - 07:00 AM

There should be something in the effect that says "TLK string reference number" or something along those lines.

Put in 999999999 or another very high number into there, then use WeiDU's REPLACE command.
Home of Kitanya, Improved Asylum, more...

Posted Image

#3 Idobek

Idobek

    Pocket Plane Gibberling

  • Member
  • 429 posts

Posted 09 August 2004 - 02:16 PM

Put in 999999999 or another very high number into there, then use WeiDU's REPLACE command.

Not the best way of doing things. Use the SAY command, exactly as you do for the spell name and spell description. Look at your spell in NI and find the offset where your string reference is. The in the TP2 use:
SAY offset ~Your string.~


#4 kalabaka

kalabaka
  • Member
  • 13 posts

Posted 09 August 2004 - 04:32 PM

Thank you very much!

I have understood this!

#5 Rastor

Rastor

    Yes, I really am a dragon. Yes, I am a jerk. Live with it.

  • Member
  • 2001 posts

Posted 20 August 2004 - 01:29 PM

NI can't seem to do that for me, Idobek. I'm getting multiple effects in one offset and NI won't tell me the exact offset of the specific string.

[EDIT]Nevermind, got it to work. I still need to learn NI well, I guess :).

Edited by Rastor, 20 August 2004 - 01:31 PM.

Home of Kitanya, Improved Asylum, more...

Posted Image

#6 Avenger_teambg

Avenger_teambg
  • Member
  • 604 posts

Posted 22 August 2004 - 10:57 PM

This is a case where the tbg/iap format would work better :)
It is a new spell, so weidu isn't really required for patching.
And dltcep can export the file in tbg format with this specific string included.
It is another problem to use tbg files from a weidu install, i wonder if it will ever be possible :)
Avenger

#7 Idobek

Idobek

    Pocket Plane Gibberling

  • Member
  • 429 posts

Posted 23 August 2004 - 01:59 PM

WeiDU's --automate function will find all the offsets for you and generate the appropriate tp2 code.

#8 Rastor

Rastor

    Yes, I really am a dragon. Yes, I am a jerk. Live with it.

  • Member
  • 2001 posts

Posted 23 August 2004 - 02:07 PM

Actually, I just had to teach myself to learn NI.

WeiDU chokes on me if I try to do it that way, Idobek.
Home of Kitanya, Improved Asylum, more...

Posted Image