Nazi Zombie Portable
Please log in or register. If you're not logged in you cannot download maps.

Nazi Zombies Portable Official Community


You are not connected. Please login or register

How to Make a Simple Musical Easter Egg

View previous topic View next topic Go down  Message [Page 1 of 1]

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

Oraki51

avatar
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:



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!



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.

View user profile

2NZP 1.1 Re: How to Make a Simple Musical Easter Egg on Sat Aug 18, 2012 11:40 am

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.

View user profile

3NZP 1.1 Re: How to Make a Simple Musical Easter Egg on Sat Aug 18, 2012 12:46 pm

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

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

View user profile http://mlzk.forumotion.com

4NZP 1.1 Re: How to Make a Simple Musical Easter Egg on Sat Aug 18, 2012 1:09 pm

Oraki51

avatar
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.

View user profile

5NZP 1.1 Re: How to Make a Simple Musical Easter Egg on Sat Aug 18, 2012 1:37 pm

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.

View user profile

6NZP 1.1 Re: How to Make a Simple Musical Easter Egg on Mon Sep 16, 2013 12:54 pm

cipiko22

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


____________________________________________________________________________________________________

CPU : AMD Sempron(tm) Processor 3000+
RAM : 1.0 GB
OS : Microsoft Windows XP
VGA : ATI Radeon HD 4550
View user profile http://www.youtube.com/user/TheCipiko22?feature=mhee

7NZP 1.1 Re: How to Make a Simple Musical Easter Egg on Mon Sep 16, 2013 1:34 pm

How your map?

View user profile

8NZP 1.1 Re: How to Make a Simple Musical Easter Egg on Mon Sep 16, 2013 2:01 pm

cipiko22

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


____________________________________________________________________________________________________

CPU : AMD Sempron(tm) Processor 3000+
RAM : 1.0 GB
OS : Microsoft Windows XP
VGA : ATI Radeon HD 4550
View user profile http://www.youtube.com/user/TheCipiko22?feature=mhee

9NZP 1.1 Re: How to Make a Simple Musical Easter Egg on Mon Sep 16, 2013 2:31 pm

true nightmare

avatar
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


____________________________________________________________________________________________________
BE AWESOME!! And Subscribe to my channel for Nzp mapping tutorials and gameplays of nzp and other stuff im doing or working on, at some point i hope to do daily uploads

www.youtube.com/user/turenightmare



CPU: Intel Core i5 4690K Processor (Quad Core at 3.5 GHz)
GPU: GeForce GTX 660 (2GBs Video Ram)
RAM: 32GBs DDR3
HDD: 1 x 320 Gbs, 1 x 1TB, 1 x 2TB
Monitor: 1336 x 768, 1920 x 1080 (TV)
View user profile http://youtube.com/user/turenightmare

10NZP 1.1 Re: How to Make a Simple Musical Easter Egg on 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 -

11NZP 1.1 Re: How to Make a Simple Musical Easter Egg on Tue Sep 17, 2013 1:39 pm

cipiko22

avatar
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.


____________________________________________________________________________________________________

CPU : AMD Sempron(tm) Processor 3000+
RAM : 1.0 GB
OS : Microsoft Windows XP
VGA : ATI Radeon HD 4550
View user profile http://www.youtube.com/user/TheCipiko22?feature=mhee

12NZP 1.1 Re: How to Make a Simple Musical Easter Egg on Tue Sep 17, 2013 6:46 pm

true nightmare

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


____________________________________________________________________________________________________
BE AWESOME!! And Subscribe to my channel for Nzp mapping tutorials and gameplays of nzp and other stuff im doing or working on, at some point i hope to do daily uploads

www.youtube.com/user/turenightmare



CPU: Intel Core i5 4690K Processor (Quad Core at 3.5 GHz)
GPU: GeForce GTX 660 (2GBs Video Ram)
RAM: 32GBs DDR3
HDD: 1 x 320 Gbs, 1 x 1TB, 1 x 2TB
Monitor: 1336 x 768, 1920 x 1080 (TV)
View user profile http://youtube.com/user/turenightmare

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

WillWow

avatar
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?


____________________________________________________________________________________________________
signature removed - read forum rules!! (YOU READ THEM, USE CAPITALS FOR THE START OF THE SENTENCE!)
Whoops I thought it was no links only! I didn't read what was allowed, because I assumed everything else was.
WHY IT NOT WORK?

BECAUSE YOU BROKE IT.

Tongue                            HUZZAH! HOW MANY POINTS DO I RECIEVE?? -Luna (look it up)
View user profile http://www.wheel-games.webs.com

View previous topic View next topic Back to top  Message [Page 1 of 1]

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