The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

> Lilarcor like weapon.
Rotts
post Oct 12 2009, 03:54 PM
Post #1





Forum Member
Posts: 4
Joined: 30-August 08




Hey all,

I started making some of my own content for BG2+ToB the other day and I've been wanting to make my own weapon which blurts out a sound file at random times exactly like Lilarcor but with different sound sets.
I've been trying to figure it out by looking up how Lilarcor is coded but with little succes (as in only found the converse banter).

Could anyone help me with this?
Would just need to be the random sound files playing at random times. Not really interrested in making it conversable.

Cheers in advance.
Go to the top of the page
 
Quote Post
 
Start new topic
Replies
Rotts
post Oct 13 2009, 08:34 PM
Post #2





Forum Member
Posts: 4
Joined: 30-August 08




First of all cheers for the replies helped me to move a bit forward smile.gif ,

However i'm not sure how to code it in the files.
From looking up the lilarcor codes etc i've learned (if i'm not wrong that is):

- IF
Delay(600)
CombatCounter(0)
OR(6)
HasItemEquipedReal("Myitemcode",Player1)
etc...
THEN
RESPONSE #10
DisplayStringHeadOwner("Myitemcode", mystrref)
etc...
END

In the bcs file, there are 2 versions one 600 and one 125, both with different strrefs, I'm guessing this is the delay for when the sound file plays? why is this coded in 2 delays?
Do I have to add the new lines to the end of the .bcs files?
And also with ToB I have to code the exact same lines in the Baldur25.bcs? I'm pretty sure i do but just being sure =)

- I've figured out how to add a new strref line in the dialog.tlk file and added the sound recourse name

Here i've found the references are to a .bif file with subsequent .wav files for the sound.
Do i have to do the same with my custom .wav files, as in make em into a .bif if that's at all possible since I can't seem to build a .bif using DLTC?
And if I do does it at all matter where in the bg2 folder I put the .bif file since the path to the file isn't specified anywhere.

I guess some of these questions might be dumb or are just so obvious nobody has asked it before but tried to figure out as much on my own and the intrawebs but if anyone has the time and patience to explain the programming proces for this to me it would be greatly appreciated since as I said I'm completely new to modmaking huh.gif
Go to the top of the page
 
Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 4th April 2025 - 05:24 PM