Noob needs help

Discussion in 'Mapping Forum' started by SOUR, 27 Sep 2018.

  1. SOUR

    SOUR Well-Known Member EliteHunterz Clan Member Gameserver admin Donator

    Joined:
    27 Oct 2010
    Messages:
    1'790
    Likes Received:
    201
    Hi there, im a noob map maker and i need help. SO does anyone of you know how to add a song to start when you join the map, i want it to last for 11 seconds at the start of the map, and the song i want to use is
     
    Last edited: 27 Sep 2018
  2. Dataworm

    Dataworm Ex-Admin Ex Admin

    Joined:
    22 Feb 2015
    Messages:
    870
    Likes Received:
    243
    I don't know, I think there was some kind of ambient sound entity but I haven't used hammer in years. But on huntingpark you can also play music when a button is pressed, so maybe decompile the map and check if you can find what you need. Also keep in mind that there might be some restrictions what kind of music files can be played (encoding, bitrate...).
     
  3. SOUR

    SOUR Well-Known Member EliteHunterz Clan Member Gameserver admin Donator

    Joined:
    27 Oct 2010
    Messages:
    1'790
    Likes Received:
    201
    ah that's true, yeah i checked abit before i will need to convert the mp3 file into 16-bit 44KHz, stereo wave data or something like that. i found out how to add sounds/music by pressing a button but i want it to play directly when you join the map, i know ralle knows how to do it so ill wait for his responds or if someone else knows it :)
     
  4. SOUR

    SOUR Well-Known Member EliteHunterz Clan Member Gameserver admin Donator

    Joined:
    27 Oct 2010
    Messages:
    1'790
    Likes Received:
    201
    Got help from wolfram, thanks alot! you can close this.
     
  5. Lotus

    Lotus Retired SPA/HA Retired SPA/HA Donator

    Joined:
    9 Jan 2016
    Messages:
    1'613
    Likes Received:
    480
  6. SOUR

    SOUR Well-Known Member EliteHunterz Clan Member Gameserver admin Donator

    Joined:
    27 Oct 2010
    Messages:
    1'790
    Likes Received:
    201
    Pls :oops:
     
  7. Iczeay

    Iczeay New Member Donator

    Joined:
    24 Dec 2014
    Messages:
    4
    Likes Received:
    0
    ( ͡° ͜ʖ ͡°)
    ( ͡° ͜ʖ ͡°)

    ( ͡° ͜ʖ ͡°)
    ( ͡° ͜ʖ ͡°)
    ( ͡° ͜ʖ ͡°)

    This is what should start each time we join EH maps either or them ( ͡° ͜ʖ ͡°)
     
  8. Kr1pT1c

    Kr1pT1c Well-Known Member Gameserver admin Donator

    Joined:
    28 Apr 2019
    Messages:
    66
    Likes Received:
    20
    Kinda late, I know. But seeing how you haven't gotten an answer on this thread yet I thought I might give you one.

    You could just add a trigger right at the spawn point that when touched triggers your sound. This way it should be triggered right on spawn
     
  9. Kr1pT1c

    Kr1pT1c Well-Known Member Gameserver admin Donator

    Joined:
    28 Apr 2019
    Messages:
    66
    Likes Received:
    20
    A better option would probably be to use the entity logic_auto and trigger it onNewRound to activate the sound
     
  10. NorthernLight

    NorthernLight Well-Known Member EliteHunterz Clan Member Gameserver admin Tech Admin Donator

    Joined:
    15 Dec 2015
    Messages:
    630
    Likes Received:
    410
    Or you can ask TheRalle.
     
    TheRalle likes this.
  11. SOUR

    SOUR Well-Known Member EliteHunterz Clan Member Gameserver admin Donator

    Joined:
    27 Oct 2010
    Messages:
    1'790
    Likes Received:
    201
    Np, wolfram helped me along ago
     
    NorthernLight likes this.
  12. NorthernLight

    NorthernLight Well-Known Member EliteHunterz Clan Member Gameserver admin Tech Admin Donator

    Joined:
    15 Dec 2015
    Messages:
    630
    Likes Received:
    410
    ah the post is old af xD
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.