If you Can help please say something ERROR Is listed below.
[CODE]WARNING: AppFramework : Unable to load module p4lib.dll! [B]- Its bin ignored[/B]
qdir: "c:\users\gamer\desktop\folder\other\css\weapons\m4a1\"
gamedir: "C:\Program Files\Steam\SteamApps\my user name\half-life 2\hl2\" [B]- I Know but its working.[/B]
g_path: "C:\Users\gamer\Desktop\Folder\Other\CSS\Weapons\M4A1\mdldecompiler.qc"
Building binary model files...
Working on "mdldecompiler.qc"
SMD MODEL C:\Users\gamer\Desktop\Folder\Other\CSS\Weapons\M4A1/m4a1_reference.smd
SMD MODEL C:\Users\gamer\Desktop\Folder\Other\CSS\Weapons\M4A1/hands_reference.smd
SMD MODEL C:\Users\gamer\Desktop\Folder\Other\CSS\Weapons\M4A1/idle.smd
SMD MODEL C:\Users\gamer\Desktop\Folder\Other\CSS\Weapons\M4A1/shoot1.smd
SMD MODEL C:\Users\gamer\Desktop\Folder\Other\CSS\Weapons\M4A1/shoot2.smd
SMD MODEL C:\Users\gamer\Desktop\Folder\Other\CSS\Weapons\M4A1/shoot3.smd
SMD MODEL C:\Users\gamer\Desktop\Folder\Other\CSS\Weapons\M4A1/reload.smd
SMD MODEL C:\Users\gamer\Desktop\Folder\Other\CSS\Weapons\M4A1/draw.smd
SMD MODEL C:\Users\gamer\Desktop\Folder\Other\CSS\Weapons\M4A1/add_silencer.smd
SMD MODEL C:\Users\gamer\Desktop\Folder\Other\CSS\Weapons\M4A1/idle_unsil.smd
SMD MODEL C:\Users\gamer\Desktop\Folder\Other\CSS\Weapons\M4A1/shoot1_unsil.smd
SMD MODEL C:\Users\gamer\Desktop\Folder\Other\CSS\Weapons\M4A1/shoot2_unsil.smd
SMD MODEL C:\Users\gamer\Desktop\Folder\Other\CSS\Weapons\M4A1/shoot3_unsil.smd
SMD MODEL C:\Users\gamer\Desktop\Folder\Other\CSS\Weapons\M4A1/reload_unsil.smd
SMD MODEL C:\Users\gamer\Desktop\Folder\Other\CSS\Weapons\M4A1/draw_unsil.smd
SMD MODEL C:\Users\gamer\Desktop\Folder\Other\CSS\Weapons\M4A1/detach_silencer.smd
---------------------
writing C:\Program Files\Steam\SteamApps\my User Name\half-life 2\hl2\models/weapons\v_rif_m4a1.mdl:
bones 15324 bytes (61)
animations 13124 bytes (14 anims) (54 frames) [0:01]
WARNING: Event 0 (frame 25) out of range in reload
WARNING: Event 0 (frame 53) out of range in reload
WARNING: Event 0 (frame 88) out of range in reload
WARNING: Event 0 (frame 1) out of range in draw
WARNING: Event 0 (frame 17) out of range in draw
WARNING: Event 0 (frame 28) out of range in add_silencer
WARNING: Event 0 (frame 25) out of range in reload_unsil
WARNING: Event 0 (frame 53) out of range in reload_unsil
WARNING: Event 0 (frame 88) out of range in reload_unsil
WARNING: Event 0 (frame 21) out of range in detach_silencer
ERROR: Exiting due to Errors
ERROR: Aborted Processing on 'weapons\v_rif_m4a1.mdl'
[/CODE]
My .qc Listed Below.
Please Help!
The old code was wrong.
Heres the m4 Code
[CODE]$cd "C:\Users\gamer\Desktop\Jerry's Folder\Other\CSS\Weapons\M4A1"
$modelname "weapons\v_rif_m4a1.mdl"
$model "studio" "m4a1_reference.smd"
$model "hands" "hands_reference.smd"
$cdmaterials "models\weapons\V_models\rif_m4a1\"
$cdmaterials "models\weapons\v_models\hands\"
$hboxset "default"
$hbox 0 "v_weapon.m4_Parent" -0.581 -0.922 -6.757 1.360 5.699 15.093
$hbox 0 "v_weapon.m4_Clip" -0.880 -3.738 -0.872 0.451 0.450 1.617
$hbox 0 "v_weapon.Hands_parent" -4.654 -1.415 0.000 6.834 1.302 6.902
$hbox 0 "v_weapon.Left_Arm" -0.319 -1.833 -1.434 8.563 1.491 1.708
$hbox 0 "v_weapon.Left_Hand" -0.998 -1.856 -1.460 3.655 1.901 1.020
$hbox 0 "v_weapon.Left_Thumb01" -0.038 -0.957 -1.026 2.195 0.816 0.689
$hbox 0 "v_weapon.Left_Thumb_02" -0.557 -0.812 -0.925 1.705 0.536 0.541
$hbox 0 "v_weapon.Left_Pinky01" -0.563 -0.567 -0.680 1.253 1.426 0.518
$hbox 0 "v_weapon.Left_Ring01" -0.051 -0.398 -0.616 1.498 0.636 0.413
$hbox 0 "v_weapon.L_wrist_helper" -0.805 -6.918 -1.161 1.745 0.000 2.128
$hbox 0 "v_weapon.Right_Arm" -0.402 -1.437 -1.576 8.544 1.387 1.609
$hbox 0 "v_weapon.Right_Hand" -0.402 -1.775 -1.494 3.638 1.715 0.913
$hbox 0 "v_weapon.Right_Thumb01" -0.867 -1.013 -1.300 2.356 1.051 0.852
$hbox 0 "v_weapon.Right_Thumb02" -1.285 -0.580 -0.979 1.751 0.994 0.680
$hbox 0 "v_weapon.Right_Middle01" -0.061 -0.689 -0.475 1.376 0.379 0.545
$hbox 0 "v_weapon.Right_Ring01" -0.256 -0.648 -0.542 1.312 0.423 0.473
$hbox 0 "v_weapon.Right_Pinky01" -0.456 -1.085 -0.539 1.124 0.488 0.691
$hbox 0 "v_weapon.R_wrist_helper" -1.175 -7.124 -1.587 1.829 0.933 2.029
// Model uses material "rif_m4a1.vmt"
// Model uses material "v_hands.vmt"
$attachment "1" "v_weapon.m4_Parent" 0.20 3.50 20.00 rotate -0.00 0.00 0.00
$attachment "2" "v_weapon.m4_Parent" 0.00 3.60 3.00 rotate -30.00 165.00 -0.00
$surfaceprop "default"
$illumposition 9.538 3.995 -6.393
$sequence idle "idle" ACT_VM_IDLE_SILENCED 1 fps 16.00
$sequence shoot1 "shoot1" ACT_VM_PRIMARYATTACK_SILENCED 1 fps 20.00 {
{ event 5001 0 "1" }
{ event AE_CLIENT_EFFECT_ATTACH 0 "EjectBrass_556 2 150" }
}
$sequence shoot2 "shoot2" ACT_VM_PRIMARYATTACK_SILENCED 1 fps 20.00 {
{ event 5001 0 "1" }
{ event AE_CLIENT_EFFECT_ATTACH 0 "EjectBrass_556 2 150" }
}
$sequence shoot3 "shoot3" ACT_VM_PRIMARYATTACK_SILENCED 1 fps 20.00 {
{ event 5001 0 "1" }
{ event AE_CLIENT_EFFECT_ATTACH 0 "EjectBrass_556 2 150" }
}
$sequence reload "reload" ACT_VM_RELOAD_SILENCED 1 fps 37.00 {
{ event 5004 25 "Weapon_M4A1.Clipout" }
{ event 5004 53 "Weapon_M4A1.Clipin" }
{ event 5004 88 "Weapon_M4A1.Boltpull" }
}
$sequence draw "draw" ACT_VM_DRAW_SILENCED 1 fps 40.00 {
{ event 5004 1 "Weapon_M4A1.Deploy" }
{ event 5004 17 "Weapon_M4A1.Boltpull" }
}
$sequence add_silencer "add_silencer" ACT_VM_ATTACH_SILENCER 1 fps 30.00 {
{ event 5004 28 "Weapon_M4A1.Silencer_On" }
}
$sequence idle_unsil "idle_unsil" ACT_VM_IDLE 1 fps 16.00
$sequence shoot1_unsil "shoot1_unsil" ACT_VM_PRIMARYATTACK 1 fps 20.00 {
{ event 5001 0 "1" }
{ event AE_CLIENT_EFFECT_ATTACH 0 "EjectBrass_556 2 150" }
}
$sequence shoot2_unsil "shoot2_unsil" ACT_VM_PRIMARYATTACK 1 fps 20.00 {
{ event 5001 0 "1" }
{ event AE_CLIENT_EFFECT_ATTACH 0 "EjectBrass_556 2 150" }
}
$sequence shoot3_unsil "shoot3_unsil" ACT_VM_PRIMARYATTACK 1 fps 20.00 {
{ event 5001 0 "1" }
{ event AE_CLIENT_EFFECT_ATTACH 0 "EjectBrass_556 2 150" }
}
$sequence reload_unsil "reload_unsil" ACT_VM_RELOAD 1 fps 37.00 {
{ event 5004 25 "Weapon_M4A1.Clipout" }
{ event 5004 53 "Weapon_M4A1.Clipin" }
{ event 5004 88 "Weapon_M4A1.Boltpull" }
}
$sequence draw_unsil "draw_unsil" ACT_VM_DRAW 1 fps 40.00 {
{ event 5004 1 "Weapon_M4A1.Deploy" }
{ event 5004 17 "Weapon_M4A1.Boltpull" }
}
$sequence detach_silencer "detach_silencer" ACT_VM_DETACH_SILENCER 1 fps 30.00 {
{ event 5004 21 "Weapon_M4A1.Silencer_Off" }
}
[/CODE]
You have the "snap rotate -90" bits in the wrong place. Using your idle sequence as an example, it's supposed to be implemented like this for all animation sequences:
[code]$sequence idle "idle" ACT_VM_IDLE 1 snap rotate -90 fps 16.00[/code]
[QUOTE=Katra804;40579420]You have the "snap rotate -90" bits in the wrong place. Using your idle sequence as an example, it's supposed to be implemented like this for all animation sequences:
[code]$sequence idle "idle" ACT_VM_IDLE 1 snap rotate -90 fps 16.00[/code][/QUOTE]
That fixed my one proplem, now heres the other -_- (Wasn't like that it just poped up)
ERROR: c:\users\gamer\desktop\folder\other\css\weapons\m4a1\mdldecompiler.qc(79): - expecting number, got "snap"
ERROR: Aborted Processing on 'weapons\v_rif_m4a1.mdl'
EDIT: Nope its back.
[editline]9th May 2013[/editline]
Ok, I Fixed it, nvm!
Proplem was my animations didnt save (Saved as a reference instead of an animation somehow.)
Sorry, you need to Log In to post a reply to this thread.