UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Adding some custom sounds on triggers and doors

broken avatar :(
Created 9 years ago
by pcmodder
0 Members and 1 Guest are viewing this topic.
2,272 views
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 22 September 2014
Last active: 5 years ago
Posts
360
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Here to make epic maps
×
pcmodder's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
pcmodder's Contact & Social Linksken5hir0pcmodderugx
Hi all I would like to add some sounds to my sliding doors in my map.  A sound that plays when they are opened / closed. I got the sliding doors from stuffs tut . Also if anyone knows how to add lights activated by the door also. I remember seeing a tut but I cannot find it now . The doors already have trigger multiple to open / close so maybe I could add a sound with that same trigger.

Also if anyone knows if I could go about having some sounds triggered at certain times to unfold a story as the player progresses. If I recorded my voice does anyone know a software I could use to voice change to make it sound like a computerised voice , as though the base is controlled by a Ai or something similar.  That voice would then play at points in the map .

All help appreciated. If anyone is creative and wants to have some input or suggestion for a story feel free to post.
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 9 years ago
Posts
2,789
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
Signature
Let's keep this thread on topic from here on in. -DBZ

+1 to off-topic reply -DBZ

lmao. Too funny.

Goliath Script Placer: http://ugx-mods.com/forum/index.php/topic,11234.msg125257/topicseen.html#new

"...Christ, people. Learn C, instead of just stringing random characters
together until it compiles (with warnings)..."

-Linus Torvalds
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
After a player opens the door call this with the proper arguments:

Code Snippet
Plaintext
<entity>  playSound( <aliasname>, <notification string>, <stoppable flag> );

Last two arguments are optional.
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 22 September 2014
Last active: 5 years ago
Posts
360
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Here to make epic maps
×
pcmodder's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
pcmodder's Contact & Social Linksken5hir0pcmodderugx
Thanks for the reply , i gather that the entity will be the doors targetname and the alias is the name of a sound file ,  not sure about the other 2 parts ( stoppable flag and notification string ) , would i need one line of this for each door? :D
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 9 years ago
Posts
2,789
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Thanks for the reply , i gather that the entity will be the doors targetname and the alias is the name of a sound file ,  not sure about the other 2 parts ( stoppable flag and notification string ) , would i need one line of this for each door? :D

No, probably not.
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 22 September 2014
Last active: 5 years ago
Posts
360
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Here to make epic maps
×
pcmodder's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
pcmodder's Contact & Social Linksken5hir0pcmodderugx
Not sure exactly where i would put this or what some of the entries i would use , the doors are all named similair name_door and all have a script flag connectedto the trigger multiple for the sliding.
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 9 years ago
Posts
2,789
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Not sure exactly where i would put this or what some of the entries i would use , the doors are all named similair name_door and all have a script flag connectedto the trigger multiple for the sliding.

Can you post the code and the setup in radiant?
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 22 September 2014
Last active: 5 years ago
Posts
360
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Here to make epic maps
×
pcmodder's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
pcmodder's Contact & Social Linksken5hir0pcmodderugx
Ye I can post a prefab of the doors and what part of the mod folder script would you need ( back home at 3 am ) thanks

 
Loading ...