Jump to content


Vae Victus's Content

There have been 31 items by Vae Victus (Search limited from 10-May 23)


By content type

See this member's


Sort by                Order  

#144788 Change - Soundset (scripting question!)

Posted by Vae Victus on 23 August 2004 - 02:11 PM in IE Help

Hey,

I am making a shapeshift spell, what's basicly a demon form (Tana'ri).
And I have included the change portrait variable to change portraits when you shapeshift, now my question was, that I want to do the same to the soundset (PC Voice). I want to change the soundset when I am shapeshifting into the demon.
But I couldn't find any change variables to soundset's. So is there such a variable, that is perhaps not included in the Near Infinity Resource Editor? If so, is there a way to script it myself?

thanks in advance



#144903 Change - Soundset (scripting question!)

Posted by Vae Victus on 24 August 2004 - 03:34 AM in IE Help

I am planning to use my own created soundset (Demon_).

Thanks already for your help.



#144939 Change - Soundset (scripting question!)

Posted by Vae Victus on 24 August 2004 - 05:39 AM in IE Help

First of all thanks for the help,

second where does it say which soundset it has to use?
and a follow up question, where do I have to place this script? within the spell script?

Thanks already



#145041 Change - Soundset (scripting question!)

Posted by Vae Victus on 24 August 2004 - 10:03 AM in IE Help

I don't want to be impatient, but I really would like to know an answer to my question!

So anyone, any help is apreciated... :help:



#145102 Change - Soundset (scripting question!)

Posted by Vae Victus on 24 August 2004 - 12:00 PM in IE Help

Hey thanks for responding!

So if I am correct this goes into a *.bcs script?

