Nazi Zombies: Portable
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Nazi Zombies: Portable Official Community


You are not connected. Please login or register

How to Make a Simple Musical Easter Egg

+3
Darkspines
ArKaZeen
Oraki51
7 posters

Go down  Message [Page 1 of 1]

1NZP 1.1 How to Make a Simple Musical Easter Egg Sat Aug 18, 2012 3:05 am

Oraki51

Oraki51
Member
Member

Hello today I am going to teach you how to make a simple musical easter egg for your map! First you will need a song. It doesn't matter what song you use as long as you like it!

Obtaining and Converting A Song:
If you already have a song, skip step one and two.
1. Go to YouTube and find your song
2. Copy the link and convert it to an MP3 using this site: http://www.youtube-mp3.org/
3. When the file is done downloading, go to http://www.media.io/ and upload it and select the WAV format to convert it. It is necessary it is a WAV, or else it won't work.
4. Once the song is converted to a WAV, rename your song to something short. Also, the way NZP works, you will need to add "cl_insta" to then end of your file name. For example, my song is 115 so i named the song file "115cl_insta"
5. Next, go into your NZP folder, then the sound folder, then radio folder and put your song there.

Now you're done with that, so lets make the song play on your map!

Open up your map in Worldcraft/VHE and create a block, cylinder, object, etc. that you want the player to interact with to play the song. I'll be using a simple box for my example. Next, press Ctrl + T to make it an entity. Now right click it and select Properties. You will want to scroll down the list of entities it can become and find trigger_command:

How to Make a Simple Musical Easter Egg Tutorial1

Click on the Command attribute and in the box enter "play2 sound/radio/song". Note, when you enter the name of your song do not include the cl_insta. For example, the file name of my song is 115cl_insta but for the command I am entering just 115. When the command is executed the cl_insta is added to the song thus it locates that file name with the cl_insta in it. I don't get it either but thats how it works!

How to Make a Simple Musical Easter Egg Tutorial2

And that's all there is to it. When you enter the game and come in contact where the object is, the game with freeze for a second then play your song!

You can mix it up by adding buttons and other requirements to activate it, just play around with it and see what you can find out!

If you have any questions or need any help just comment below.

ArKaZeen


Member
Member

Amazing find! Would you not have to add a .wav at the end like for models? An example would be progs/jeep.mdl.

Darkspines

Darkspines
Member
Member

Sweet I needed to know how to put songs in my maps. Thanks Oraki.

You did not need to quote that... - true nightmare

http://mlzk.forumotion.com

Oraki51

Oraki51
Member
Member

ArkaZeen wrote:Amazing find! Would you not have to add a .wav at the end like for models? An example would be progs/jeep.mdl.

The game automatically adds the .wav to the file when it processes the command so you don't have to.

ArKaZeen


Member
Member

Oraki51 wrote:
ArkaZeen wrote:Amazing find! Would you not have to add a .wav at the end like for models? An example would be progs/jeep.mdl.

The game automatically adds the .wav to the file when it processes the command so you don't have to.

Alright thanks for clearing that up for me.

cipiko22

cipiko22
Member
Member

How do you make it like you shoot something than the song starts. I tryed the func_button but nothing.

https://www.youtube.com/user/TheCipiko22?feature=mhee

Top_Predator

Top_Predator
Member
Member

How your map?

cipiko22

cipiko22
Member
Member

HolyNightmare wrote:How your map?
I am kinda stuck cuz' i don't know how to continue.

https://www.youtube.com/user/TheCipiko22?feature=mhee

true nightmare

true nightmare
Administrator
Administrator

cipiko22 wrote:How do you make it like you shoot something than the song starts. I tryed the func_button but nothing.
why not have it target the object that starts the music? like how remote doors work

https://www.youtube.com/user/turenightmare

10NZP 1.1 Re: How to Make a Simple Musical Easter Egg Tue Sep 17, 2013 10:38 am

Guest


Guest

I like this tourial :D it'll be cool to see how people start to implement easter egg songs in their maps. Thank you for posting this Oraki51 ;)
- derp -

cipiko22

cipiko22
Member
Member

true nightmare wrote:
cipiko22 wrote:How do you make it like you shoot something than the song starts. I tryed the func_button but nothing.
why not have it target the object that starts the music? like how remote doors work
I have done that but when I shoot the button i get no music.

https://www.youtube.com/user/TheCipiko22?feature=mhee

true nightmare

true nightmare
Administrator
Administrator

mmm... well hopefully jukki does something that allows that for the next release lol

https://www.youtube.com/user/turenightmare

13NZP 1.1 Re: How to Make a Simple Musical Easter Egg Sat Oct 18, 2014 11:50 pm

WillWow

WillWow
I AM SPECIAL!
I AM SPECIAL!

cipiko22 wrote:
true nightmare wrote:
cipiko22 wrote:How do you make it like you shoot something than the song starts. I tryed the func_button but nothing.
why not have it target the object that starts the music? like how remote doors work
I have done that but when I shoot the button i get no music.

Uh... try making the thing you shoot at be the music player? Like in Christmas_Special? Like how you knife/shoot the radio and it plays?

http://www.wheel-games.webs.com

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum