[Log in / Register]
| News | Chat | Pastebin | Donations | Tutorials | Rules | Forums |
| Maps | Skins | Icons | Models | Spells | Tools | Jass | Packs | Hosted Projects | Starcraft II Modding | Starcraft II Resources | Galaxy Wiki |
(Keeps Hive Alive)
Go Back   The Hive Workshop > Warcraft III > World Editor Help Zone


World Editor Help Zone Ask general questions about World Editor features and use in this forum. If you need help fixing a trigger, please post it in Triggers & Scripts. Please review the forum rules before posting.

Closed Thread
 
Thread Tools
Old 07-21-2013, 03:01 PM   #1 (permalink)
Registered User map designer
OMGIHaveSpectacularAura
 
map designer's Avatar
 
Join Date: May 2011
Posts: 438
map designer has a spectacular aura about (129)map designer has a spectacular aura about (129)map designer has a spectacular aura about (129)map designer has a spectacular aura about (129)
Custom Sound set from existing sounds; No import?

Hello Guys,
I want to make some new unit sound set, and I am aware that I should use one of the existing sound sets to make my sound set. But I am wondering, if I want to make the sound set from some sounds existing in warcraft already, in other unit's sound sets, do I have to export these sounds and importing them again and using that imported sound in my sound set? Or is there a way where I can use these existing sounds and putting them in any set I want? (and if I have to import, is there some path trick to just import pseudo file and set his path to the sounds I want? like can I just import 5.txt files and then set there custom path as Units/Arthas/YesAttack1 or something like that?)

What I exactly want to do

What I exactly want to do is basically use the sounds existing in SylvanusWindrunner soundset as followis:
Particular Sound of my unit = Particular sound of the original set
what 1 (of my unit) = what 2 (of Sylvanus Windrunner)
what 2 = what 3
what 3 = pissed 1
pissed 1 = pissed 2
Yes 1 = what 1
Yes 2 = what 4
Attack 1 = Warcry
Attack 2 = pissed 3
attack 3 = pissed 4
Warcry = pissed 5


__________________
I would gladly sacrifice my life for my mother and for my sister

Steel, Blood, and Glory is released!! click to see
map designer is offline  
Old 07-23-2013, 09:37 PM   #2 (permalink)
Registered User map designer
OMGIHaveSpectacularAura
 
map designer's Avatar
 
Join Date: May 2011
Posts: 438
map designer has a spectacular aura about (129)map designer has a spectacular aura about (129)map designer has a spectacular aura about (129)map designer has a spectacular aura about (129)
Bump Bump!
__________________
I would gladly sacrifice my life for my mother and for my sister

Steel, Blood, and Glory is released!! click to see
map designer is offline  
Old 07-23-2013, 11:47 PM   #4 (permalink)
Registered User Abextadoo
User
 
Join Date: Nov 2012
Posts: 27
Abextadoo has little to show at this moment (1)
left click the sound editor; right click the sound you want to use. Select "use as sound".
Now go to the trigger editor and the sound you want to use should be available there.
Abextadoo is offline  
Old 07-24-2013, 01:02 AM   #5 (permalink)
Registered User map designer
OMGIHaveSpectacularAura
 
map designer's Avatar
 
Join Date: May 2011
Posts: 438
map designer has a spectacular aura about (129)map designer has a spectacular aura about (129)map designer has a spectacular aura about (129)map designer has a spectacular aura about (129)
Quote:
Originally Posted by Daffa the Mage View Post
Use Shandris soundset?
I did think of that, but I am not really a fond of her sound set, she sound more like a woman than Ranger

Look at sylvanus pissed 5 "COME TASTE THE WRATH OF THE ELVES" (which i will use to warcry)
and Shandris Warcry (Fa yer!) she just sound.... unporffesional ranger

Besides, I might even use shandris herself for the night elven hero so i gotta use another soundset.
__________________
I would gladly sacrifice my life for my mother and for my sister

Steel, Blood, and Glory is released!! click to see
map designer is offline  
Old 07-24-2013, 01:30 AM   #6 (permalink)
Registered User Derdan
Hive Peon
 
Derdan's Avatar
 
Join Date: Nov 2012
Posts: 185
Derdan has little to show at this moment (42)Derdan has little to show at this moment (42)Derdan has little to show at this moment (42)Derdan has little to show at this moment (42)Derdan has little to show at this moment (42)
You could easily trigger it, I suppose. I don't think there would be any other way other than to re-import the sounds.

I used Shandris' sounds because I didn't spend the time to find Sylvanas' :p

Anyways, I made some triggers:

Initialization
Init
Events
Map initialization
Conditions
Actions
-------- Pissed Sounds --------
Set SylvanasSounds[0] = ShandrisPissed1 <gen>
Set SylvanasSounds[1] = ShandrisPissed2 <gen>
-------- What Sounds --------
Set SylvanasSounds[2] = ShandrisWhat1 <gen>
Set SylvanasSounds[3] = ShandrisWhat2 <gen>
-------- Attack Sounds --------
Set SylvanasSounds[4] = ShandrisWarcry1 <gen>
-------- Yes Sounds --------
Set SylvanasSounds[5] = ShandrisYes1 <gen>
Set SylvanasSounds[6] = ShandrisYes2 <gen>
-------- Death Sound --------
Set SylvanasSounds[7] = ArcherDeath1 <gen>
Custom script: call DestroyTrigger( GetTriggeringTrigger() )


