• Quick Question regarding editing items_game and assigning new sounds to weapons
    8 replies, posted
I'm trying to edit items_game.txt to read this: [quote] "317" { "name" "The Candy Cane" "item_class" "tf_weapon_bat" "craft_class" "weapon" "capabilities" { "nameable" "1" "can_gift_wrap" "1" } "show_in_armory" "1" "item_type_name" "#TF_Weapon_Bat" "item_name" "#TF_CandyCane" "item_logname" "candy_cane" "item_iconname" "candy_cane" "item_slot" "melee" "item_quality" "unique" "propername" "1" "min_ilevel" "25" "max_ilevel" "25" "attach_to_hands" "1" "image_inventory" "backpack/weapons/c_models/c_candy_cane/c_candy_cane" "image_inventory_size_w" "128" "image_inventory_size_h" "82" "model_player" "models/weapons/c_models/c_candy_cane/c_candy_cane.mdl" "used_by_classes" { "scout" "1" } "mouse_pressed_sound" "ui/item_wood_pole_pickup.wav" "drop_sound" "ui/item_wood_pole_drop.wav" "visuals_red" { "skin" "0" "sound_melee_hit" "Weapon_BaseballBat.HitFlesh" "sound_melee_hit_world" "Weapon_BaseballBat.HitWorld" } "visuals_blu" { "skin" "1" "sound_melee_hit" "Weapon_BaseballBat.HitFlesh" "sound_melee_hit_world" "Weapon_BaseballBat.HitWorld" } "attributes" { "drop health pack on kill" { "attribute_class" "drop_health_pack_on_kill" "value" "1" } "dmg taken from blast increased" { "attribute_class" "mult_dmgtaken_from_explosions" "value" "1.25" } } } [/quote] I wanted to change the candy cane hit sounds so it sounds like the sandman (this is one of many adjustments i want to make). I changed it and placed it in my tf scripts folder but it doesn't work. Any ideas? [highlight](User was banned for this post ("Questions belong in the megathread" - Orkel))[/highlight]
It's obtained directly from Steam servers now. Editing items_game.txt does nothing.
[QUOTE=MechaBowser;30115274]It's obtained directly from Steam servers now. Editing items_game.txt does nothing.[/QUOTE] that's exactly how they secretly changed the three-rune blade to have eyelander hitsounds (which is great)
You'd need plugins I reckon for it to work now.
wait, you can assign different sounds to different teams!? AWESOME
Ok cool. Well i emailed Valve saying that I was going to make them a sound mod that fixed wrong sounds being triggered and fixing actual audio, they replied saying they were interested. I'm good with editing actual audio, but when it comes to scripting I'm pretty terrible. I knew that in the past that you could change things through items_game but now i dont know what to do :O. Anyone know if there is a file i can edit, the one that you claim is on steam servers? Thanks :)
Bump for helps! :) Thinking of paying a visit to allied modders.
[QUOTE=MechaBowser;30115274]It's obtained directly from Steam servers now. Editing items_game.txt does nothing.[/QUOTE] You can change attributes now, though. But that's about it.
[QUOTE=HyperTails;30115384]You'd need plugins I reckon for it to work now.[/QUOTE] Even then a plugin wouldn't be able to mute the original sound. So using a plugin would be more or less pointless.
Sorry, you need to Log In to post a reply to this thread.