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
1 guest & no users online
10
points ]
 (1 vote)
Created 2020-05-16 23:15
1 week 4 days ago
Created 2020-05-14 12:56
2 weeks 4 hours ago
224
points ]
 (23 votes)
Created 2012-10-20 09:56
7 years 31 weeks ago
Gangler
10
points ]
 (1 vote)
Created 2020-05-12 22:59
2 weeks 1 day ago
afroninja
46
points ]
 (5 votes)
Created 2020-01-15 07:47
19 weeks 1 day ago
20
points ]
 (2 votes)
Created 2020-04-29 18:35
4 weeks 23 hours ago
LURKing
10
points ]
 (1 vote)
Created 2020-05-09 17:56
2 weeks 4 days ago
140
points ]
 (15 votes)
Created 2013-06-09 21:05
6 years 50 weeks ago
20
points ]
 (2 votes)
Created 2020-05-02 19:58
3 weeks 4 days ago
20
points ]
 (2 votes)
Created 2016-07-28 12:06
3 years 43 weeks ago
7YearBitch
20
points ]
 (2 votes)
Created 2020-03-16 20:09
10 weeks 2 days ago
70
points ]
 (7 votes)
Created 2020-01-24 22:26
17 weeks 5 days ago
40
points ]
 (4 votes)
Created 2020-01-23 12:57
18 weeks 4 hours ago
30
points ]
 (4 votes)
Created 2020-01-26 14:10
17 weeks 4 days ago
170
points ]
 (17 votes)
Created 2011-09-05 14:13
8 years 38 weeks ago
Sauce
71
points ]
 (8 votes)
Created 2018-08-22 19:15
1 year 39 weeks ago
Lord Kv
160
points ]
 (16 votes)
Created 2015-03-12 14:45
5 years 11 weeks ago
45
points ]
 (6 votes)
Created 2009-08-15 13:37
10 years 41 weeks ago
MisanthropX
74
points ]
 (8 votes)
Created 2019-12-05 20:57
24 weeks 6 days ago
Redon
105
points ]
 (11 votes)
Created 2019-10-24 21:41
30 weeks 6 days ago
Who's new
  • Spr1te
  • Akari
  • LURKing
  • Antknee55
  • gmiz