Solistx001
17-06-2010, 17:46
Yesterday I was testing my Warrior IFV vehicle and I noticed it has this bad genric sound that I wish to get rid of. I looked throughout the forums and nobody had a tutorial.
So I went into the Tank.inc file and found what I was looking for to change the sounds. So I entered my tank as this
(define "ifv_sound"
{on "add_movement_sound" overload
{link_sound "move" "vehicle/tracks/m4a2" }
{link_sound "engine" "vehicle/engine/m4" }
{link_sound "engine_end" "vehicle/engine/m7_end" }
{link_sound "rotate_turret" "vehicle/turret/sherman" }
{link_sound "exhaust" "vehicle/engine/m4a2_up" }
}
)
{"mcv_warrior"
("ifv_sound")
("burn_by_engine" args 0.3)
}
{"mcv_warrior"
{on "add_movement_sound" overload
{link_sound "move" "vehicle/tracks/m4a2" }
{link_sound "engine" "vehicle/engine/m4" }
{link_sound "engine_end" "vehicle/engine/m7_end" }
{link_sound "rotate_turret" "vehicle/turret/sherman" }
{link_sound "exhaust" "vehicle/engine/m4a2_up" }
}
("burn_by_engine" args 0.3)
}
I not only tried this, but other numurous ways and it did not work. So to see if it was jusst my code that was not correct, I chnaged the t34_0 from t34 sounds to another is_sound and nothing happened. What do I need to change in order to get my tank sound to change as well?
By the way : I took away tank after the mcv_warrior and it still didn't work. The mdl extension of my tank is mcv_warrior.mdl, so why doesn't it work?
So I went into the Tank.inc file and found what I was looking for to change the sounds. So I entered my tank as this
(define "ifv_sound"
{on "add_movement_sound" overload
{link_sound "move" "vehicle/tracks/m4a2" }
{link_sound "engine" "vehicle/engine/m4" }
{link_sound "engine_end" "vehicle/engine/m7_end" }
{link_sound "rotate_turret" "vehicle/turret/sherman" }
{link_sound "exhaust" "vehicle/engine/m4a2_up" }
}
)
{"mcv_warrior"
("ifv_sound")
("burn_by_engine" args 0.3)
}
{"mcv_warrior"
{on "add_movement_sound" overload
{link_sound "move" "vehicle/tracks/m4a2" }
{link_sound "engine" "vehicle/engine/m4" }
{link_sound "engine_end" "vehicle/engine/m7_end" }
{link_sound "rotate_turret" "vehicle/turret/sherman" }
{link_sound "exhaust" "vehicle/engine/m4a2_up" }
}
("burn_by_engine" args 0.3)
}
I not only tried this, but other numurous ways and it did not work. So to see if it was jusst my code that was not correct, I chnaged the t34_0 from t34 sounds to another is_sound and nothing happened. What do I need to change in order to get my tank sound to change as well?
By the way : I took away tank after the mcv_warrior and it still didn't work. The mdl extension of my tank is mcv_warrior.mdl, so why doesn't it work?