i'm new to compiling i guess.
By BrutalTronics 4 years agoSo, i'm trying to compile the Kriss Super V SMG for HL2, i have already animated it and stuff. but i get one little problem. part of the gun appears white ingame, i don't know why this is happening.
So, that Variable "1" Error comes up and i guess this is the problem. i would like you to tell me how to fix it if you know how. i don't know. i'm using the same .qc file i used in my Abakan+GP30 skin, just replaced names, textures and animations. so this is my .qc file.
- $cd "C:\Users\user\Desktop\Kriss XSMG" $modelname "weapons/vsmg1.mdl" $body "studiohands" "hevref.smd" $body "studiosmg1" "krisssupervsmg1ref.smd" $cdmaterials "models\Weapons\Vhand\" $cdmaterials "models\Weapons\Vsmg1\" // Model uses material "vhandsheet.vmt" // Model uses material "map2.vmt" // Model uses material "map1.vmt" // Model uses material "map3.vmt" $attachment "muzzle" "zkrisssmg1" -4.70 25.40 5.50 rotate 0 90 -90 $attachment "1" "zkrissbolt" -4.70 18.00 4.50 rotate 0 -180 -90 $surfaceprop "default" $sequence idle01 "idle01" loop ACTVMIDLE 1 snap fps 3.00 node Ready $sequence fire01 "fire1" ACTVMPRIMARYATTACK 1 snap fps 30.00 node Fire { { event AEMUZZLEFLASH 0 "SMG1 MUZZLE" } { event 6001 0 "0" } }
$sequence fire02 "fire2" ACTVMRECOIL1 1 snap fps 30.00 node Fire { { event AE_MUZZLEFLASH 0 "SMG1 MUZZLE" } { event 6001 0 "0" } }
$sequence fire03 "fire3" ACTVMRECOIL2 1 snap fps 30.00 node Fire { { event AE_MUZZLEFLASH 0 "SMG1 MUZZLE" } { event 6001 0 "0" } }
$sequence fire04 "fire4" ACTVMRECOIL3 1 snap fps 30.00 node Fire { { event AE_MUZZLEFLASH 0 "SMG1 MUZZLE" } { event 6001 0 "0" } }
$sequence altfire "altfire" ACTVMSECONDARYATTACK 1 snap fps 25.00 node Fire $sequence draw "draw" ACTVMDRAW 1 snap fps 27.00 node Ready $sequence reload "reload" ACTVMRELOAD 1 snap fps 31.00 node Ready { { event AECLPLAYSOUND 15 "WeaponSMG1.Clipout" } { event AECLPLAYSOUND 23 "WeaponSMG1.Clipin" } { event AECLPLAYSOUND 39 "Weapon_SMG1.Boltpull" } }
$sequence dryfire "dryfire" ACTVMDRYFIRE 1 snap fps 30.00 node Fire $sequence idletolow "idletolow" ACTVMLOWEREDTOIDLE 1 fps 30.00 transition Ready Low $sequence lowtoidle "lowtoidle" ACTVMIDLETOLOWERED 1 fps 30.00 transition Low Ready $sequence lowidle "lowidle" loop ACTVMIDLE_LOWERED 1 fps 30.00 node Low
PLEASE HELP ME, i would like to release this skin as soon as i can compile it, tweak it and get permission from the authors.
THINGS THAT I HAVE TRIED: -rename the map that is not appearing (it was originally map1). -re-export the reference .smd from 3ds max and milkshape. -use both studio compiler and GUI StudioMDL
BTW all the materials are in the right folder and the .vmt files have the right address.
(HELP!)