Add Selected Event
Add Selected Event
Events
Unit - A unit enters (Playable map area)
Conditions
(Unit-type of (Triggering unit)) Equal to Shandris
Actions
Trigger - Add to Shandris What Pissed <gen> the event (Unit - (Triggering unit) Is selected)


Pissed Delay
Pissed Delay
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units of type Shandris) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of Unit) Greater than 0
Then - Actions
Unit - Set the custom value of Unit to ((Custom value of Unit) + -1)
Else - Actions
Unit - Set the custom value of Unit to 0


Shandris What & Pissed
Shandris What Pissed
Events
Unit - Shandris 0012 <gen> Is selected
Conditions
Actions
Trigger - Turn off (This trigger)
Set Unit = (Triggering unit)
Set Player = (Owner of Unit)
Unit - Set the custom value of Unit to ((Custom value of Unit) + 1)
Set Volume = 0.00
Custom script: if GetLocalPlayer() == udg_Player then
Set Volume = 100.00
Custom script: endif
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of Unit) Greater than or equal to 5
Then - Actions
Set Int = (Random integer number between 0 and 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of Unit) Greater than 6
Then - Actions
Unit - Set the custom value of Unit to 0
Else - Actions
Else - Actions
Set Int = (Random integer number between 2 and 3)
Sound - Play SylvanasSounds[Int] at Volume% volume, attached to Unit
Wait for (Last played sound) to be 0.00 seconds from finished playing
Trigger - Turn on (This trigger)


Shandris Yes
Shandris Yes
Events
Unit - A unit Is issued an order targeting a point
Conditions
(Unit-type of (Ordered unit)) Equal to Shandris
Or - Any (Conditions) are true
Conditions
(Issued order) Equal to (Order(move))
(Issued order) Equal to (Order(patrol))
Actions
Trigger - Turn off (This trigger)
Set Unit = (Ordered unit)
Set Player = (Owner of Unit)
Set Int = (Random integer number between 5 and 6)
Set Volume = 0.00
Custom script: if GetLocalPlayer() == udg_Player then
Set Volume = 100.00
Custom script: endif
Sound - Play SylvanasSounds[Int] at Volume% volume, attached to Unit
Wait for (Last played sound) to be 0.00 seconds from finished playing
Trigger - Turn on (This trigger)


Shandris Warcry
Shandris Warcry
Events
Unit - A unit Is issued an order targeting an object
Conditions
(Unit-type of (Ordered unit)) Equal to Shandris
Or - Any (Conditions) are true
Conditions
(Issued order) Equal to (Order(attack))
(Issued order) Equal to (Order(smart))
Actions
Trigger - Turn off (This trigger)
Set Unit = (Ordered unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current order of Unit) Equal to (Order(attack))
Then - Actions
Set Int = (Random integer number between 4 and 4)
Else - Actions
Set Volume = 0.00
Custom script: if GetLocalPlayer() == udg_Player then
Set Volume = 100.00
Custom script: endif
Sound - Play SylvanasSounds[Int] at Volume% volume, attached to Unit
Wait for (Last played sound) to be 0.00 seconds from finished playing
Trigger - Turn on (This trigger)


Shandris Death
Shandris Death
Events
Unit - A unit Dies
Conditions
(Unit-type of (Ordered unit)) Equal to Shandris
Actions
Trigger - Turn off (This trigger)
Set Unit = (Dying unit)
Set Int = 7
Sound - Play SylvanasSounds[Int] at 100.00% volume, attached to Unit
Wait for (Last played sound) to be 0.00 seconds from finished playing
Trigger - Turn on (This trigger)


Now, there are a few problems with this system. First, the portrait does not look like it's talking. Second, I couldn't get it to work when the unit moves. It plays no sound when you order her to move. Perhaps someone can help with that. Anyways, I really hope this works for you!

~Derdan
Derdan is offline  
Old 07-24-2013, 07:53 PM   #7 (permalink)
Registered User Mythic
Let Me Hold You
 
Mythic's Avatar
 
Join Date: Apr 2012
Posts: 6,023
Mythic has a brilliant future (1676)Mythic has a brilliant future (1676)Mythic has a brilliant future (1676)Mythic has a brilliant future (1676)Mythic has a brilliant future (1676)
Merit Badge - Level 0: This user has proven to be extremely valuable to the Warcraft III Modding Community. 
^Unit is ordered targeting a point.

Anyways, you should not use UnitData because it's only for unit Indexers. Everything would be fine without setting it.
__________________
Mythic is online now  
Closed Thread

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 06:22 PM.




Powered by vBulletin
Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.1 PL2
Copyright © Ralle