Pyccna | 2013-11-30 04:04
Custom Hudgun Sounds, Help!

I'm a little confused about the custom sounds for Hudguns;
I've noticed that it's either command registersound or altsound followed by the directory followed by a designation number (most likely the sound volume???)
Also stated in sounds.cfg: "hardcoded cube sounds (i.e. order matters, and these must always be the first to be registered)"
So just trying to play a my custom sound for the rifle when using mr.fixit playermodel, here's what I have so far:
if (= $playermodel = 0) [
registersound "q009/rifle" 80 // "awesund/rifle" //"free/rifle1"
altsound "q009/rifle2" 80
altsound "q009/rifle3" altsound "pyccna/mrfixit/rifle" 80]

So I'm actually wondering now: is it possible to change the hudgun sounds without modifying the source code, if so how should I go about doing that?

0
points
 (0 votes)
User login
Users on Quadropolis
3 guests & no users online
Created 2017-11-23 23:59
11 hours 1 min ago
15
points ]
 (2 votes)
Created 2017-11-20 13:55
3 days 21 hours ago
Created 2017-09-29 22:03
7 weeks 6 days ago
nopnotme
Created 2017-09-29 22:12
7 weeks 6 days ago
nopnotme
Created 2017-09-29 21:59
7 weeks 6 days ago
nopnotme
Created 2017-09-29 21:56
7 weeks 6 days ago
nopnotme
Created 2017-09-29 21:52
7 weeks 6 days ago
18
points ]
 (3 votes)
Created 2017-09-17 12:33
9 weeks 4 days ago
DeathStarPC
Created 2017-09-11 03:47
10 weeks 4 days ago
Created 2017-09-18 17:38
9 weeks 3 days ago
10
points ]
 (1 vote)
Created 2016-07-28 12:06
1 year 16 weeks ago
10
points ]
 (1 vote)
Created 2017-09-12 03:37
10 weeks 3 days ago
20
points ]
 (3 votes)
Created 2010-03-04 23:30
7 years 38 weeks ago
DeathStarPC
Created 2017-09-11 03:32
10 weeks 4 days ago
20
points ]
 (2 votes)
Created 2017-06-22 03:17
22 weeks 1 day ago
Created 2017-04-24 15:32
30 weeks 3 days ago
Created 2017-04-15 03:38
31 weeks 6 days ago
LandRiders7th
Created 2017-05-06 00:42
28 weeks 6 days ago
Created 2017-04-24 15:13
30 weeks 3 days ago
30
points ]
 (9 votes)
Created 2011-06-16 13:56
6 years 23 weeks ago
Who's new
  • arCABAL
  • Flitzpiepe
  • M16
  • theradical
  • torben