|
|

Help Locating Attached Sound to Model? Help identifying which sound files are being activated during the event of using the crate in Source Forts mod. |
Posted 3 months ago, last post 3 months ago by nintentofu  |
 :Banana Mod Bot | 6 Replies 718 Views 0 Favorites | Closed
|
Hi, I am working on a Ammo Crate replacement model for Source Forts, which is a HL2:DM mod.
Also, I'm hoping to change the two sounds that currently play when the Ammo Crate opens, and the sound for when it closes as well.
Being that it is a HL2:DM mod, many of the sounds for the game I assume are the actual default HL2 sounds, because I cannot locate a local sound file within the mods Sound folder.
I decompiled the crate file, and here is the .qc
$modelname "crate\crate.mdl"
$model "Body" "crate_ref.smd"
$cdmaterials "crate\"
$texturegroup skinfamilies
{
{"crate_tex_final_none.vmt"
"crate_tex_internal.vmt"
}
{"crate_tex_final_blue.vmt"
"crate_tex_internal.vmt"
}
{"crate_tex_final_red.vmt"
"crate_tex_internal.vmt"
}
}
$hboxset "default"
// Model uses material "crate_tex_final_none.vmt"
// Model uses material "crate_tex_internal.vmt"
// Model uses material "crate_tex_final_blue.vmt"
// Model uses material "crate_tex_final_red.vmt"
$surfaceprop "metal"
$illumposition 0.000 0.316 0.922
$sequence idle "idle" loop fps 15.00
$sequence Open "Open" fps 15.00 {
{ event AE_AMMOCRATE_PICKUP_AMMO 10 }
}
$sequence Close "Close" fps 15.00
$collisionmodel "phymodel.smd" {
$concave
$mass 600.0
$inertia 1.00
$damping 0.00
$rotdamping 0.00
}
I didn't know if where the $sequence Open "Open" fps 15.00 { { event AE_AMMOCRATE_PICKUP_AMMO 10
was somehow the event that triggers the sound?
I tried searching for the triggered sound within the .FGD file for the entity itself, but can't seem to locate anything useful at all. besides
@PointClass base(Targetname, Angles) studio("models/crate/crate.mdl") = item_ammo_crate : "Ammo Crate"
[
skin(choices) : "Team" : 1 =
[
1 : "Both"
2 : "Blue"
3 : "Red"
]
ammotype(choices) : "Custom Ammo Crate" : 1 =
[
1 : "yes"
]
// Inputs
input Kill(void) : "Remove the ammo crate"
output OnUsed(void) : "Fires when +used by the player."
I'm hoping someone knows if, or how you can locate what entities create what sounds for the HL2 mod. So I can replace the two sounds for the Crate Open, and Crate Close.
Thank you, Any help would be greatly appreciated. : ) |
|
| Banana Mod Bot |
|
 This feature is unavailable because the page is locked No stamps recordedIs this thread particularly good or bad in one or more areas? Stamp it! This feature is unavailable because the page is locked Share It! Thread Stats on :Submissions: 23 Total Views: 10,438 Total Feedback: 513 posts Average Rating: 9.9/10 Unrated Threads: 20 Total Favs: 9 First Submission: 2 years ago Latest Submission: 1 month ago |
This feature is unavailable because the page is locked |
|