I have a 200 frame reload animation for the 357.
Any action over 100 frames is listed as "out of range" and the animation won't compile.
Can I increase this "range"?
Thanks.
compiler issue? or faulty qc? could you post the relevant lines?
the default sequence from the sdk is already longer then 100 frames. exactly 110 frames. and... this is the qc code
[code]$sequence reload "Reload" fps 30 activity ACT_VM_RELOAD 1 node Ready {
{ event AE_CL_PLAYSOUND 28 "Weapon_357.OpenLoader" }
{ event AE_CL_PLAYSOUND 39 "Weapon_357.RemoveLoader" }
{ event 3015 55 }
{ event AE_CL_PLAYSOUND 67 "Weapon_357.ReplaceLoader" }
{ event AE_CL_PLAYSOUND 92 "Weapon_357.Spin" }
}
[/code]
works just fine in 2013. i tried to bugger/trigger the error with 'event 0 28' and 'event AE_CL_PLAYSOUND 0'. neither worked. means... it still worked. so...
The code:
$Sequence "reload" {
"v_357_anims\reload.smd"
activity "ACT_VM_RELOAD" 1
{ event AE_CL_PLAYSOUND 15 "Weapon_357.OpenLoader" }
{ event AE_CL_PLAYSOUND 35 "Weapon_357.RemoveLoader" }
{ event AE_CL_PLAYSOUND 59 "Weapon_Shotgun.Reload" }
{ event AE_CL_PLAYSOUND 79 "Weapon_Shotgun.Reload" }
{ event AE_CL_PLAYSOUND 99 "Weapon_Shotgun.Reload" }
{ event AE_CL_PLAYSOUND 119 "Weapon_Shotgun.Reload" }
{ event AE_CL_PLAYSOUND 139 "Weapon_Shotgun.Reload" }
{ event AE_CL_PLAYSOUND 159 "Weapon_Shotgun.Reload" }
{ event 3015 160 "" }
{ event AE_CL_PLAYSOUND 161 "Weapon_357.ReplaceLoader" }
{ event AE_CL_PLAYSOUND 175 "Weapon_357.Spin" }
fadein 0.2
fadeout 0.2
node "Ready"
fps 30
}
Sorry for not posting the lines. My mind turned twelve-year-old mode and I didn't give enough information.
Also I wonder what event 3015 is. It was before Weapon_357.ReplaceLoader in the original code so I placed it about there. But I still want to know what it is so I can fine-tune it better. Is it in the QC?
Thanks for noticing.
[editline]16th April 2016[/editline]
Another probably useless question: What is a good sound to replace my stock Weapon_Shotgun.Reload sound? My reload anim. has each bullet put in one at a time instead of all at once, and I wanted a sound to go with that. The stock 357 sounds didn't sound good so I used the shotgun sound instead. :(
i'd guess [URL="https://developer.valvesoftware.com/wiki/Animation_Events"]3015[/URL] is an ai thing only. it shouldn't need any parameters. what happens if you remove the "" from that?
Doesn't seem to do anything. Same error:
D:/SteamLibrary/SteamApps/common/Source SDK Base 2013 Singleplayer/bin/studiomdl.exe -game "D:\Other Programs\Steam\SteamApps\sourcemods\faded" "D:\SDK Stuffies\Faded\work\anims\v_357.qc"
WARNING: AppFramework : Unable to load module p4lib.dll!
qdir: "d:\sdk stuffies\faded\work\anims\"
gamedir:
"D:\Other Programs\Steam\SteamApps\sourcemods\faded\"
g_path: "D:\SDK Stuffies\Faded\work\anims\v_357.qc"
Building
binary model files...
Working on "v_357.qc"
SMD MODEL v_357_reference.smd
SMD MODEL
v_357_anims\idle01.smd
SMD MODEL v_357_anims\fire.smd
SMD MODEL v_357_anims\draw.smd
SMD
MODEL v_357_anims\reload.smd
SMD MODEL v_357_anims\holster.smd
SMD MODEL v_357_anims\idletolow.smd
SMD
MODEL v_357_anims\lowtoidle.smd
SMD MODEL v_357_anims\lowidle.smd
---------------------
writing
D:\Other Programs\Steam\SteamApps\sourcemods\faded\models/weapons/v_357.mdl:
bones
7972 bytes (31)
animations 20016 bytes (8 anims) (432 frames) [0:14]
WARNING:
Event 0 (frame 119) out of range in reload
WARNING: Event 0 (frame 139) out of range
in reload
WARNING: Event 0 (frame 159) out of range in reload
WARNING: Event 0 (frame
160) out of range in reload
WARNING: Event 0 (frame 161) out of range in reload
WARNING:
Event 0 (frame 175) out of range in reload
ERROR: Exiting due to Errors
ERROR: Aborted
Processing on 'weapons/v_357.mdl'
StudioMDL Thread complete
Sorry, you need to Log In to post a reply to this thread.