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

Changing Announcer In-Game

broken avatar :(
Created 10 years ago
by MJPWGaming
0 Members and 1 Guest are viewing this topic.
1,189 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 26 March 2014
Last active: 5 years ago
Posts
200
Respect
Forum Rank
Mr. Elemental
Primary Group
Donator ♥
My Groups
More
×
MJPWGaming's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
MJPWGaming's Contact & Social Links
So in my easter egg, the announcer character goes evil after the egg is completed.

I was wondering if it was possible if the announcer quotes could be changed. Sort of like when you hear Sam quotes on Moon up until Sam and Edward switch bodys then he is the announcer.
broken avatar :(
×
broken avatar :(
Location: esMadrid
Date Registered: 27 March 2015
Last active: 5 years ago
Posts
371
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
JIGGLYPUFF used SING! YOU fell asleep!
Signature
×
Soy-Yo's Groups
Soy-Yo's Contact & Social LinksSoy-yoElCerdoRey
Create the sounds with the same name they have in the game but with "_evil" after it, for example. Then you have to find everywhere where there is an announcer and check if the easter egg is completed to change the name of the quote to the evil one.
For example, with powerups, it could be like:
Code Snippet
Plaintext
play_devil_dialog(sound_to_play)
{
if(!IsDefined(level.devil_is_speaking))
{
level.devil_is_speaking = 0;
}
        // add this:
        // you may need a var set to true when the easter egg is completed
        if( isDefined( level.easter_egg_completed ) && level.easter_egg_completed )
                sound_to_play += "_evil";
        // ----------
if(level.devil_is_speaking == 0)
{
level.devil_is_speaking = 1;
play_sound_2D( sound_to_play );
wait 2.0;
level.devil_is_speaking =0;
}

}
That's what you mean, right?

You just have to find where the sounds are played.

 
Loading ...