Welcome, Guest. Please login or register.
Did you miss your activation email?
November 23, 2024, 12:28:37 AM
Home Help Login Register
News: Trouble in Terrorist Town? Site here, forum here.

  Show Posts
Pages: [1]
1  Other / Trouble in Terrorist Town / Re: Custom Weapons reload and draw sounds on: April 12, 2011, 10:06:55 PM
Thank you, that worked perfectly
2  Other / Trouble in Terrorist Town / Re: Custom Weapons reload and draw sounds on: April 12, 2011, 08:37:49 PM
Its downloading the sound to clients but getting them to play when the weapon is reload or drawn is the problem. Currently everything relevant goes to the client and the models and fire sound all work. Ive only yet to do the icon

Ill post my LUA for reference
http://pastebin.com/vtbk06qt

The 2 lines at the bottom which specify the location for the draw and reload sounds were an attempt to add these values to the weapon lua in conjuction with adding

    if not worldsnd then
      self.Weapon:EmitSound
  elseif SERVER then
      WorldSound
  end


commands to the weapon_tttbase lua under the Reload and Draw functions. This didnt work
3  Other / Trouble in Terrorist Town / Custom Weapons reload and draw sounds on: April 12, 2011, 04:21:00 AM
Im using a few entirely custom weapons on my server. Im unsure how to specify the custom reload and draw wav files in ttt weapon luas.

The custom weapon tutorials i've read only seem to cover using pre-existing source-game sounds. Any help/tips would be greatly appreciated
Pages: [1]


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.012 seconds with 19 queries.