So if I understand this correctly it will be like this:
(using Illid_ (soundset, standard)
(When Shapeshift in Tanar'i / Demon form Demon_ (soundset, changed)):

IF
Tue() //Should this not be True, instead of Tue?
THEN
RESPONSE #100
SetPlayerSound(LastSummonerOf(Myself),~Sorry for being so impatient.~ [Demon_],INITIAL_MEETING)
SetPlayerSound(LastSummonerOf(Myself),~Blah, blah.~ [Illid_],SELECT_COMMON1)

...

DestroySelf()
END

You were also speaking of an invisible creature? Will it not be easier of this is used by the shapeshifted creature so Creature B (DEM)?

Eitherway thanks again.



#145138 Change - Soundset (scripting question!)

Posted by Vae Victus on 24 August 2004 - 01:11 PM in IE Help

So the wav file can also be directed as the one from BECOMING_LEADER:

SetPlayerSound(LastSummonerOf(Myself),~Sorry for being so impatient.~ [Demon_b],INITIAL_MEETING)

SetPlayerSound(LastSummonerOf(Myself),~Blah, blah.~ [Illid_b],SELECT_COMMON1)

Because I do not have the wav file Demon_.wav or Illid_.wav (I can make them but if it is not needed, I will let it be.)

Another thing, how do I command the creature / spell to activate this script?

Thanks already for the big help!

Well I did made two new sound files: Illid_.wav and Demon_.wav.
But when I was testing this script in NI I got an error, saying:

Error 1/3 - Line 6

Expected I:STRREF* But found ~Sorry for being so impatient.~[Demon_]

Error 2/3 - Line 7

blah~[Illid_],SELECT_COMMON1 not found in SNDSLOT.IDS

So more help definately appreciated!



#145158 Change - Soundset (scripting question!)

Posted by Vae Victus on 24 August 2004 - 01:56 PM in IE Help

I still get these's errors in Near Infinity when I want to compile the BCS:

Error 1/3 - Line 6

Expected I:STRREF* But found ~Sorry for being so impatient.~[Demon_]

Error 2/3 - Line 7

blah~[Illid_],SELECT_COMMON1 not found in SNDSLOT.IDS

Should I ignore them?

Further I could not find any dialogue (*.BCS file) of the creature, could it be the case that I changed a character into a creature, that that's why I cannot find any *.BCS?

Eitherway I was thinking, is there not a way to include this SetPlayerSound,
within the shapeshift spell file, like it was possible for the set portrait variable?
If so, then in which program could I manualy write such a variable to add it to the spell? Because that would be a hack lot easier then is?

Thanks again for the help and interest.



#145199 Change - Soundset (scripting question!)

Posted by Vae Victus on 24 August 2004 - 04:06 PM in IE Help

Thanks again for the big help!

I have made these files just as you wrote them down, with only changing the lines:
~Sorry for being so impatient.~ And ~Bla, bla.~

I have saved all the files with the same name: Sound

So I have the following files:

Sound.baf
sound.tra
sound.tp2

Or do I have to rename all the files to the same name as the creature (DEMON.CRE) file has, so "DEMON.<file type>" ?

And when you say Weidu, then If I am correct I have to copy over the newest weidu.exe file and rename it to the same name as the tp2 file, right?

I must be a pain in the arse with all those questions?! :P

Thanks again!



#145210 Change - Soundset (scripting question!)

Posted by Vae Victus on 24 August 2004 - 04:35 PM in IE Help


Or do I have to rename all the files to the same name as the creature (DEMON.CRE) file has, so "DEMON.<file type>" ?

You do not need to do this. As long as the scripts are properly assigned, then the name was does not matter.


So how does it work then, because what I understand of this, is that when I shapeshift my avatar into the creature (DEMON.CRE) then the script does its work, giving me the choice to change soundsets.

Do I then have to change the .tp2 file to this?:

COMPILE ~dir\sound.baf~ 
USING ~dir\sound.tra~
EXTEND_BOTTOM ~anyscript.bcs~ ~override\DEMON.bcs~ //Use this if you want this script to be a part of another script.

So that it is activated when the avatar turns into the DEMON.CRE?


I must be a pain in the arse with all those questions?! 



That's not a question.


As Quoted from Eek The Cat:
"Really?!"

Eitherway thanks for the help so far.



#145222 Change - Soundset (scripting question!)

Posted by Vae Victus on 24 August 2004 - 05:10 PM in IE Help

Thanks again!

Also, did you create the file demon.cre yourself?


Yes, I did. I made it out of a character file and converted it to a creature file.

The .TP2 file has to be named the same as the folder "Soundchange", am I right?

Everything else has been done as you said.

Do you think I would know all this stuff if I'd never asked someone to teach me?


Thanks, now I feel less newbie-like!



#145225 Change - Soundset (scripting question!)

Posted by Vae Victus on 24 August 2004 - 05:36 PM in IE Help

Then you might want to add the creature into the tp2.


Will do!

Do you have a script called demon.bcs assigned to the creature.


No, how do you do that?

Oh, boy, converted character files... I hope you've edited it in NI. Removed player-scripts and unflagging Export Allowed and stuff...


I checked everything, I only wasn't sure about Export Allowed, so I have removed that flag. After the char to cre conversion (Done via Creature Maker), I checked the creature in NI, and changed all of the things, but I am unsure of three things:

Overide script: JP1COUNT.BCS*

Default script: DPLAYER3.BCS*

Dialog: SRCHOOS.DLG

* Are these the .BCS scripts? Which one of them (or both) has to be assigned to the DEMON.BCS?

I have included the DEMON.CRE file, for a closer look if you will.

No. The weidu-file should be named the same as the tp2, though. As Rastor said, it isn't vital, but recommended.


I have changed both files (TP2 & Exe) to Setup-Sound.

Thanks again for your time and help.

Attached Files




#145341 Change - Soundset (scripting question!)

Posted by Vae Victus on 25 August 2004 - 04:20 AM in IE Help

It is for the PC (playable character), So there won't be any NPC's involved.
The Demon.cre will get this script assigned, which is basicly the shapeshifted creature the avatar changes in, when you use the spell.

My only concern is, will this also effect the PC (playable character)?

But I do prefere the way SConrad did it, because he did put alot of efford in making the script for me.

Eitherway thanks for the otherway.

P.s. If I want to assign the Demon.bcs to the Demon.cre, then first of I must create a demon.bcs (with nothing in it) myself, then assign it to the "Override scipt" variable within the creature file via NI, and after that start the setup-Sound.exe. Am I right?

Thanks already

EDIT:

I tried it out via the above way, but nothing happened when I had shapeshifted.
I think I know why it doesn't work, the soundset (Demon_  or Illid_) have no strings in the dialog.tlk. So the DEMON.bcs script cannot find the sounds, atleast so it appears.

So more help please.  :help:  SConrad,  Kwiat_W, anyone?!



#145418 Change - Soundset (scripting question!)

Posted by Vae Victus on 25 August 2004 - 08:15 AM in IE Help

Ok this is what I have done:

I made a new script demon.baf and put in the lines:

IF
Global("voicechange","GLOBAL",1)
Global("NewSounds","LOCALS",0)
THEN
RESPONSE #100
 SetPlayerSound(Myself,@1,INITIAL_MEETING) //note that you can change INITIAL_MEETING into something else...
 SetPlayerSound(Myself,@2,SELECT_COMMON1) //same here...
 SetGlobal("NewSounds","LOCALS",1)
END

I have deleted the following file:

sound.baf

I made a new file demon.bcs (an empty file)

I have set the override-script variable to demon.bcs.

I replaced the:                              

Default script: DPLAYER3.BCS

Dialog: SRCHOOS.DLG

With:

Default script: NONE

Dialog: NONE

and changed the lines of the setup-sound.tp2 to:

BACKUP ~Soundchange\Backup~
AUTHOR ~youremail@youremail.com~
ASK_EVERY_COMPONENT

BEGIN ~Soundchange~

COMPILE ~Soundchange\demon.baf~ 
USING ~Soundchange\sound.tra~
EXTEND_BOTTOM ~demon.bcs~ ~override\sound.bcs~ //Where demon.bcs is the script assigned to the creature.

I might take a look at your .cre if it doesn't work. But I want you to try to fix it yourself first.  ;)


:(  <- I may be, but you are right, otherwise I will be known as the noob who asks the same questions over and over and over again!  :lol: And we don't want that!



#145437 Change - Soundset (scripting question!)

Posted by Vae Victus on 25 August 2004 - 09:15 AM in IE Help

Alright, good. Now you can delete the demon.bcs.


Demon.bcs has been deleted.

You should also remove the EXTEND_BOTTOM-action from your tp2.


I have done that, so this is now how the code looks like:

BACKUP ~Soundchange\Backup~
AUTHOR ~youremail@youremail.com~
ASK_EVERY_COMPONENT

BEGIN ~Soundchange~

COMPILE ~Soundchange\demon.baf~ 
USING ~Soundchange\sound.tra~

And you should perhaps use weidu for your creature as well. Do you know how to do that?


I am sorry to say, that I do not know how to do that.
So if you recommend this, I will make a new on via weidu, but I will need some help how to do it.

So thanks already.



#145470 Change - Soundset (scripting question!)

Posted by Vae Victus on 25 August 2004 - 10:33 AM in IE Help

No, it does not have to be joinable, because it is just a creature which the PC avatar changes into. That is if you mean joinable within the PC's party.



#145482 Change - Soundset (scripting question!)

Posted by Vae Victus on 25 August 2004 - 11:22 AM in IE Help

:unsure: What do I have to look out for in the shapeshift spells? Because Mine spell is a edited spell, of the shapechange Greater Cat.

About the creature, I have taken a look of the Valen Mod creature, and what do I have to look for? Furthermore I addded the tp2 code of the mod as an attachment

*If the code may not be posted, let me know, and I will remove it ASAP.*

I did noticed that it uses variables to overwrite existing files. CRE and such.
Is this what you mean?

Attached Files




#145569 Change - Soundset (scripting question!)

Posted by Vae Victus on 25 August 2004 - 02:42 PM in IE Help

Offcourse, I have send the files to your E-mail adres.

It is rather a big file: 3.80 MB; using the best compression! I have used Winrar to compress the file.

Will you send or post a message if you have recieved the file?

Thanks already.



#145748 Change - Soundset (scripting question!)

Posted by Vae Victus on 26 August 2004 - 03:03 AM in IE Help

I'll look into it later, it's 2.46 am and I have a full day to wake up to, so I won't do anything more tonight...


Take your time, there is no hurry with the mod.


Is all the hassle really worth it? Just copy over the sounds via the TP2, or at least make sure that they correlate in regards to streff's and make a bcs that can be run from any dialog file. Something like this should work:-


The soundset's of mine, does not have any strings to the dialog.tlk, which is one of the problems why Sconrad is looking at it.

But thanks anyway.



#145862 Change - Soundset (scripting question!)

Posted by Vae Victus on 26 August 2004 - 07:49 AM in IE Help

I just saw that I was logged out, so the above topic is mine.



#145870 Change - Soundset (scripting question!)

Posted by Vae Victus on 26 August 2004 - 08:11 AM in IE Help

I really like the unless... thing... :thumb:

hehe this mod has surpassed noob, it is now for the prof's! :lol:



#146367 Change - Soundset (scripting question!)

Posted by Vae Victus on 27 August 2004 - 08:12 AM in IE Help

...I don't want to be impatient, but sConrad, do you have any progress? or any kind of luck?



#146433 Change - Soundset (scripting question!)

Posted by Vae Victus on 27 August 2004 - 12:37 PM in IE Help

Giddy Up! Posted Image:lol:



#146466 Change - Soundset (scripting question!)

Posted by Vae Victus on 27 August 2004 - 01:58 PM in IE Help

Wooohhh Horsie! Posted Image
:huh: PPppenalties....Oh well..if it brings a solution, give me all the penalties you need! :lol: So yeah, tell me, give the solution to the Young Grasshopper! :ph34r:



#146472 Change - Soundset (scripting question!)

Posted by Vae Victus on 27 August 2004 - 02:25 PM in IE Help

There is a way to make the soundset change, and then let it change back.

But that requires one of these two:


Well that's good to hear. :)

1. That the soundset the player wants to play with is chosen at installation of the mod.


Well, that's not really what I was looking for... :rolleyes:

2. That the soundset the player wants to play with is chosen in a dialogue at the start of the game, in Irenicus Dungeon.


Well then it is only possible to do it once... ;)

Your call.


Can you say, WERE DOOMED!!! ohh a wall! :bash: , ough in my mind it looked alot less painfull...

So reading this, there is no way to make you choose when you shapeshift back and forth.

I was thinking, probaly you had already thought about it, but is there a way to make the creature have his own soundset, that has strings in the dialog, so that when you shapeshift, the creature sounds will be used instead of the character sounds? I saw something like that in DLTCEP. I mean I saw that DLTCEP has strings for the soundset's.

Posted Image



#146480 Change - Soundset (scripting question!)

Posted by Vae Victus on 27 August 2004 - 02:50 PM in IE Help

Actually, what I meant with the dialogue-thing was that you have to specify in that dialogue: "I would like to use soundset x for my character". It will work flawlessly to shapeshift back and forth.


Well I don't see if the dialogue thing would be a problem, seeing that it would make you give a choice if you would continue the same voice or the demon voice. So this could be a good solution.

I haven't tried what you're suggesting. I don't think it'll work, though.


I hate it to say it, but I have the same feeling, that it wouldn't make a difference.

So if you can make option 1 to work, so that you have a dialogue, when you shapeshift to the demon form and when you shapeshift back, the same dialogue appears, giving you the same choices all over again. Then thanks. :)