![]() |
#1 |
Retired FF Staff
Join Date: Jun 2008
Posts Rated Helpful 0 Times
|
I am a cursed compiler.
I have been compiling for a short time now, and it seems like i have no trouble whatsoever compiling a pre-existing model.
However, every single time i attach a custom model or replace something with a custom model, it always comes out purple and black. Image: http://img373.imageshack.us/img373/8...andpurpet3.jpg and well ive double checked my .vmt's and such, and am stumped on this. .qc file: $cd "C:\Documents and Settings\gerry\Desktop\ff knife\decompiled" $modelname "weapons/knife/v_knife.mdl" $model "studio" "reference_Knife.smd" $cdmaterials "models\weapons\knife\" $cdmaterials "models\v_arms\" $hboxset "default" // Model uses material "v_heavyArms.vmt" // Model uses material "uv_release.vmt" $surfaceprop "default" $illumposition 6.000 20.000 7.000 $sequence Draw "Draw" ACT_VM_DRAW 1 snap rotate -90 fps 30.00 $sequence Idle1 "Idle1" ACT_VM_IDLE 3 snap rotate -90 fps 30.00 $sequence Idle2 "Idle2" ACT_VM_IDLE 3 snap rotate -90 fps 30.00 $sequence Idle3 "Idle3" ACT_VM_IDLE 3 snap rotate -90 fps 30.00 $sequence MissCenter1 "MissCenter1" ACT_VM_MISSCENTER 1 snap rotate -90 fps 30.00 $sequence MissCenter2 "MissCenter2" ACT_VM_MISSCENTER 1 snap rotate -90 fps 30.00 $sequence MissCenter3 "MissCenter3" ACT_VM_MISSCENTER 1 snap rotate -90 fps 30.00 $sequence HitCenter1 "HitCenter1" ACT_VM_HITCENTER 1 snap rotate -90 fps 30.00 $sequence HitCenter2 "HitCenter2" ACT_VM_HITCENTER 1 snap rotate -90 fps 30.00 $sequence HitCenter3 "HitCenter3" ACT_VM_HITCENTER 1 snap rotate -90 fps 30.00 .vmt text VertexLitGeneric { "$basetexture" "models\weapons\knife\uv_release" "$bumpmap" "models\weapons\knife\normal" } Files inside 'knife' folder uv_release (.vtf) uv_release (.vmt) normal (.vtf) So if you can help me with this i would sure appreciate it - and if you need any other info, just ask.
__________________
Learning to make new content for FF users since summer 2008. |
![]() |
![]() |
![]() |
#2 | |
Keep On Keepin' On
|
U getting any errors in your console?
(one problem is u need $model set to "1" i believe) dont see that in the vmt Quote:
|
|
![]() |
![]() |
![]() |
#3 |
Retired FF Staff
Join Date: Jun 2008
Posts Rated Helpful 0 Times
|
i tried the "$model" "1", that didnt change it.. then i changed the .vmt info back to v_knife, and updated the .qc to accommodate it, still nothing.
I have no clue what you are talking about - the model is called "Slicer_final" and the uvmap is called "uv_release". Is that helping?
__________________
Learning to make new content for FF users since summer 2008. |
![]() |
![]() |
![]() |
#4 |
D&A Member
Wiki Team Fortress Forever Staff Join Date: Apr 2007
Posts Rated Helpful 31 Times
|
The qc doesn't define what texture the model uses. It's in the smd. Open the reference smd in notepad and make sure it has the correct texture name. (uv_release.jpg or whatever. extension doesn't matter). If it's wrong you can do a search-and-replace, or put
Code:
$renamematerial [wrongname] [rightname] In the .qc where it says // Model uses material "v_heavyArms.vmt" // Model uses material "uv_release.vmt" Those are comments (probably put there by model decompiler). They don't do anything. |
![]() |
![]() |
![]() |
#5 |
Keep On Keepin' On
|
Thanks Crazycarl. We need more people who know what they're talking about
![]() |
![]() |
![]() |
![]() |
#6 |
no war but class war
Fortress Forever Staff
Join Date: Oct 2007
Location: big bad berlin
Class/Position: Soldier / Scout Gametype: ctf Affiliations: [w~k!] Posts Rated Helpful 3 Times
|
Whoo, i never knew about $renamematerial
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|