Black Hawk Down Team Sabre Mapping and Mod Resource Site.
 
PortalPortal  HomeHome  FAQFAQ  SearchSearch  RegisterRegister  Log in  
Welcome to our Forums.
You must be a member to post in Forum.
So take a minute and register to get full access to forum.
Help keep BHD Alive.
Thank's for visiting our Forum's.
Navigation
FAQ






Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

Most users ever online was 19 on Fri Jan 20, 2017 10:08 pm
Local Time

Misc. Links
Official Nova Squad


Share | 
 

 Wac File

Go down 
AuthorMessage
LoneWolf
Super Admin
Super Admin
avatar

Posts : 432
Join date : 2012-07-19
Location : Kentucky.USA

PostSubject: Wac File   Wed Mar 18, 2015 7:15 pm

This is the right way for this wac file right?

if ssnarea(1) and never() then
ssnwave(the wav you want to use.wav.)
endif

Question


Back to top Go down
View user profile http://lonewolfs.forumotion.net/
Baldo_the_Don
Administrator
Administrator
avatar

Posts : 74
Join date : 2012-07-27
Location : Germany

PostSubject: Re: Wac File   Thu Mar 19, 2015 7:24 am

Are you trying to make an AI speak?
Back to top Go down
View user profile https://www.youtube.com/BaldotheDon
LoneWolf
Super Admin
Super Admin
avatar

Posts : 432
Join date : 2012-07-19
Location : Kentucky.USA

PostSubject: Re: Wac File   Thu Mar 19, 2015 9:42 am

No just give a command like don't shoot civi's,but making ai talk would be handy to lol.I usually don't have a problem with wac files but am now.


Back to top Go down
View user profile http://lonewolfs.forumotion.net/
tedsmelly
Super Moderator
Super Moderator
avatar

Posts : 81
Join date : 2012-12-02
Location : Qld Australia

PostSubject: Re: Wac File   Thu Mar 19, 2015 11:27 am

That script would work but it might get cut off by another sound. There will be other sounds that want to play at the same time you wish to have your dialogue.

I am no Singleplayer Mapper, however I would write the event this way and use the "waveready" command. I would also give your wave a distance to be heard.

if ssnarea(9) and waveready() and never() then
wave("teds_a_legend.wav", 200)
endif

or

if ssnarea(10000,9) and waveready() and never() then
wave("I_like_boobies.wav", 200)
endif


Back to top Go down
View user profile http://www.tiocoop.com
Blaze
Member
Member
avatar

Posts : 363
Join date : 2015-01-08
Age : 23
Location : Directus, Republic of Ustio

PostSubject: Re: Wac File   Thu Mar 19, 2015 1:38 pm

tedsmelly wrote:
if ssnarea(9) and waveready() and never() then
wave("teds_a_legend.wav", 200)
endif

or

if ssnarea(10000,9) and waveready() and never() then
wave("I_like_boobies.wav", 200)
endif


LOL!  Anyway Ted is right, although the script is "ssnwave" if you want that the wav is played from the mouth of the specified SSN and so the wav is affected by distance, or "ssnradio" if you want to hear the wav regardless of the distance from the SSN
Back to top Go down
View user profile
LoneWolf
Super Admin
Super Admin
avatar

Posts : 432
Join date : 2012-07-19
Location : Kentucky.USA

PostSubject: Re: Wac File   Thu Mar 19, 2015 3:15 pm

I figured it out,I got it thanks guy's for the info, gonna have a map ready soon for you guy's.Hopefully about done just doing a little tweaking to it.


Back to top Go down
View user profile http://lonewolfs.forumotion.net/
Drunk
Member
Member
avatar

Posts : 28
Join date : 2015-09-16
Location : Bathurst, New-Brunswick Canada

PostSubject: Re: Wac File   Thu Sep 17, 2015 10:25 pm

if ssnarea(10000,9) and waveready() and never() then
wave("I_like_boobies.wav", 200)
endif

I presume the 10000 is the single player ?
Back to top Go down
View user profile
Blaze
Member
Member
avatar

Posts : 363
Join date : 2015-01-08
Age : 23
Location : Directus, Republic of Ustio

PostSubject: Re: Wac File   Fri Sep 18, 2015 2:33 am

Exactly, the 10000 is always the player, it means your character, the one you are playing, speaks.  Any other SSN is depending on the mission, your AI friendlies have a different SSN in each mission (it depends on how you created the map), and they can play wav files from their mouths, literally.
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Wac File   

Back to top Go down
 
Wac File
Back to top 
Page 1 of 1
 Similar topics
-
» ChessPad: A PGN file generator
» Broken Sword 2.5 to Release in English
» Komodo 5 vs. Houdini 2.0c (1500 Games)
» Portfish (new engine)
» Endgame EPD Collection 1.0

Permissions in this forum:You cannot reply to topics in this forum
Black Hawk Down Team Sabre Mapping and Mod Site :: Delta Force Black Hawk Down Map Making :: BHD Map Making-
Jump to: